From a0dc1f7ab11d51306e36b1bdabdfa9205c5bd3c3 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Mon, 25 Jun 2012 22:21:43 -0700 Subject: [PATCH] Config.h : New Gains based on testing, new Crosstrack gain. from 1.0 to .2 because of new algorithm --- ArduCopter/config.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ArduCopter/config.h b/ArduCopter/config.h index 81e9042ac9..560eef4834 100644 --- a/ArduCopter/config.h +++ b/ArduCopter/config.h @@ -734,7 +734,7 @@ // WP Navigation control gains // #ifndef NAV_P -# define NAV_P 3.0 // +# define NAV_P 2.5 // #endif #ifndef NAV_I # define NAV_I 0.20 // Wind control @@ -772,7 +772,7 @@ #endif #ifndef ALT_HOLD_P -# define ALT_HOLD_P 0.5 // +# define ALT_HOLD_P 0.8 // .5 #endif #ifndef ALT_HOLD_I # define ALT_HOLD_I 0.007 @@ -783,7 +783,7 @@ // RATE control #ifndef THROTTLE_P -# define THROTTLE_P 0.25 // +# define THROTTLE_P 0.35 // .25 #endif #ifndef THROTTLE_I # define THROTTLE_I 0.0 // Don't edit @@ -800,7 +800,7 @@ // Crosstrack compensation // #ifndef CROSSTRACK_GAIN -# define CROSSTRACK_GAIN 1 +# define CROSSTRACK_GAIN .2 #endif