ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I sourced the devel/setup.bash file so the package can be found and made sure the py files are executable using chmod +x. Nonetheless, when I try to run the launch file, I get the following errors.
Do you have the required shebang for Python at the top of your file? If not, roslaunch
cannot start it, as it tries to start your scripts directly (ie: it doesn't prefix it with python /path/to/your/script.py
).
If you have it, make sure your files have the proper Unix line-endings. If you have edited thins under Windows (fi because you have ROS in a VM), they can be changed / mixed, which will lead to all sorts of strange errors (they're not actually 'strange', but the symptoms can be confusing).