smart_battery_msgs/SmartBatteryStatus Message

File: smart_battery_msgs/SmartBatteryStatus.msg

Raw Message Definition

uint8 DISCHARGING = 0
uint8 CHARGING    = 1
uint8 CHARGED     = 2

Header  header
float32 voltage          # Voltage in Volts
float32 rate             # Negative when discharging (A)
float32 charge           # Current charge in Ah
float32 capacity         # Capacity in Ah (last full capacity)
float32 design_capacity  # Capacity in Ah (design capacity)
int32   percentage       # Charge percentage
uint8   charge_state     # Enum 
bool    present          # Should be an error if battery is not present

Compact Message Definition

uint8 DISCHARGING=0
uint8 CHARGING=1
uint8 CHARGED=2
std_msgs/Header header
float32 voltage
float32 rate
float32 charge
float32 capacity
float32 design_capacity
int32 percentage
uint8 charge_state
bool present