ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The package with the message I used was in the folder /home/aub-ch/ros/hydro_ws/src
which was added to the ROS_PACKAGE_PATH. But as I used it in another catkin workspace and it was not added to the PYTHONPATH as al-dev pointed out. This was because I edited the ROS_PACKAGE_PATH myself instead of calling source source devel/setup.bash
-> The PYTHONPATH must include this subpath of a workspace devel/lib/python2.7/dist-packages
if you want to use messages out of it.
Thanks for your help!
2 | No.2 Revision |
The package with the message I used was in the folder /home/aub-ch/ros/hydro_ws/src
which was added to the ROS_PACKAGE_PATH. But as I used it in another catkin workspace and it was not added to the PYTHONPATH as al-dev pointed out. This was because I edited the ROS_PACKAGE_PATH myself instead of calling source
source devel/setup.bash
devel/lib/python2.7/dist-packages
if you want to use messages out of it.