From 7372014aee9a6c985e97c8c1c742b14d44840e51 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Wed, 22 Feb 2017 22:01:21 +0100 Subject: [PATCH] Battery: Implement an emergency warn level --- msg/battery_status.msg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/msg/battery_status.msg b/msg/battery_status.msg index 297d7d8bf0..32baad4a83 100644 --- a/msg/battery_status.msg +++ b/msg/battery_status.msg @@ -12,6 +12,8 @@ bool connected # Wether or not a battery is connected uint8 BATTERY_WARNING_NONE = 0 # no battery low voltage warning active uint8 BATTERY_WARNING_LOW = 1 # warning of low voltage -uint8 BATTERY_WARNING_CRITICAL = 2 # alerting of critical voltage +uint8 BATTERY_WARNING_CRITICAL = 2 # critical voltage, return / abort immediately +uint8 BATTERY_WARNING_EMERGENCY = 3 # immediate landing required +uint8 BATTERY_WARNING_FAILED = 4 # the battery has failed completely uint8 warning # current battery warning