Browse Source

Copter: reset mission when disarming

master
Randy Mackay 11 years ago
parent
commit
715e9c0474
  1. 5
      ArduCopter/motors.pde

5
ArduCopter/motors.pde

@ -535,7 +535,10 @@ static void init_disarm_motors() @@ -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);

Loading…
Cancel
Save