Revision 13 as of 2011-02-22 19:23:43

Clear message

Only released in EOL distros:  

pr2_plugs: checkerboard_pose_estimation | outlet_pose_estimation | pr2_image_snapshot_recorder | pr2_plugs_actions | pr2_plugs_common | pr2_plugs_msgs | stereo_wall_detection | visual_pose_estimation

Package Summary

pr2_plugs metapackage. The pr2_plugs metapackage groups all of the functionality needed for the pr2 to plug itself into the wall


Running the plugs demo

You need to install the 'pr2all' variant of ROS (see installation instructions). On Ubuntu, this means:

 $ sudo apt-get install ros-cturtle-pr2all

or

 $ sudo apt-get install ros-diamondback-pr2-applications

Simulation

Follow the PR2 Plugs Itself In tutorial.

PR2

Before you can run on the PR2 robot, you need a robot-specific calibration in /etc/ros/plugs/hw_calibration.yaml:

plugs_calibration_offset:
  y: 0.0
  z: 0.0

Depending on where the plug hits the outlet, you'll need to in/de-crease the calibration offset:

outlet.png

Now run the code to plug in:

 $ roslaunch pr2_plugs_executive  plugin.launch
 $ rosrun pr2_plugs_executive  app_plugin.py

And to unplug:

  $ rosrun pr2_plugs_executive  app_unplug.py

Report a Bug

<<TracLink(wg-ros-pkg plugs)>>