Browse Source

ArduCopter: allow alt hold to be engaged with alt < 1m because sometimes we get baro drift.

Also initialisation of target altitude is done in set_throttle_mode function.
master
rmackay9 12 years ago
parent
commit
b36eb406d4
  1. 1
      ArduCopter/system.pde

1
ArduCopter/system.pde

@ -456,7 +456,6 @@ static void set_mode(byte mode) @@ -456,7 +456,6 @@ static void set_mode(byte mode)
set_yaw_mode(ALT_HOLD_YAW);
set_roll_pitch_mode(ALT_HOLD_RP);
set_throttle_mode(ALT_HOLD_THR);
force_new_altitude(max(current_loc.alt, 100));
break;
case AUTO:

Loading…
Cancel
Save