How to create a "sticky" throttle hold.
- mwm
- Topic Author
- Offline
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
Please Log in or Create an account to join the conversation.
- MikefromGermany
- Offline
- Posts: 39
Anyone over here who would share a working model file so I can have a closer look?
I'm using v4.0.1-4795163 in a 2x2 modded Devo 7e
Thanks in advance.
-mike-
Please Log in or Create an account to join the conversation.
- HappyHarry
- Offline
- Posts: 1136
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Since that page has a fixed function, you can choose any source, they won't effect the behaviour...
Please Log in or Create an account to join the conversation.
- HappyHarry
- Offline
- Posts: 1136
Please Log in or Create an account to join the conversation.
- FDR
- Offline
EDIT: AFAIK if you open a new page, by default ELE is selected as source.
If you don't clear that, the page can be saved.
Others probably didn't clear that...
Please Log in or Create an account to join the conversation.
- MikefromGermany
- Offline
- Posts: 39
Works like a charm now.
I really tried to change the source from ELE to none.
-mike-
Please Log in or Create an account to join the conversation.
- MikefromGermany
- Offline
- Posts: 39
I want to thank Fabien for this ingenious piece of work!
This example is meant for sticky hold is assigned to throttle hold switch, activated when switching down.
Go to THR in mixer menu:
Mixer: simple
Safety = Virt1
Safe Val = -150 (the Min Limit you use,
see line below in display)
Then go to virtual channel 1
in mixer menu
Virt1 = Complex
mixers = 3
Page 1:
Switch = None
Mux = replace
Src = this virtual channel (Virt1 for me)
Curve = Min/Max
Scale = 100
Offset = 0
Page 2:
Switch = None
Mux = add
Src = THR
Curve = 1-to-1
Scale = 100
Offset = -1
Page 3:
Switch = HOLD1
Mux = replace
Src = AIL (that is standard offer)
Curve = Fixed
Scale = 100
Offset = 0
Save and you are done.
-mike-
Please Log in or Create an account to join the conversation.
- jacky1019
- Offline
- Posts: 2
Hence, I've enhanced the setup a little bit so that the TH can only be turned off in FMODE0. The enhanced setup is different from the original one only for virt1 (identical for virt2):
virt1
- Type: Complex (not "Simple")
- Mixers: 2
Page 1:
- Mux: replace
- Switch: FMODE0
- Src: THR
- Curve: 1-to-1
- Scale: -50
- Offset: -49
Page 2:
- Mux: replace
- Switch: !FMODE0
- Src: None
- Curve: Fixed
- Scale: -1
- Offset: 0
To explain the setting briefly: in FMODE0, the mixer is identical w/ the original one, which means the output is greater than 0 only when the stick is all way down. In FMODE1/2, the output is ALWAYS -1.
Hope this is useful for people like me
Please Log in or Create an account to join the conversation.
- mwm
- Topic Author
- Offline
I've updated the original post to include Fbian's method instead of the one with two virtual channels you started on.
My apologies for not doing so earlier.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Gerry
- Offline
- Bbrad
- Posts: 194
Could someone please tell me how to set sticky throttle hold so that the throttle stick needs to be at 35% to release hold.
Reason being that when I turn off throttle hold with the throttle stick down the car goes reverse.
Cheers Gerry
Devo 7e A7105 NRF24L01 CC2500 2x3 way & voice, Devo 12e 4 in 1 & voice.
FFS (Forever Fixing Stuff)
Please Log in or Create an account to join the conversation.
- rjmcewen63
- Offline
- I know how to fly, I'm learning not to crash...
- Posts: 21
I have a workaround that will allow sticky throttle to disengage at 35%.
Here's the ini file garb...
[channel3]
safetysw=Virt5
safetyval=-110
template=simple
[mixer]
src=THR
dest=Ch3
[virtchan5]
name=St-THold
template=complex
[mixer]
src=Virt5
dest=Virt5
usetrim=0
curvetype=min/max
points=0
[mixer]
src=Ch3
dest=Virt5
offset=-70 ;<edit this number... -70 will disenage at 35% throttle.
usetrim=0
muxtype=add
[mixer]
src=AIL
dest=Virt5
switch=HOLD1
usetrim=0
curvetype=fixed
Anyhow thats it, bud. Hope this solves your problem.
Happy modeling!
_
/_/ _ _
/ \/_/_\_\
This email address is being protected from spambots. You need JavaScript enabled to view it.
Please Log in or Create an account to join the conversation.
- Gerry
- Offline
- Bbrad
- Posts: 194
I tried this and some variations of what I thought would work and it does almost do what I want. With this config and anything else I have tried I can get the sticky throttle to disengage at 35% OR LOWER, problem is I can't figure how to make it so it only works at 35%.
Cheers
Devo 7e A7105 NRF24L01 CC2500 2x3 way & voice, Devo 12e 4 in 1 & voice.
FFS (Forever Fixing Stuff)
Please Log in or Create an account to join the conversation.