reset all I terms at Arming

This commit is contained in:
Jason Short 2012-01-20 10:11:56 -08:00
parent 63a1cf75df
commit 9c912b2573
1 changed files with 4 additions and 0 deletions

View File

@ -93,6 +93,10 @@ static void init_arm_motors()
if(home_is_set) if(home_is_set)
init_home(); init_home();
// all I terms are invalid
// -----------------------
reset_I_all();
if(did_ground_start == false){ if(did_ground_start == false){
did_ground_start = true; did_ground_start = true;
startup_ground(); startup_ground();