mirror of https://github.com/ArduPilot/ardupilot
Copter: Tradheli: eliminate motors.set_dt
This commit is contained in:
parent
65ca09600c
commit
a8c4274db4
|
@ -16,9 +16,7 @@ static int8_t heli_dynamic_flight_counter;
|
||||||
// heli_init - perform any special initialisation required for the tradheli
|
// heli_init - perform any special initialisation required for the tradheli
|
||||||
static void heli_init()
|
static void heli_init()
|
||||||
{
|
{
|
||||||
motors.set_dt(MAIN_LOOP_SECONDS);
|
// Nothing in here for now. To-Do: Eliminate this function completely?
|
||||||
// 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 channel_throttle->servo_out function
|
// get_pilot_desired_collective - converts pilot input (from 0 ~ 1000) to a value that can be fed into the channel_throttle->servo_out function
|
||||||
|
|
Loading…
Reference in New Issue