From f5ddaab35b287207ba56b4cdb22d8f1b25f25653 Mon Sep 17 00:00:00 2001
From: Robert Lefebvre <robert.lefebvre@gmail.com>
Date: Thu, 3 Jul 2014 16:18:48 -0400
Subject: [PATCH] TradHeli: Set Flybar passthrough mode in Acro Initialization
 function.

---
 ArduCopter/heli_control_acro.pde | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ArduCopter/heli_control_acro.pde b/ArduCopter/heli_control_acro.pde
index 374cdfcab..0710818a8 100644
--- a/ArduCopter/heli_control_acro.pde
+++ b/ArduCopter/heli_control_acro.pde
@@ -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;
 }
-- 
GitLab