Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Linking external library in ROS Python

Hi,

I'm trying to add an external python library to my python project in my catkin workspace. The folder structure is not the best but I have my python executable in the /scripts folder along with my library .so files. I then import the library using the standard import statement. It works fine when I run the executable using rosrun but not when I use roslaunch. Using roslaunch, the library is not found when the node runs.

Any ideas on how to tell roslaunch where to find the library?