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.
List of nodes:
$ power_node [-address=dotted.IP.address]
address : poll this specific 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.
$ 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.
Publishes to (name / type):
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.
$ ./send_command serial_number breaker_number command flags
$ rosrun pr2_power_board send_command 1000 1 start 0
Turns on circuit 1 on board with serial number 1000.
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.