Robotics StackExchange | Archived questions

roslib finds multiple executables

Good day!

I have a package that uses roslib to find nodes and currently struggle with it because it finds multiple executables (in src and devel space).

cmd = roslib.packages.find_node(package, executable)

The python nodes are installed using setup.py and catkininstallpython. What would be the preferred way for roslib to only find one executable? Options I could think of:

What is the best approach here? Note, my experience is rather limited so this may very well be an XY-problem. Thx for any advice!

PS: I could only find the documentation for melodic (not noetic) for roslib, which states Warning: Unstable API due to catkin. Is the usage of roslib not recommended?

Asked by ticotico on 2022-02-15 01:42:19 UTC

Comments

Answers