Ask Your Question
8

what does roslib.load_manifest() do?

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

peter_pan_lqm gravatar image

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

ngrennan gravatar image
import roslib
roslib.load_manifest('pr2_pick_and_place_demos').

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

Comments

Please provide more details to your problem.

Athoesen gravatar imageAthoesen ( 2014-01-07 07:03:19 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
11

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 9,748 times

Last updated: Jan 07 '14