Answers for "equivalent of ament_index_python in noetic"

1

equivalent of ament_index_python in noetic

import rospkg
 
# get an instance of RosPack with the default search paths
rospack = rospkg.RosPack()

# list all packages, equivalent to rospack list
rospack.list() 

# get the file path for rospy_tutorials
rospack.get_path('rospy_tutorials')
Posted by: Guest on April-20-2022

Code answers related to "equivalent of ament_index_python in noetic"

Python Answers by Framework

Browse Popular Code Answers by Language