ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You must include the following before importing any ROS packages:
import roslib; roslib.load_manifest('package_name')
2 | No.2 Revision |
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" />