Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python dynamically setup ros environment #9

Open
asmodehn opened this issue Mar 2, 2016 · 1 comment
Open

python dynamically setup ros environment #9

asmodehn opened this issue Mar 2, 2016 · 1 comment

Comments

@asmodehn
Copy link

asmodehn commented Mar 2, 2016

When working on a python package, I usually do not assume anything in the environment.
Software is after all generic and abstract, and the environment should, ideally, not matter.
Afterall a python script can easily check and adapt the environment, so that it can do its job.

I m currently working on a package that dynamically setup ROS environment : https://github.com/asmodehn/pyros-setup.

Basically replacing the "source .../setup.bash" call by a python function call, so that ROS can be easily "activated / deactivated" from python code.

It s currently very basic, and there is probably a better/simpler way of doing it ( like calling the _setup_util.py from the workspaces we want to use pyros-dev/pyros-setup#10).
It would be useful to have somewhere...

@gerkey
Copy link
Owner

gerkey commented Mar 10, 2016

That looks potentially interesting. How about submitting a PR to add documentation for (or at least a pointer to) it to the top-level README.md in this repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants