mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
TradHeli: Set main loop rate time in motors class.
This commit is contained in:
parent
0680b88abd
commit
c7ccd22d96
@ -17,6 +17,7 @@ static int8_t heli_dynamic_flight_counter;
|
||||
static void heli_init()
|
||||
{
|
||||
attitude_control.update_feedforward_filter_rates(MAIN_LOOP_SECONDS);
|
||||
motors.set_dt(MAIN_LOOP_SECONDS);
|
||||
}
|
||||
|
||||
// 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