mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-09-25 12:09:56 +08:00
* feat(uavcan): parse STATUS_FLAG_CHARGING from BatteryInfo - Map UAVCAN STATUS_FLAG_CHARGING to uORB STATE_CHARGING - Cover both Raw and Filter data paths - Enables MAVLink BATTERY_STATUS.charge_state to report CHARGING(7) * refactor(msg): rename STATE_UNHEALTHY/STATE_CHARGING to WARNING_UNHEALTHY/WARNING_CHARGING Rename for naming consistency: these enum values belong to the 'warning' field, so they should use the WARNING_ prefix like the other values (WARNING_NONE, WARNING_LOW, etc.). Also fix @enum annotation from 'WARNING STATE' to 'WARNING'.
4.8 KiB
4.8 KiB