Copter: update pos_control's hover throttle
This commit is contained in:
parent
33552b63d8
commit
7784fc7645
@ -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…
Reference in New Issue
Block a user