mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-02 10:23:25 +08:00
Copter: add support to determine runup complete using manual throttle mode
This commit is contained in:
@@ -101,6 +101,10 @@ void Copter::update_heli_control_dynamics(void)
|
||||
|
||||
// set hover roll trim scalar, will ramp from 0 to 1 over 1 second after we think helicopter has taken off
|
||||
attitude_control->set_hover_roll_trim_scalar((float) hover_roll_trim_scalar_slew/(float) scheduler.get_loop_rate_hz());
|
||||
|
||||
// set manual collective mode in motors to aid in runup complete determination in RSC
|
||||
// if copter is set to a manual throttle flight mode, then heli is using a manual collective mode
|
||||
motors->set_using_manual_collective_mode(flightmode->has_manual_throttle());
|
||||
}
|
||||
|
||||
bool Copter::should_use_landing_swash() const
|
||||
|
||||
Reference in New Issue
Block a user