diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-08-17 12:07:02 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-08-17 12:07:02 +0200 |
commit | b1008842204418f5d8cd0475547ecfb8f378b4c7 (patch) | |
tree | cd50ef6730b7e861c5965a5c5618fa5d38dc0a41 /src/modules/navigator/geofence_params.c | |
parent | a2cab83391ac2c3628d919cc70c9e244fec22df0 (diff) | |
download | px4-firmware-b1008842204418f5d8cd0475547ecfb8f378b4c7.tar.gz px4-firmware-b1008842204418f5d8cd0475547ecfb8f378b4c7.tar.bz2 px4-firmware-b1008842204418f5d8cd0475547ecfb8f378b4c7.zip |
geofence: support AMSL mode
Diffstat (limited to 'src/modules/navigator/geofence_params.c')
-rw-r--r-- | src/modules/navigator/geofence_params.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/modules/navigator/geofence_params.c b/src/modules/navigator/geofence_params.c index 653b1ad84..29b42cd54 100644 --- a/src/modules/navigator/geofence_params.c +++ b/src/modules/navigator/geofence_params.c @@ -58,3 +58,15 @@ * @group Geofence */ PARAM_DEFINE_INT32(GF_ON, 1); + +/** + * Geofence altitude mode + * + * Select which altitude reference should be used + * 0 = GPS, 1 = AMSL + * + * @min 0 + * @max 1 + * @group Geofence + */ +PARAM_DEFINE_INT32(GF_ALTMODE, 1); |