mavBatteryStatusFlagsProtectionsEnabled top-level constant

MavBatteryStatusFlags const mavBatteryStatusFlagsProtectionsEnabled

Automatic battery protection monitoring is enabled. When enabled, the system will monitor for certain kinds of faults, such as cells being over-voltage. If a fault is triggered then and protections are enabled then a safety fault (MAV_BATTERY_STATUS_FLAGS_FAULT_PROTECTION_SYSTEM) will be set and power from the battery will be stopped. Note that battery protection monitoring should only be enabled when the vehicle is landed. Once the vehicle is armed, or starts moving, the protections should be disabled to prevent false positives from disabling the output.

MAV_BATTERY_STATUS_FLAGS_PROTECTIONS_ENABLED

Implementation

const MavBatteryStatusFlags mavBatteryStatusFlagsProtectionsEnabled = 128;