Only released in EOL distros:  

wg_hardware_test: ectools | life_test | 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

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.

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

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.

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)