Add Land as Geofence Action

This commit is contained in:
Thomas Stauber
2020-07-09 16:32:10 +02:00
committed by GitHub
parent f3d923f226
commit 6d1ce57362
4 changed files with 23 additions and 2 deletions
+1
View File
@@ -4,6 +4,7 @@ uint8 GF_ACTION_WARN = 1 # critical mavlink message
uint8 GF_ACTION_LOITER = 2 # switch to AUTO|LOITER
uint8 GF_ACTION_RTL = 3 # switch to AUTO|RTL
uint8 GF_ACTION_TERMINATE = 4 # flight termination
uint8 GF_ACTION_LAND = 5 # switch to AUTO|LAND
bool geofence_violated # true if the geofence is violated
uint8 geofence_action # action to take when geofence is violated