From f5fd3a0597de53107a2259f3794056dcd4ac58af Mon Sep 17 00:00:00 2001 From: Jason Short Date: Fri, 20 Jan 2012 10:11:56 -0800 Subject: [PATCH] reset all I terms at Arming --- ArduCopter/motors.pde | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ArduCopter/motors.pde b/ArduCopter/motors.pde index 7b81974192..7cba786cae 100644 --- a/ArduCopter/motors.pde +++ b/ArduCopter/motors.pde @@ -93,6 +93,10 @@ static void init_arm_motors() if(home_is_set) init_home(); + // all I terms are invalid + // ----------------------- + reset_I_all(); + if(did_ground_start == false){ did_ground_start = true; startup_ground();