From 2fc212e06473f6bb653e606603f3a404dea408b6 Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Thu, 26 Nov 2020 14:54:30 +0100 Subject: [PATCH] geofence_params: clarify EKF vs baro altitude source --- src/modules/navigator/geofence_params.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/modules/navigator/geofence_params.c b/src/modules/navigator/geofence_params.c index 6b61990b1b..414bb847df 100644 --- a/src/modules/navigator/geofence_params.c +++ b/src/modules/navigator/geofence_params.c @@ -67,13 +67,12 @@ PARAM_DEFINE_INT32(GF_ACTION, 1); /** * Geofence altitude mode * - * Select which altitude source should be used: - * 0 = AMSL provided by GPS, 1 = Barometer AMSL altitude (assuming standard atmosphere pressure). + * Select which altitude (AMSL) source should be used for geofence calculations. * * @min 0 * @max 1 - * @value 0 AMSL provided by GPS - * @value 1 Barometer AMSL altitude + * @value 0 Autopilot estimator global position altitude (GPS) + * @value 1 Raw barometer altitude (assuming standard atmospheric pressure) * @group Geofence */ PARAM_DEFINE_INT32(GF_ALTMODE, 0);