Copter: reset mission when disarming

This commit is contained in:
Randy Mackay 2014-05-15 16:19:44 +09:00
parent 7d4c74c28e
commit 715e9c0474
1 changed files with 4 additions and 1 deletions

View File

@ -535,7 +535,10 @@ static void init_disarm_motors()
// we are not in the air
set_land_complete(true);
// reset the mission
mission.reset();
// setup fast AHRS gains to get right attitude
ahrs.set_fast_gains(true);