From e626f8666cfee8e8058e9bac3120b80bd27c8e8b Mon Sep 17 00:00:00 2001 From: Junwoo Hwang Date: Wed, 7 Jun 2023 00:22:47 +0900 Subject: [PATCH] Geofence: Disable pre-emptive geofence predictor by default (#21657) Co-authored-by: Hamish Willee --- src/modules/navigator/geofence_params.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/navigator/geofence_params.c b/src/modules/navigator/geofence_params.c index 129aeb27747d..053a0aa36c91 100644 --- a/src/modules/navigator/geofence_params.c +++ b/src/modules/navigator/geofence_params.c @@ -128,7 +128,9 @@ PARAM_DEFINE_FLOAT(GF_MAX_HOR_DIST, 0); PARAM_DEFINE_FLOAT(GF_MAX_VER_DIST, 0); /** - * Use Pre-emptive geofence triggering + * [EXPERIMENTAL] Use Pre-emptive geofence triggering + * + * WARNING: This experimental feature may cause flyaways. Use at your own risk. * * Predict the motion of the vehicle and trigger the breach if it is determined that the current trajectory * would result in a breach happening before the vehicle can make evasive maneuvers. @@ -137,4 +139,4 @@ PARAM_DEFINE_FLOAT(GF_MAX_VER_DIST, 0); * @boolean * @group Geofence */ -PARAM_DEFINE_INT32(GF_PREDICT, 1); +PARAM_DEFINE_INT32(GF_PREDICT, 0);