Browse Source

Copter: update pos_control's hover throttle

master
Randy Mackay 11 years ago committed by Andrew Tridgell
parent
commit
7784fc7645
  1. 2
      ArduCopter/Attitude.pde

2
ArduCopter/Attitude.pde

@ -776,6 +776,8 @@ static void update_throttle_cruise(int16_t throttle) @@ -776,6 +776,8 @@ static void update_throttle_cruise(int16_t throttle)
throttle_avg = throttle_avg * 0.99f + (float)throttle * 0.01f;
g.throttle_cruise = throttle_avg;
}
// update position controller
pos_control.set_throttle_hover(throttle_avg);
}
#if FRAME_CONFIG == HELI_FRAME

Loading…
Cancel
Save