- Posts: 35
Devo 7e: 3 position switch to select 3 flight mode
- MikeNH
- Topic Author
- Offline
Looking at the other virtual switch choices, I don't see much of a difference in behaviors. So my question is, is it true to say that the virtual switch capability can't be used to select one of three flight modes in a way that the selection will remain?
Thanks in advance,
Mike
Please Log in or Create an account to join the conversation.
- ajtank
- Offline
- Posts: 278
Please Log in or Create an account to join the conversation.
- MikeNH
- Topic Author
- Offline
- Posts: 35
The LHI250 is a QAV250-type quadcopter. Can the virtual trim switches be configured to select one of three flight modes? There is the "Toggle" and "On/Off" which can probably be used to select one of two flight modes but can a virtual trim switch be configured to select one of three flight modes? I was disappointed that the "3-Pos" virtual trim switch cannot.
Again, I thank you for your response.
Mike
Please Log in or Create an account to join the conversation.
- ajtank
- Offline
- Posts: 278
[channel12]
template=simple
[mixer]
src=virt1
dest=ch12
[trim1]
src=virt1
pos=TRIM_L+
neg=TRIM_L-
step=100
value=0,0,0
Please Log in or Create an account to join the conversation.
- MikeNH
- Topic Author
- Offline
- Posts: 35
Does this mean that the user manual for the Devo 7e should be changed to reflect this capability? If so, I will learn the process for updating the user manual as a small contribution to the Deviation project.
Thank you.
Please Log in or Create an account to join the conversation.
- mwm
- Offline
FWIW, all three of those settings are covered in rc.mired.org/p/writing-deviationtx-model.html .
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.
- mwm
- Offline
I started it with links to my tutorials and my first really cool programming trick. Please feel free to add things to it, or remove the links to my pages if you think they are inappropriate or dated.
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.
- MikeNH
- Topic Author
- Offline
- Posts: 35
Now for the cherry on top... Is there any way that the home screen of the Devo 7e can be configured to display switch position 1, 2 or 3?
This is the model.ini that got me to the point where the switch selects a flight mode and is persistent until the switch is moved up or down again. Thank you!
I will try to learn more about this and contribute to the documentation as I believe this could be a very popular option based on all the YouTube videos about a 3 position switch mod.
name=LSI 250
mixermode=Advanced
icon=MULTI.BMP
type=multi
[radio]
protocol=DEVO
num_channels=7
fixed_id=783595
tx_power=150mW
[protocol_opts]
Telemetry=On
[channel1]
failsafe=0
template=simple
[mixer]
src=ELE
dest=Ch1
[channel2]
failsafe=0
template=simple
[mixer]
src=AIL
dest=Ch2
[channel3]
failsafe=-125
template=simple
[mixer]
src=THR
dest=Ch3
[channel4]
failsafe=0
template=simple
[mixer]
src=RUD
dest=Ch4
[channel5]
max=100
min=-100
template=complex
[mixer]
src=Virt1
dest=Ch5
switch=Ch5
scalar=0
curvetype=3point
points=0,0,0
[channel6]
max=100
min=-100
[channel7]
template=simple
[mixer]
src=HOLD1
dest=Ch7
[trim1]
src=Ch5
pos=TRIMLV+
neg=TRIMLV-
step=190
switch=Virt1
value=100,0,0
[trim2]
src=RIGHT_V
pos=TRIMRV+
neg=TRIMRV-
value=-1,0,0
[trim3]
src=LEFT_H
pos=TRIMLH+
neg=TRIMLH-
[trim4]
src=RIGHT_H
pos=TRIMRH+
neg=TRIMRH-
[timer1]
src=AIL
[timer2]
type=countdown
src=THR
time=300
[timer3]
type=countdown
time=10
[safety]
Auto=min
[gui-128x64]
V-trim=59,10,1
H-trim=5,59,3
V-trim=65,10,2
H-trim=74,59,4
Small-box=2,22,Ch3
Small-box=2,31,Timer1
Small-box=2,40,Timer2
Model=75,20
Battery=102,1
Toggle=4,10,0,3,0,None
Toggle=13,10,0,5,0,None
Toggle=22,10,0,4,0,None
Toggle=31,10,0,0,0,None
Toggle=40,10,0,0,0,None
TxPower=102,7
quickpage1=Telemetry monitor
Please Log in or Create an account to join the conversation.
- ajtank
- Offline
- Posts: 278
Please Log in or Create an account to join the conversation.
- MikeNH
- Topic Author
- Offline
- Posts: 35
I'm now on to another LHI 250 Pro build but this time I'm going to use the Revolution controller and RTH as failsafe.
Once I learn more, I'd like to add to the documentation for enabling the virtual switches. Also, if the switch position can be displayed on the Devo 7e transmitter home page, that's also terrific. I look forward to being able to contribute in this way once I learn what I am doing.
Please Log in or Create an account to join the conversation.
- MikeNH
- Topic Author
- Offline
- Posts: 35
www.deviationtx.com/wiki/adding_3_positi...al_switch_to_devo_7e
I've also edited the "Getting Started" document to include a link to the Tutorials and How-To page.
Again, thanks for all the good work that has been bringing me great joy with these new and fun challenges.
Mike
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Just an advise: instead of taking pictures of the display you could use the emulator from which you can make snapshots with the print screen button...
Please Log in or Create an account to join the conversation.
- MikeNH
- Topic Author
- Offline
- Posts: 35
Please Log in or Create an account to join the conversation.
- Home
- Forum
- General
- General Discussions
- Devo 7e: 3 position switch to select 3 flight mode