ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

I'm not sure if this is the "official" replacement, but I've been using rospkg instead. Here's a snippet:

import rospkg
rospack = rospkg.RosPack()
rospack.get_path('beginner_tutorials')

I'm not sure if this is the "official" replacement, but I've been using rospkg instead. Here's a snippet:

import rospkg
rospack = rospkg.RosPack()
rospack.get_path('beginner_tutorials')

Here's the documentation for the RosPack class http://docs.ros.org/independent/api/rospkg/html/rospkg_packages.html

I'm not sure if this is the "official" replacement, but I've been using rospkg instead. Here's a snippet:

import rospkg
rospack = rospkg.RosPack()
rospack.get_path('beginner_tutorials')

Here's the documentation for the RosPack RosPack class http://docs.ros.org/independent/api/rospkg/html/rospkg_packages.html

I'm not sure if this is the "official" replacement, but I've been using Here's a snippet that uses rospkg instead. Here's instead of roslib to get a snippet:package path:

import rospkg
rospack = rospkg.RosPack()
rospack.get_path('beginner_tutorials')

Here's the documentation for the RosPack class http://docs.ros.org/independent/api/rospkg/html/rospkg_packages.htmlhttp://docs.ros.org/independent/api/rospkg/html/rospkg_packages.html. I'm unaware of a replacement for find_resource()