Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 49

Linking external library in ROS Python

$
0
0
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?

Viewing all articles
Browse latest Browse all 49

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>