Commander: enable failsafe delay for position and mission mode

Instead of directly doing the link loss reaction which by default is RTL a delay
can be configured such that the drone first switches to hold and waits
for the link to be regained.
This commit is contained in:
Matthias Grob
2020-07-13 13:10:59 +02:00
parent fa45eacea3
commit 26d74bf57d
6 changed files with 43 additions and 5 deletions
+1
View File
@@ -63,6 +63,7 @@ uint64 nav_state_timestamp # time when current nav_state activated
uint8 arming_state # current arming state
uint8 hil_state # current hil state
bool failsafe # true if system is in failsafe state (e.g.:RTL, Hover, Terminate, ...)
uint64 failsafe_timestamp # time when failsafe was activated
uint8 system_type # system type, contains mavlink MAV_TYPE
uint8 system_id # system id, contains MAVLink's system ID field