Revision history [back]

You must include the following before importing any ROS packages:

import roslib; roslib.load_manifest('package_name')


You must include the following before importing any ROS packages:

import roslib; roslib.load_manifest('package_name')


EDIT:

You must also have the packages that you want to use in your manifest.xml.

Here's an example... If your package is called "beginner_tutorials", you would put the following in your node:

import roslib; roslib.load_manifest('beginner_tutorials')


If your node uses the std_srvs package, your manifest.xml file must contain the following line:

<depend package="std_srvs" />