Commander: make low remaining flight time configurable and fix clearing condition (#22863)

* Commander: make low remaining flight time configurable and do not clear

- add _ACT param to disable/warning/RTL this feature
- publish rtl flight time estimate also in RTL, and thus fix re-validation
- make failure message clearer, distinguish from battery low

* battery check: add hysteresis for declaring battery_low_remaining_time false again


---------

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
Co-authored-by: KonradRudin <98741601+KonradRudin@users.noreply.github.com>
This commit is contained in:
Silvan Fuhrer
2024-03-12 12:56:01 +01:00
committed by GitHub
co-authored by KonradRudin
parent 7fe5ee64fe
commit 00cc68baa1
9 changed files with 117 additions and 30 deletions
+4
View File
@@ -381,6 +381,10 @@
"5": {
"name": "emergency_battery_level",
"description": "emergency battery level"
},
"6": {
"name": "low_remaining_flight_time",
"description": "low remaining flight time"
}
}
},