Browse Source

TradHeli - small change to make throttle_cruise in terms of radio input instead of servo output

mission-4.1.18
unknown 13 years ago
parent
commit
156b496bab
  1. 6
      ArduCopter/system.pde

6
ArduCopter/system.pde

@ -527,11 +527,7 @@ init_throttle_cruise() @@ -527,11 +527,7 @@ init_throttle_cruise()
if((old_control_mode <= STABILIZE) && (g.rc_3.control_in > MINIMUM_THROTTLE)){
g.pi_throttle.reset_I();
g.pi_alt_hold.reset_I();
#if FRAME_CONFIG == HELI_FRAME
g.throttle_cruise.set_and_save(heli_get_scaled_throttle(g.rc_3.control_in));
#else
g.throttle_cruise.set_and_save(g.rc_3.control_in);
#endif
g.throttle_cruise.set_and_save(g.rc_3.control_in);
}
}

Loading…
Cancel
Save