From 2c65fc9ddf6aab3d1e0451a46ff50f5634c0c090 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Sat, 11 Feb 2012 15:29:02 -0800 Subject: [PATCH] Cosmetic tweaks for tuning --- ArduCopter/ArduCopter.pde | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index c0c520b5d0..3603a30883 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -1921,7 +1921,8 @@ static void tuning(){ g.rc_6.set_range(0,300); // 0 to 1 g.stablize_d.set(tuning_value); - //g.rc_6.set_range(0,60); // 0 to 1 + //tuning_value = (float)g.rc_6.control_in / 100000.0; + //g.rc_6.set_range(0,1000); // 0 to 1 //g.pid_rate_roll.kD(tuning_value); //g.pid_rate_pitch.kD(tuning_value); break; @@ -1946,7 +1947,7 @@ static void tuning(){ break; case CH6_RATE_KI: - g.rc_6.set_range(0,300); // 0 to .3 + g.rc_6.set_range(0,500); // 0 to .5 g.pid_rate_roll.kI(tuning_value); g.pid_rate_pitch.kI(tuning_value); break;