Skip to main content
Terminology

Check the fraction before interpreting a robot's 1% battery display

Published: Published on Zhilianhai

ROS 2 BatteryState defines the charge fraction on a scale from zero to one. Showing the raw fraction as a percentage can turn a full reading into 1%.

How to test it

Feed 0.25, 0.5 and 1.0 to a test dashboard. Verify how the display, export and threshold calculation convert the values, then add a separate unknown-value case.

Zhilianhai editorial diagram · Charge fraction, Display conversion, Mock telemetry
Zhilianhai editorial diagram · Charge fraction, Display conversion, Mock telemetry

Reference

ROS 2 Jazzy BatteryState message definition

Browse this section

Information is provided for initial research. Verify specifications, pricing, policies and standards against the original source before making decisions.

BackSection

Company information

Company information comes from the Zhilianhai directory. To update a profile, find the company in the Companies directory or contact us with a verifiable source for review.

Latest section resources

Discussion & enquiries