2022-09-05 21:17:24 -03:00
|
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
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
|
|
|
|
uint8 GF_ACTION_LAND = 5 # switch to AUTO|LAND
|
2015-09-27 20:49:01 -03:00
|
|
|
|
2022-09-07 04:23:11 -03:00
|
|
|
uint8 geofence_violation_reason # one of geofence_violation_reason_t::*
|
2017-04-16 22:16:47 -03:00
|
|
|
|
2022-09-05 21:17:24 -03:00
|
|
|
bool primary_geofence_breached # true if the primary geofence is breached
|
|
|
|
uint8 primary_geofence_action # action to take when the primary geofence is breached
|