geofence violation actions

This commit is contained in:
Daniel Agar authored and Lorenz Meier committed 2015-10-27 09:28:30 +01:00
1 parent 6fd1daf279
commit a2ba34d1ae
6 files changed
+149 -64

No files matched your search

+7
View File
@@ -1 +1,8 @@
uint8 GF_ACTION_NONE = 0 # no action on geofence violation
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
bool geofence_violated # true if the geofence is violated
uint8 geofence_action # action to take when geofence is violated