mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 15:13:34 +08:00
geofence violation actions
This commit is contained in:
committed by
Lorenz Meier
parent
6fd1daf279
commit
a2ba34d1ae
@@ -44,15 +44,15 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Geofence mode.
|
||||
* Geofence violation action.
|
||||
*
|
||||
* 0 = disabled, 1 = geofence file only, 2 = max horizontal (GF_MAX_HOR_DIST) and vertical (GF_MAX_VER_DIST) distances, 3 = both
|
||||
* 0 = none, 1 = warning (default), 2 = loiter, 3 = return to launch, 4 = fight termination
|
||||
*
|
||||
* @min 0
|
||||
* @max 3
|
||||
* @max 4
|
||||
* @group Geofence
|
||||
*/
|
||||
PARAM_DEFINE_INT32(GF_MODE, 0);
|
||||
PARAM_DEFINE_INT32(GF_ACTION, 1);
|
||||
|
||||
/**
|
||||
* Geofence altitude mode
|
||||
@@ -93,7 +93,7 @@ PARAM_DEFINE_INT32(GF_COUNT, -1);
|
||||
/**
|
||||
* Max horizontal distance in meters.
|
||||
*
|
||||
* Set to > 0 to activate RTL if horizontal distance to home exceeds this value.
|
||||
* Set to > 0 to activate a geofence action if horizontal distance to home exceeds this value.
|
||||
*
|
||||
* @group Geofence
|
||||
*/
|
||||
@@ -102,7 +102,7 @@ PARAM_DEFINE_INT32(GF_MAX_HOR_DIST, -1);
|
||||
/**
|
||||
* Max vertical distance in meters.
|
||||
*
|
||||
* Set to > 0 to activate RTL if vertical distance to home exceeds this value.
|
||||
* Set to > 0 to activate a geofence action if vertical distance to home exceeds this value.
|
||||
*
|
||||
* @group Geofence
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user