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

what does roslib.load_manifest() do?

asked 2014-01-06 20:17:56 -0500

peter_pan_lqm gravatar image

updated 2014-01-28 17:18:58 -0500

ngrennan gravatar image
import roslib

this is one part of a python file. i do not know the meaning of roslib.load_manifest('pr2_pick_and_place_demos').someone to tell me .TA

edit retag flag offensive close merge delete


Please provide more details to your problem.

Athoesen gravatar image Athoesen  ( 2014-01-07 07:03:19 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-07 10:35:04 -0500

ahendrix gravatar image

roslib.load_manifest() reads the package manifest and sets up the python library path based on the package dependencies. It's required for older rosbuild-based packages, but is no longer needed on catkin.

The rosbuild version of the Python Publisher and Subscriber Tutorial explains it in more detail.

edit flag offensive delete link more

Question Tools



Asked: 2014-01-06 20:17:56 -0500

Seen: 15,627 times

Last updated: Jan 07 '14