Hands off auto tune |
In this post I will outline the steps I took to automate the auto tune process. This guide will outline a Logical Switch setup that alternates every 1 second and configure a switch to disable normal stick input and enable the Logical switch to control either the ailerons or elevator. This guide adds onto my previous post regarding Flight Modes.
In this setup I use my flight mode switches SA and SB to control main flight controls. I will be using SE to select which control to auto tune (Aile or Elev). We also want some logic to not trigger this function outside of AUTO TUNE Flight Mode, and to announce which mode is selected (IE: Arm Auto Tune Elevator).
Logical Switches
First we need to make a Logical Switch that toggles every 2 seconds, since you are looking for an Automated Auto Tune. I moved down a few spaces in my Logical Switch list, and started at L11, enter two switches as follows:L11:
Function: Timer
V1/V2: Leave at 1.0
AND Switch: Leave blank for now
Duration: 2.0
L12:
Function: Timer
V1/V2: Leave at 1.0
AND Switch: !L11 (Note the !)
Go back and EDIT L11 and edit AND Switch to read: !L12 (Note the !)
(This third step is needed because you cant define the L12 AND Switch when L12 has not been created)
So we have defined two Logical Switches that trigger off each other every 2 seconds. If you watch the L11/L12 Indicators on the main screen they should alternate back and forth every 2 seconds..
Mixer Settings
Now take one of those Logical Switches and tie it to a Mix. We are going to have a little bit of logic to make sure this mix does not get enabled outside of AUTO TUNE mode.
First steps will be to COPY your Aileron MIX to a second line (See photo), now edit the second Aileron Mix and setup as follows:
Source: L11
Modes: 4 (Make sure and TURN OFF other Flight Modes)
Switch: SE-
Warning: 3 (Make it beep when this is enabled**)
Multpx: Replace
Final notes
Use the channel monitor to confirm servo movement. When FMod Switches are in any position OTHER then AUTO TUNE, the SE Switch should do nothing. When FMod Switches are in the AUTO TUNE position, the SE switch is active with the following settings:
- SE+ - Automatic AUTOTUNE Disabled, you have control of the process
- SE - Automatic AUTOTUNE Enabled for Ailerons (Elevator is still under your control)
- SE- - Automatic AUTOTUNE Enabled for Elevator (Aileron is still under your control)
** I ran out of time when I first set this up and didn't tie them to a special function to announce the mode, instead used the frsky "warning beep" to indicate it was on.
Comments
Excellent !