2015-09-27 20:49:01 -03:00
|
|
|
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
|
|
|
|
|
2015-05-25 14:24:40 -03:00
|
|
|
bool geofence_violated # true if the geofence is violated
|
2015-09-27 20:49:01 -03:00
|
|
|
uint8 geofence_action # action to take when geofence is violated
|