Skip to main content

Power

The Power node tracks battery voltage and publishes state-of-charge estimates using a NiMH discharge curve. Always active — no enabled flag required.

Configuration​

power:
battery_count: 1

Parameters​

ParameterDescription
battery_countNumber of batteries in series (default 1)

Topics​

Published​

TopicTypeDescriptionRate
/battery_statesensor_msgs/BatteryStateVoltage, state-of-charge, and health2 Hz

BatteryState Fields​

FieldValue
voltageLive battery voltage in volts
percentageState-of-charge estimate (0.0 – 1.0) from NiMH discharge curve
design_capacity3.0 × battery_count Ah
power_supply_technologyNIMH
power_supply_statusDISCHARGING
power_supply_healthGOOD (≥ 11 V) / DEAD (< 11 V)
presenttrue
current / charge / capacityNaN

Warning Thresholds​

VoltageBehaviour
< 11.0 VWARN logged every 10 seconds
< 10.0 VERROR logged every 5 seconds