pr2_msgs/BatteryServer2 Message

File: pr2_msgs/BatteryServer2.msg

# This message communicates the state of a battery server, which controls
# multiple batteries.
Header header
int32 MAX_BAT_COUNT=4
int32 MAX_BAT_REG=48
int32 id  # unique ID for each battery server
# Battery System Stats
time last_system_update  # last time the system stats where updated
duration time_left       # in seconds (hardware resolution is 1 minute)
int32 average_charge     # in percent
string message           # message from the ocean server
time last_controller_update # last time a battery status flag was updated
# for each battery
pr2_msgs/BatteryState2[] battery

Expanded Definition

int32 MAX_BAT_COUNT=4
int32 MAX_BAT_REG=48
Header header
    uint32 seq
    time stamp
    string frame_id
int32 id
time last_system_update
duration time_left
int32 average_charge
string message
time last_controller_update
pr2_msgs/BatteryState2[] battery
    bool present
    bool charging
    bool discharging
    bool power_present
    bool power_no_good
    bool inhibited
    time last_battery_update
    int16[48] battery_register
    bool[48] battery_update_flag
    time[48] battery_register_update