ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Since bashrc is not setup before a desktop file is auto-launched at boot, the python api using "import roslaunch" fails with error "no module named roslaunch". Right now, since I have other function being performed through the python script before the ros drivers are needed, my workaround is to use os.system to directly run bash to source the files and launch the packages. If there is a better way of doing it, please do share!