Firmware
|
Parameters for geofence. More...
Functions | |
PARAM_DEFINE_INT32 (GF_ACTION, 1) | |
Geofence violation action. More... | |
PARAM_DEFINE_INT32 (GF_ALTMODE, 0) | |
Geofence altitude mode. More... | |
PARAM_DEFINE_INT32 (GF_SOURCE, 0) | |
Geofence source. More... | |
PARAM_DEFINE_INT32 (GF_COUNT, -1) | |
Geofence counter limit. More... | |
PARAM_DEFINE_FLOAT (GF_MAX_HOR_DIST, 0) | |
Max horizontal distance in meters. More... | |
PARAM_DEFINE_FLOAT (GF_MAX_VER_DIST, 0) | |
Max vertical distance in meters. More... | |
Parameters for geofence.
PARAM_DEFINE_FLOAT | ( | GF_MAX_HOR_DIST | , |
0 | |||
) |
Max horizontal distance in meters.
Maximum horizontal distance in meters the vehicle can be from home before triggering a geofence action. Disabled if 0.
m 0 10000 1 Geofence
PARAM_DEFINE_FLOAT | ( | GF_MAX_VER_DIST | , |
0 | |||
) |
Max vertical distance in meters.
Maximum vertical distance in meters the vehicle can be from home before triggering a geofence action. Disabled if 0.
m 0 10000 1 Geofence
PARAM_DEFINE_INT32 | ( | GF_ACTION | , |
1 | |||
) |
Geofence violation action.
Note: Setting this value to 4 enables flight termination, which will kill the vehicle on violation of the fence. Due to the inherent danger of this, this function is disabled using a software circuit breaker, which needs to be reset to 0 to really shut down the system.
0 4 0 None 1 Warning 2 Hold mode 3 Return mode 4 Terminate Geofence
PARAM_DEFINE_INT32 | ( | GF_ALTMODE | , |
0 | |||
) |
PARAM_DEFINE_INT32 | ( | GF_SOURCE | , |
0 | |||
) |