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:
- Do not install python nodes => roslib will only find nodes in
src
space - Contrary to all tutorials, mark python nodes as non-executable, so basically 644 iso 755 => roslib will only find nodes in the
devel
space - somehow tell roslib to look only in the
src
ordevel
space
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