smart_battery_msgs

Summary

smart_battery_msgs
Version:

0.1.0

Description:

Smart Battery Messages

Maintainers:
  • Jihoon Lee <jihoonlee DOT in AT gmail DOT com>
Licenses:
  • BSD
Urls:
Authors:
  • Jorge Santos
  • Daniel Stonier
BuildDepends:
BuildtoolDepends:
 
BuildExportDepends:
 
ExecDepends:

Types

Message types

smart_battery_msgs/SmartBatteryStatus
Constant:
  • DISCHARGING (uint8):0
  • CHARGING (uint8):1
  • CHARGED (uint8):2
Field:
  • header (std_msgs/Header) –
  • voltage (float32) –
  • rate (float32) –
  • charge (float32) –
  • capacity (float32) –
  • design_capacity (float32) –
  • percentage (int32) –
  • charge_state (uint8) –
  • present (bool) –
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