Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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')
 
PREVIOUS NEXT
Tagged: #equivalent #noetic
ADD COMMENT
Topic
Name
9+1 =