Setting half of an input to two different outputs

openTx has introduced a range of new features, ideas and bling. It is fast becoming the firmware of choice for many users. openTx will run on ALL current hardware platforms, including the gruvin9x and sky9x boards. Work has already started to support the new FrSky X9D radio!
Post Reply
scotty562
Posts: 7
Joined: Fri Dec 25, 2015 1:30 pm
Country: -

Setting half of an input to two different outputs

Post by scotty562 » Fri May 25, 2018 8:13 pm

Hi guys. So I'm building a home made rc car just for fun and I'm doing a tank design where the left side spins to go one way and the right side spins to go the other. The way I'd like to do this on my QX7s is that elevator up will make both sides rotate the same way which is easy enough. The hard part is making aileron left only spin the right side and aileron right only move the left side. I imagine I have to set the output to include both channels, but I'm not sure what else needs done if it's even possible. Maybe some logic functions like if ail < 0 output ch2 and if ail > 0 output ch1?

User avatar
rcdiy
Posts: 190
Joined: Fri Jul 01, 2016 6:13 am
Country: Canada
Contact:

Re: Setting half of an input to two different outputs

Post by rcdiy » Sat May 26, 2018 1:26 am

You use a mix with a function x>0 and x<0
http://rcdiy.ca/opentx-transmitter-firm ... c_Function
RCdiy.ca
Stay Safe & Have Fun
OpenTX Manual http://rcdiy.ca
Paying it forward by sharing my Lua scripts, documentation and videos.

Post Reply

Return to “openTx”