pr2_robot: imu_monitor | pr2_bringup | pr2_camera_synchronizer | pr2_computer_monitor | pr2_controller_configuration | pr2_etherCAT | pr2_run_stop_auto_restart
- Code API
- diamondback
- electric
- fuerte
- unstable - Tutorials
- Troubleshooting
- FAQ
- Reviews (Doc Reviewed)
Used by (5)
Package Summary
Launch files and scripts needed to bring a PR2 up into a running state.
- Author: Wim Meeussen
- License: BSD
- Repository: pr2-kforge
- Source: hg https://kforge.ros.org/pr2robot/hg
Contents
pr2_bringup is a package that collects together the scripts, roslaunch files, and dependencies that are required to bring a PR2 robot into a running state.
pr2.launch
The user's entry point for this package is the file pr2.launch. This launch file contains all nodes to run a complete PR2 system. However, you cannot use pr2.launch to start up the robot (see pr2_robot for instructions), because pr2.launch requires another launch file to load the robot description and robot analyzer on the parameter server first.
Disable Prosilica Camera
To disable the prosilica_camera set the "no-prosilica" arg to "true" in "/etc/ros/robot.launch" when launching your PR2:
<launch> <arg name="no-prosilica" value="true" /> <include file="$(find pr2_bringup)/pr2.launch" /> <!-- Other stuff --> </launch>
Running the PR2
This manual will take you step by step through starting the PR2 robot, pr2_robot/pr2_bringup.pdf.
PR2 Bringup calibration
When the PR2 starts up for the first time since a power down, it will move its arms, casters, head and later platform to find the reference position of each joint. This is done by the calibration script pr2_bringup/scripts/calibrate_pr2.py. When finished, the PR2 joint calibration script stores the joint reference positions locally in the motor controller board (MCB) of the corresponding joint. So the next time you start the PR2, it will remember the reference positions and won't have to repeat the same calibration routine over and over again.
If you want to force the PR2 to run the calibration routine again, you can erase the stored reference positions from the MCBs by disabling the breakers (setting the breakers to standby will NOT erase the reference positions). With the breakers disabled, the power to the MCBs is cut off, and all the local memory is wiped. Now simply restore power by enabling the breakers, and the PR2 will re-calibrate its joint reference positions. Powering down the entire PR2 will obviously have the same effect. Note that simply restarting the computers does not wipe the reference positions; the reference positions are stored on the MCBs, not on the computers.






