ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You can get the path of packages with the rospack
python library: http://docs.ros.org/melodic/api/rospack/html/
2 | No.2 Revision |
You can get the path of packages with the
python library: rospackrospkghttp://docs.ros.org/melodic/api/rospack/html/http://docs.ros.org/independent/api/rospkg/html/python_api.html
import rospkg
rp = rospkg.RosPack()
package_path = rp.get_path('package_name')
3 | No.3 Revision |
You can get the path of packages with the rospkg
python library: http://docs.ros.org/independent/api/rospkg/html/python_api.html
import rospkg
rp = rospkg.RosPack()
package_path = rp.get_path('package_name')