About the Simplified GUI

More
13 Dec 2012 07:05 - 13 Dec 2012 08:47 #3979 by suvsuv
About the Simplified GUI was created by suvsuv
As the name of "Simplified GUI" indicates, this stuff is nothing new but just a GUI-extension, however it shows that the Deviation platform is flexible enough to provide Spectrum/JR/Walkera-like configuration layout without too many changes.
Goals:
1) To give users flexibility to configure their devo TXes in commercial TX style, such as Spectrum, JR and Walkera, and reduce learning curves for using Deviation.
2) Not change any existing mixer logic
3) Allow users to switch freely between existing style of mixer configuration(aka Advanced GUI), and Spectrum/JR/Walkera-style(aka Simplfied GUI) configuration
4) The model files can be shared among any deviation TXes even flashed with earlier versions.
5) No Save buttons in any Simplified GUI pages, all change is saved in live
Non Goals:
To satisfied all parties and provide universal template for all kinds of planes.

Current status
1) It supports 1-servo/3-servo Flybar/FBL Helis
2) It is only available to devo10, and could be easily ported to devo8.
3) In terms of reliability, it should in the same level as the latest build from PB's repo as I have the repo synced with PB's all the time.
4) The current build should be sufficient to configure a devo10 to fly with Mcpx, Minicp, NanoCP, 120CP, 250. There will be further improvement in switch assignments, program mix, etc.

How it works: When a new modle is switched from Advanced GUI mode to Simplified GUI mode, the tradheli.ini will be loaded as template to establish a CCPM-style modle. You can checkout attached tradheli.ini to understand the template.

FAQ:
A)Can the Mixer page displays in Simplified GUI
Q) Yes, it can. I on purposely hide the Mixer as it is so powerful that many new users are confused with it. But you can still use the Mixer page by setting it as a quick-page item.

A) What happens if I configure a model in Simplified GUI and then switch the TX to the Advanced GUI
Q) Nothing bad happens :) , you can configure the model with the Powerful mixer provided by Mr. PB.

A) Can I switch back to Simplified GUI ?
Q) The codes will do some validation to make sure the model doesn't break certain rules. If the model still follow the rules, it will switch to Simplified GUI without any prompts. Otherwise, you will see a warning dialog indicating that the current model is not able to be configured with Simplified GUI, if you choose OK, the model will be reset with the Tradheli.ini template, if you choose Cancel, the model remains no changes and the TX stays in Advanced GUI mode
Attachments:
Last edit: 13 Dec 2012 08:47 by FDR. Reason: typo in the title

Please Log in or Create an account to join the conversation.

More
13 Dec 2012 07:10 #3980 by suvsuv
Replied by suvsuv on topic About the Simlified GUI
This forum doesn't allow upload of large size file. So I put the lastest version of emulator and dfu in the rcgroup forum:
www.rcgroups.com/forums/showpost.php?p=23515072&postcount=118

Please Log in or Create an account to join the conversation.

More
13 Dec 2012 07:15 #3981 by suvsuv
Replied by suvsuv on topic About the Simlified GUI
Below is a sample model file to show what the output is from the Simplified GUI. I used it to fly my Mcpx with devo10, and it definitely can be used in devo8 even though its deviation doesn't support the Simplified GUI at this moment.

name=mcpx
mixermode=1
is_scalarneg_supported=1
[radio]
protocol=DSM2
num_channels=7
fixed_id=333
tx_power=100mW

[channel1]
safetysw=RUD DR
safetyval=-100
template=complex
[mixer]
src=THR
dest=Ch1
curvetype=9point
points=-100,-26,17,30,44,58,72,86,100
[mixer]
src=THR
dest=Ch1
switch=FMODE1
curvetype=9point
points=80,80,80,80,80,80,80,80,80
[mixer]
src=THR
dest=Ch1
switch=FMODE2
curvetype=9point
points=-100,-61,-29,3,35,51,67,83,100

[channel2]
template=cyclic1

[channel3]
template=cyclic2

[channel4]
template=expo_dr
[mixer]
src=RUD
dest=Ch4
curvetype=expo
points=0,0
[mixer]
src=RUD
dest=Ch4
switch=FMODE1
curvetype=expo
points=0,0
[mixer]
src=RUD
dest=Ch4
switch=FMODE2
curvetype=expo
points=0,0

[channel6]
subtrim=285
scalar=80
scalar-=-90
template=cyclic3

[channel7]
template=expo_dr
[mixer]
src=MIX0
dest=Ch7
scalar=40
usetrim=0
curvetype=fixed
[mixer]
src=MIX0
dest=Ch7
switch=MIX1
scalar=0
usetrim=0
curvetype=fixed
[mixer]
src=MIX0
dest=Ch7
switch=MIX2
scalar=-100
usetrim=0
curvetype=fixed

[virtchan1]
template=complex
[mixer]
src=AIL
dest=Virt1
switch=FMODE0
curvetype=expo
points=60,60
[mixer]
src=AIL
dest=Virt1
switch=FMODE1
curvetype=expo
points=60,60
[mixer]
src=AIL
dest=Virt1
switch=FMODE2
usetrim=0
curvetype=expo
points=0,0

[virtchan2]
template=complex
[mixer]
src=ELE
dest=Virt2
switch=FMODE0
curvetype=expo
points=60,60
[mixer]
src=ELE
dest=Virt2
switch=FMODE1
curvetype=expo
points=60,60
[mixer]
src=ELE
dest=Virt2
switch=FMODE2
usetrim=0
curvetype=expo
points=0,0

[virtchan3]
template=complex
[mixer]
src=THR
dest=Virt3
switch=FMODE0
curvetype=9point
points=-35,-27,-18,-9,0,25,50,75,100
[mixer]
src=THR
dest=Virt3
switch=FMODE1
curvetype=9point
points=-100,-75,-50,-25,0,25,50,75,100
[mixer]
src=THR
dest=Virt3
switch=FMODE2
curvetype=9point
points=-100,-75,-50,-25,0,25,50,75,100

[trim1]
src=LEFT_V
pos=TRIMLV+
neg=TRIMLV-
[trim2]
src=RIGHT_V
pos=TRIMRV+
neg=TRIMRV-
[trim3]
src=LEFT_H
pos=TRIMLH+
neg=TRIMLH-
[trim4]
src=RIGHT_H
pos=TRIMRH+
neg=TRIMRH-
[timer1]
type=countdown
src=Ch1
time=180
[timer2]
src=Ch1
[safety]
Auto=min
[gui-qvga]
trim=4in
barsize=half
box1=Ch1
box2=Timer1
box3=Timer2
bar1=Ch1
bar2=Ch2
bar3=Ch3
bar4=Ch4
toggle1=ELE DR
tglico1=1
toggle2=AIL DR
toggle3=RUD DR
tglico3=2
toggle4=GEAR
tglico4=4

Please Log in or Create an account to join the conversation.

Time to create page: 0.034 seconds
Powered by Kunena Forum