TradHeli: Force recalc scalers after setting main loop time in MotorsHeli so that ramp scalers are right for 32-bit.
This commit is contained in:
parent
92bdf24dba
commit
aff98e34e5
@ -18,6 +18,8 @@ static void heli_init()
|
||||
{
|
||||
attitude_control.update_feedforward_filter_rates(MAIN_LOOP_SECONDS);
|
||||
motors.set_dt(MAIN_LOOP_SECONDS);
|
||||
// force recalculation of RSC ramp rates after setting _dt
|
||||
motors.recalc_scalers();
|
||||
}
|
||||
|
||||
// get_pilot_desired_collective - converts pilot input (from 0 ~ 1000) to a value that can be fed into the g.rc_3.servo_out function
|
||||
|
Loading…
Reference in New Issue
Block a user