Skip to content

Conversation

rmackay9
Copy link

@rmackay9 rmackay9 commented Jan 8, 2024

This adds a new state_of_health percentage field to the BATTERY_STATUS message.

DroneCAN batteries at least report and the format of this field was derived somewhat from this DroneCAN message. The largest difference between this field and the corresponding DSDL message is for MAVLink I think we should use zero for unknown instead of 127 (or is it perhaps -1) because the field is an extension.

The corresponding upstream PR is here mavlink#2069
The ArduPilot flight code PR that makes use of this change is here: ArduPilot/ardupilot#25926

@rmackay9
Copy link
Author

This isn't going to fly apparently so a new proposal to switch to a BATTERY_INFO message is here mavlink#2070

@rmackay9 rmackay9 closed this Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant