Documentation Status

Cannot load information on name: pr2_drive_life_test, distro: electric, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
wg_hardware_test: ectools | life_test | mtrace_tools | pr2_camera_focus | pr2_component_descriptions | pr2_drive_life_test | pr2_hardware_test_monitor | pr2_transmission_check | qualification | roslaunch_caller | wg_invent_client | wgtest_status_indicator

Package Summary

Documented

pr2_drive_life_test contains utilities for localizing and commanding the PR2 in a special fixture. This is used in a PR2 burn in test.

This is intended for Willow Garage personnel only, and has no public API.

Cannot load information on name: pr2_drive_life_test, distro: groovy, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: pr2_drive_life_test, distro: hydro, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: pr2_drive_life_test, distro: indigo, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: pr2_drive_life_test, distro: jade, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: pr2_drive_life_test, distro: kinetic, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: pr2_drive_life_test, distro: lunar, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: pr2_drive_life_test, distro: melodic, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.

Overview

The pr2_drive_life_test package contains a tool to shuffle the PR2 during a PR2 Burn In Test. This tool should be launched with the file pr2_drive_life_test/pr2_drive_life_test.launch.

The script pr2_drive_life_test.py commands the PR2 base during the PR2 burn in test. It runs a 500 Hz loop to command the base along a sinusoidal path inside the PR2 burn-in test fixture.

The launch file contains a map_server and amcl to localize the robot in the test fixture. The map life_test.pgm is specific to the PR2 burn in text fixture.

Reset / Relocalize

If the script detects that motors are halted, it will stop sending drive commands until the service pr2_base/reset_drive is called. When the service is called, the robot is relocalized to the center of the test fixture by publishing on the initialpose topic.

This reset ability allows an operator to recenter a robot that has gotten lost in the burn in test fixture.

Listener

A special "listener" in pr2_hardware_test_monitor listens to the output from the pr2_drive_life_test.py script. It will call the pr2_base/reset_drive service when needed.

ROS API

pr2_drive_life_test.py

Drives the PR2 base during the PR2 burn in test.

Subscribed Topics

pr2_etherCAT/motors_halted (std_msgs/Bool)
  • Motors halted

Published Topics

base_driving (std_msgs/Bool)
  • Whether robot is driving or not.
visualization_markers (visualization_msgs/Marker)
  • Target/goal pose of the robot.
cmd_vel (geometry_msgs/Twist)
  • Commanded velocity of the robot
initialpose (geometry_msgs/PoseWithCovarianceStamped)
  • Initial pose of the robot

Services

pr2_base/halt_drive (std_srvs/Empty)
  • Stop sending drive commands
pr2_base/reset_drive (std_srvs/Empty)
  • Restart sending drive commands

Wiki: pr2_drive_life_test (last edited 2010-12-01 22:27:58 by KevinWatts)