mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 17:38:32 -04:00
TradHeli: Set Flybar passthrough mode in Acro Initialization function.
This commit is contained in:
parent
9326d36e54
commit
184be135cd
@ -7,6 +7,9 @@
|
||||
// heli_acro_init - initialise acro controller
|
||||
static bool heli_acro_init(bool ignore_checks)
|
||||
{
|
||||
// if heli is equipped with a flybar, then tell the attitude controller to pass through controls directly to servos
|
||||
attitude_control.use_flybar_passthrough(motors.has_flybar());
|
||||
|
||||
// always successfully enter acro
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user