SPECIAL CRUISE CONTROL SETUP WITH LUA | EDGETX | TUTORIAL [EN]

  Рет қаралды 273

arminRC

arminRC

Күн бұрын

Пікірлер: 13
@gruffrc
@gruffrc 6 ай бұрын
I really appreciate all of the effort that you go to for these videos. They're getting me thinking in different ways and sometimes not so different... I've actually figured out a way to do cruise control without Lua using a combination of logical switches, global variables, special functions and a 2nd mix which I will try to describe in this post for your own use and maybe another video! Functionally, it uses ST+ to set Cruise Control, ST- toggles CC on/off using the previous value, and any use of the throttle will override it. ------------------------------------------------------------ Special Function: ST+ Adjust G1 [I]Th (Adjust is able to store current mixer value as a global variable and here we assign it to G1 which we will use as an offset in a second mix channel) Mixes: CH2 Source: [I]Th, Weight: 100, Offset: 0, Switch: !L47 (basically leave these as normal for your setup but add the switch) += Source: MAX, Weight: 0, Offset: G1, Switch: L47 Logical Switches (apologies for using the high numbers but I didn't want to make a mistake): L47 Stky V1: L51 V2: L50 L48 a~x V1: [I]Th V2: 0 L49 Edge V1: L48 V2: [0.0 : - - ] L50 OR V1: ST- V2: L49 L51 OR V1: ST+ V2: ST- ------------------------------------------------------------ It works far better than I had ever hoped and I strongly suggest you give it a try. I haven't found any weaknesses with this setup yet. Edit: sorry, first throttle mix should have a Weight of 100 and Offset of 0. Edit2: Realised another error in CH2 mix. Made it clearer that this should as your default but add the switch.
@arminrc
@arminrc 6 ай бұрын
Thanks for your setup! But, to be honest, I must have made something wrong when setting this up. If I hit the throttle trigger (regardless of forward or backward) I have 100% throttle. And, if I read your setup correctly, whenever L47 is not active (!L47 in the first CH2 mix) you end up with 100% throttle. But, again, I guess I have done something wrong here or maybe there is a typo in the setup description ...
@gruffrc
@gruffrc 6 ай бұрын
@@arminrc I went through my setup again and confirmed that it's definitely working. I made some edits to my original post as I didn't describe the mixer setup correctly and I tried to make things clearer. The first throttle mix should be the same as whatever your default is with the addition of the !L47 switch, all we're doing is switching between throttle mixes while using a global variable (G1) set in the special function as an offset in the second channel. When I first did this I had a similar issue as you and I had to change the weight in the second mix to 0 which fixed it but I'm not sure if you have the same issue or something different.
@arminrc
@arminrc 6 ай бұрын
@@gruffrc Thanks again! But, well, I cant see how this should work because if L47 is not active (!L47) then the first mix of CH2 is active which means you have 100% throttle output. I'll go through the setup again maybe I find the error I made on my MT12.
@arminrc
@arminrc 6 ай бұрын
@@gruffrc Ah, I see that the first mix of CH2 uses TH as source. I guess this is the error in my setup because I set the source to MAX.
@gruffrc
@gruffrc 6 ай бұрын
@@arminrc yes, exactly! We're keeping everything in the first channel mix the same accept for the switch. L47 tells us if the Cruise Control is active and switches between the two channels. The Special Function, Adjust is the real magic of the show where we can use Adjust to kind of safe a current mixer value to a Global Variable. Then we use that in our second throttle mix as an offset. The other logic is just about making the switches work how I wanted for my own setup. I've used a much more complicated logic for my diff switches that I'd love to share. I've got a Google Sheet with it all saved.
@krowe33
@krowe33 3 ай бұрын
Did I miss the section explaining how to use the script file? And which file do I need to use?
@arminrc
@arminrc 3 ай бұрын
@4:20 you see that it is a "Custom (Mixer) Script" and you see the name of the script ("s_crse.lua"). In the video description you find a link to my github-repo where all the scripts are available.
@TheAdenkoa
@TheAdenkoa 6 ай бұрын
Hy do you have any idea to lower throttle punch? My kid use our RC monster truck brutally, he always push the throttle from 0 to 100%, and i heard noisy sound from the spur & pinion gear. I am afraid it will damage the gear. It would be great if u can show us how to do " slow ramping" logic, for example even if we push throttle from 0-100% in 0.5 second,actual throttle will raise to 100% in 2 second
@arminrc
@arminrc 6 ай бұрын
Thanks for the question! This can easily be done! Quick Tip Video is coming soon. Stay tuned! 😉
@TheAdenkoa
@TheAdenkoa 6 ай бұрын
@@arminrc thakyou!..waiting for your tutor..
TRIM WITH POTS | EDGETX | TUTORIAL [EN]
4:01
arminRC
Рет қаралды 441
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
WHAT'S NEW at the CMT 2025 in Stuttgart? Or is it all just blah blah?
31:44
Build Your Own Drone Tracking Radar:  Part 1
20:08
Jon Kraft
Рет қаралды 621 М.
How to Design a Counter Drone Jammer PART I
10:06
Shawn Charland
Рет қаралды 10 М.
I Remade Star Wars VFX in 1 Week
10:39
ErikDoesVFX
Рет қаралды 2,9 МЛН
How to get started with Reticulum and RNode
21:32
andy kirby
Рет қаралды 44 М.
This AI Robot Is Doing the Impossible - Unitree x ElizaWakesUp
9:30
How I Built A LEGO Treadmill That Moves In EVERY Direction
18:06
Banana Gear Studios
Рет қаралды 1 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН