pr2_power_board

Summary

pr2_power_board
Version:

1.1.5

Description:

This provides a ROS node for the PR2 Power Board.

Maintainers:
  • Devon Ash <dash AT clearpathrobotics DOT com>
Licenses:
  • BSD
Urls:
Authors:
  • Curt Meyers
  • Blaise Gassend
BuildDepends:
BuildtoolDepends:
 
BuildExportDepends:
 
ExecDepends:

Types

Service types

pr2_power_board/PowerBoardCommand
Field (Request):
 
  • serial_number (uint32) –
  • breaker_number (int32) –
  • command (string) –
  • flags (uint32) –
Field (Response):
 
  • retval (int32) –
uint32 serial_number #serial number of the board to control
int32 breaker_number ## 0=Base, 1=RightArm 2=LeftArm
string command  # Options start, stop, reset, disable, none
uint32 flags
---
int32 retval # 0 = false, 1=true
pr2_power_board/PowerBoardCommand2
Constant (Request):
 
  • NUMBER_OF_CIRCUITS (int32):3
  • BASE (int32):0
  • RIGHT_ARM (int32):1
  • LEFT_ARM (int32):2
Field (Request):
 
  • circuit (int32) –
  • command (string) –
  • reset_stats (bool) –
  • reset_circuits (bool) –
Field (Response):
 
  • success (bool) –
int32 NUMBER_OF_CIRCUITS = 3
#
# Select which circuit to command
#
int32 circuit
#
# Defined circuits
#
int32 BASE      = 0
int32 RIGHT_ARM = 1
int32 LEFT_ARM  = 2
#
# Command to send to circuit:
# command = start, stop, reset, disable, none
#
string command  
#
# reset the latched voltage and current statistics
bool reset_stats
#
# reset the latched stats for each circuit
bool reset_circuits
---
# return if the command was successfully sent
bool success