Skip to content
Snippets Groups Projects
Commit d1002799 authored by Daniel Agar's avatar Daniel Agar Committed by Lorenz Meier
Browse files

geofence param @unit

parent dc34328e
No related branches found
No related tags found
No related merge requests found
......@@ -48,8 +48,14 @@
*
* 0 = none, 1 = warning (default), 2 = loiter, 3 = return to launch, 4 = fight termination
*
* @unit enum
* @min 0
* @max 4
* @value 0 none
* @value 1 warning
* @value 2 loiter
* @value 3 return
* @value 4 terminate
* @group Geofence
*/
PARAM_DEFINE_INT32(GF_ACTION, 1);
......@@ -60,8 +66,11 @@ PARAM_DEFINE_INT32(GF_ACTION, 1);
* Select which altitude reference should be used
* 0 = WGS84, 1 = AMSL
*
* @unit enum
* @min 0
* @max 1
* @value 0 WGS84
* @value 1 AMSL
* @group Geofence
*/
PARAM_DEFINE_INT32(GF_ALTMODE, 0);
......@@ -73,8 +82,11 @@ PARAM_DEFINE_INT32(GF_ALTMODE, 0);
* no dependence on the position estimator
* 0 = global position, 1 = GPS
*
* @unit enum
* @min 0
* @max 1
* @value 0 GPOS
* @value 1 GPS
* @group Geofence
*/
PARAM_DEFINE_INT32(GF_SOURCE, 0);
......@@ -84,6 +96,7 @@ PARAM_DEFINE_INT32(GF_SOURCE, 0);
*
* Set how many subsequent position measurements outside of the fence are needed before geofence violation is triggered
*
* @unit
* @min -1
* @max 10
* @group Geofence
......@@ -95,7 +108,7 @@ PARAM_DEFINE_INT32(GF_COUNT, -1);
*
* Set to > 0 to activate a geofence action if horizontal distance to home exceeds this value.
*
* @unit meters
* @unit m
* @min -1
* @group Geofence
*/
......@@ -106,7 +119,7 @@ PARAM_DEFINE_INT32(GF_MAX_HOR_DIST, -1);
*
* Set to > 0 to activate a geofence action if vertical distance to home exceeds this value.
*
* @unit meters
* @unit m
* @min -1
* @group Geofence
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment