Skip to content

python dynamically setup ros environment #9

@asmodehn

Description

@asmodehn

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions