Skip to main content
Terminology

Why battery-current signs need an interface convention

Published: Published on Zhilianhai

BatteryState uses negative current for discharge. Other device interfaces may use a different sign convention, so a dashboard with multiple sources should document where conversion happens.

How to test it

Feed the adapter two mock samples with distinct charge and discharge states. Trace signs and states through the raw interface, normalized message and report and keep the mapping for later diagnosis.

Zhilianhai editorial diagram · Current sign, Charge status, Interface mapping
Zhilianhai editorial diagram · Current sign, Charge status, Interface mapping

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