Linking external library in ROS Python

asked 2016-03-22 12:19:51 -0500

atoz gravatar image

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?

edit retag flag offensive close merge delete