-
Notifications
You must be signed in to change notification settings - Fork 2
Power
Jacob Allen edited this page Mar 31, 2020
·
3 revisions
This node publishes battery state information regularly.
-
~rate
,float
: the rate at which battery state information is published in Hz (default:1
). -
~publish_aux_battery
,bool
: set totrue
to publish a second auxiliary battery status (default:false
).
-
power/battery
,BatteryState
: the current state of the primary Pi-puck battery. -
power/aux_battery
,BatteryState
: the current state of the auxiliary Pi-puck battery.
None.
This node assumes you are using the 1800mAh e-puck/Pi-puck batteries.
The auxiliary battery is assumed to have a max voltage of 4.2 volts and a min voltage of 3.3 volts, like the primary battery.
If any of these assumptions are wrong then the internal configuration should be adjusted or other nodes should take this into account.
While the primary battery is being charged, the current charge level cannot be determined so the charge percent will show as 100% even when it is not fully charged. The charge status should, however, still correctly say when it is full.
General
Considerations
Nodes
Examples