pr2_power_board Documentation

pr2_power_board

This provides a ROS node for the PR2 Power Board.

pr2_power_board provides a ROS interface to the power board used on the PR2 Robot. It sends out periodic requests for status updates to the specified IP address only. The update rate can be controlled with a parameter.

rosapi

List of nodes:


power_board_control

Usage

$ power_node [-address=dotted.IP.address]

Execute this to communicate with the power board. It will listen on all interfaces and send command messages out on the appropriate interface.

Example
$ power_node --address=192.168.10.100

Poll the power board at the given IP address. The power board acquires it's address via DHCP.

ROS topics

Publishes to (name / type):

ROS services

ROS Parameters

Command-line tools

send_command

send_command will send a command over ROS to the power_node which will then execute it. Thus send_command requires a power_node to be operating.

Usage

$ ./send_command serial_number breaker_number command flags
Example
$ rosrun pr2_power_board send_command 1000 1 start 0

Turns on circuit 1 on board with serial number 1000.

send_command

This will start up a gui to allow viewing and commanding of the power board. This simply provides a graphical interface to the power_node over ROS. Without the power_node running this will do nothing.

Choose the appropriate board with the drop-box. The list is dynamically populated based on the messages heard by the power_node. If the power_node stops receiving messages from a Power Board then it's time stamps will become stale and the gui with gray out, indicating communication with the Power Board has been lost.

view_power.png


pr2_power_board
Author(s): Curt Meyers, Blaise Gassend
autogenerated on Wed Aug 26 2015 15:40:44