- Posts: 3333
Ultimate Devo F12E (devof12e-XMS) builds
- vlad_vy
-
Topic Author
- Offline
Less
More
22 Feb 2018 06:42 - 22 Feb 2018 07:05 #67677
by vlad_vy
Example with a drawn background:
< >
We need to do it configurable -> background color and header color. Now it has fixed colors:
Replied by vlad_vy on topic Ultimate Devo F12E (devof12e-XMS) builds
FDR wrote: Nice!
Probably we should play with a drawn background, or at least use a one pixel wide image and stretch that...
Example with a drawn background:
< >
We need to do it configurable -> background color and header color. Now it has fixed colors:
void _gui_draw_background(int x, int y, int w, int h)
{
#ifdef _DEVO12_XMS_TARGET_H_
if(y + h < 32) {
LCD_FillRect(x, y, w, h, RGB888_to_RGB565(0x80, 0x80, 0x80));
} else if(y >= 32) {
LCD_FillRect(x, y, w, h, RGB888_to_RGB565(0x90, 0xc0, 0xe0));
} else {
LCD_FillRect(x, y, w, h, RGB888_to_RGB565(0x90, 0xc0, 0xe0));
LCD_FillRect(x, y, w, 32 - y, RGB888_to_RGB565(0x80, 0x80, 0x80));
}
#else
LCD_DrawWindowedImageFromFile(x, y, "media/backgrnd" IMG_EXT, w, h, x, y);
#endif
}
Last edit: 22 Feb 2018 07:05 by vlad_vy.
- FDR
-
- Offline
22 Feb 2018 07:16 #67679
by FDR
Replied by FDR on topic Ultimate Devo F12E (devof12e-XMS) builds
Fine.
Is it remarkably faster that way?
Is it remarkably faster that way?
- FDR
-
- Offline
22 Feb 2018 07:19 #67680
by FDR
Replied by FDR on topic Ultimate Devo F12E (devof12e-XMS) builds
Actually I feel this slow refresh even on my DEVO 8, so it might be a generic solution for all color transmitters, but it would be great if it was a configurable option...
- vlad_vy
-
Topic Author
- Offline
Less
More
- Posts: 3333
22 Feb 2018 07:41 #67681
by vlad_vy
I will test it today.
Replied by vlad_vy on topic Ultimate Devo F12E (devof12e-XMS) builds
FDR wrote: Fine.
Is it remarkably faster that way?
I will test it today.
- vlad_vy
-
Topic Author
- Offline
Less
More
- Posts: 3333
22 Feb 2018 09:55 - 22 Feb 2018 09:57 #67683
by vlad_vy
Replied by vlad_vy on topic Ultimate Devo F12E (devof12e-XMS) builds
Now with v5.0.0 build I can select and configure the display background (image or drawn background):
With some code changes and "config.ini" values:
With some code changes and "config.ini" values:
[background]
drawn_background=1
bg_color=90C0E0
hd_color=808080
Last edit: 22 Feb 2018 09:57 by vlad_vy.
- FDR
-
- Offline
22 Feb 2018 10:10 #67684
by FDR
Replied by FDR on topic Ultimate Devo F12E (devof12e-XMS) builds
Cool!
Could you test the speed difference?
Could you test the speed difference?
- vlad_vy
-
Topic Author
- Offline
Less
More
- Posts: 3333
22 Feb 2018 10:25 - 22 Feb 2018 10:32 #67686
by vlad_vy
Replied by vlad_vy on topic Ultimate Devo F12E (devof12e-XMS) builds
Last edit: 22 Feb 2018 10:32 by vlad_vy.
- FDR
-
- Offline
22 Feb 2018 10:40 #67688
by FDR
Replied by FDR on topic Ultimate Devo F12E (devof12e-XMS) builds
Actually it's hard to measure. Probably the best way would be counting video frames from the beginning of the refresh till the end, but I'm more interested in the "feel"
- FDR
-
- Offline
22 Feb 2018 10:41 #67689
by FDR
Replied by FDR on topic Ultimate Devo F12E (devof12e-XMS) builds
...or with some code change you could log the time spent...
- vlad_vy
-
Topic Author
- Offline
Less
More
- Posts: 3333
22 Feb 2018 13:13 #67691
by vlad_vy
Replied by vlad_vy on topic Ultimate Devo F12E (devof12e-XMS) builds
About GUI speed with drawn background:
1. devo12-XMS - background draw much faster than normal devo12, I think it even slightly faster or equal to devo8 with image background. At least, now the background draw faster than all GUI objects on a page. It's only brief fraction of a second.
2. devo8 - background draw almost instantly, I can't see this moment. The whole GUI works instantly.
1. devo12-XMS - background draw much faster than normal devo12, I think it even slightly faster or equal to devo8 with image background. At least, now the background draw faster than all GUI objects on a page. It's only brief fraction of a second.
2. devo8 - background draw almost instantly, I can't see this moment. The whole GUI works instantly.
- FDR
-
- Offline
- vlad_vy
-
Topic Author
- Offline
Less
More
- Posts: 3333
22 Feb 2018 14:44 - 23 Feb 2018 11:04 #67694
by vlad_vy
Replied by vlad_vy on topic Ultimate Devo F12E (devof12e-XMS) builds
* Add selectable and configurable drawn background.
"devo12-XMS" based on nightly builds:
(22-02-2018)
File deleted, see below...
You can select to draw background instead a background image for color GUI. This will greatly speed up the drawing of the pages. You can set header color and background color. The settings are in "config.ini" file. By default used background image.
[background]
drawn_background=0
bg_color=50A0D8
hd_color=707070"devo12-XMS" based on nightly builds:
(22-02-2018)
File deleted, see below...
Last edit: 23 Feb 2018 11:04 by vlad_vy.
- vlad_vy
-
Topic Author
- Offline
Less
More
- Posts: 3333
22 Feb 2018 15:55 - 22 Feb 2018 15:56 #67696
by vlad_vy
Replied by vlad_vy on topic Ultimate Devo F12E (devof12e-XMS) builds
Optimized draw background. It work slightly faster and page update looks more smooth.
"devo12-XMS" build updated.
"devo12-XMS" build updated.
Last edit: 22 Feb 2018 15:56 by vlad_vy.
- vlad_vy
-
Topic Author
- Offline
Less
More
- Posts: 3333
23 Feb 2018 11:04 - 24 Feb 2018 07:59 #67706
by vlad_vy
Replied by vlad_vy on topic Ultimate Devo F12E (devof12e-XMS) builds
Last edit: 24 Feb 2018 07:59 by vlad_vy.
- Bisky
-
- Offline
Less
More
- Posts: 89
23 Feb 2018 15:21 #67712
by Bisky
Ultimate 7E + range mod + 3x2 switch mod + 3in1 module
Devo F7 XMS + 4in1 module
Replied by Bisky on topic Ultimate Devo F12E (devof12e-XMS) builds
I heave mode1 setings, when i Switch on my F7 it says throtle not idile position and I heave to move the left, not the right stick wich is allrady ideile. After I move the left stick down the massage goes away and my right stick is throttle channel...
Ultimate 7E + range mod + 3x2 switch mod + 3in1 module
Devo F7 XMS + 4in1 module
- vlad_vy
-
Topic Author
- Offline
Less
More
- Posts: 3333
24 Feb 2018 08:01 - 26 Feb 2018 07:24 #67731
by vlad_vy
* Fix color GUI "Voice config" page
* Set drawn background as default for devo12-XMS
"devo12-XMS" based on nightly builds:
(24-02-2018)
File deleted, see below...
Replied by vlad_vy on topic Ultimate Devo F12E (devof12e-XMS) builds
* Fix color GUI "Voice config" page
* Set drawn background as default for devo12-XMS
"devo12-XMS" based on nightly builds:
(24-02-2018)
File deleted, see below...
Last edit: 26 Feb 2018 07:24 by vlad_vy.
- M8A4X
-
- Offline
- M8A4X
Less
More
- Posts: 103
24 Feb 2018 08:06 - 24 Feb 2018 08:07 #67732
by M8A4X
Replied by M8A4X on topic Ultimate Devo F12E (devof12e-XMS) builds
Hi Bisky!
Have you selected "Mode 1" in Transmitter menu-->Transmitter config-->Stick mode-->Mode 1 ?
Have you selected "Mode 1" in Transmitter menu-->Transmitter config-->Stick mode-->Mode 1 ?
Last edit: 24 Feb 2018 08:07 by M8A4X.
- Bisky
-
- Offline
Less
More
- Posts: 89
24 Feb 2018 08:25 #67733
by Bisky
Yes...
Ultimate 7E + range mod + 3x2 switch mod + 3in1 module
Devo F7 XMS + 4in1 module
Replied by Bisky on topic Ultimate Devo F12E (devof12e-XMS) builds
M8A4X wrote: Hi Bisky!
Have you selected "Mode 1" in Transmitter menu-->Transmitter config-->Stick mode-->Mode 1 ?
Yes...
Ultimate 7E + range mod + 3x2 switch mod + 3in1 module
Devo F7 XMS + 4in1 module
- vlad_vy
-
Topic Author
- Offline
Less
More
- Posts: 3333
24 Feb 2018 08:34 - 24 Feb 2018 08:36 #67734
by vlad_vy
Replied by vlad_vy on topic Ultimate Devo F12E (devof12e-XMS) builds
Remove at model config "Auto=min" if you don't like throttle safety warning, or change to: "none", "min", "zero", "max"
...
[safety]
Auto=min
...
...
[safety]
Auto=min
...
Last edit: 24 Feb 2018 08:36 by vlad_vy.
- M8A4X
-
- Offline
- M8A4X
Less
More
- Posts: 103
24 Feb 2018 11:00 - 24 Feb 2018 11:01 #67735
by M8A4X
Replied by M8A4X on topic Ultimate Devo F12E (devof12e-XMS) builds
@Bisky: The only way I can reproduce the behaviour of your F7 is to change the channel mapping in the mixers menu, but on my F12E/12S (Mode 2, but tested Mode 1,3,4) it is always CH3 which is shown in the alert screen, not channel 1.
BTW: the names of the channels in the remapping-screen do not represent the current selected mapping. You have to remember your current setting and shift them "blind". E.g. if 1. is RUD and you want to move it down, you have to select "1.Ail" and move it down.
Or maybe I am missing the logic behind it...
@Vlad_vy: I flashed your latest FW but my 12S seems still to be loading the background.img. The grey menu "headline" has this "fading" from dark to light grey. Do we have to enable the drawn background somewhere?
BTW: the names of the channels in the remapping-screen do not represent the current selected mapping. You have to remember your current setting and shift them "blind". E.g. if 1. is RUD and you want to move it down, you have to select "1.Ail" and move it down.
Or maybe I am missing the logic behind it...
@Vlad_vy: I flashed your latest FW but my 12S seems still to be loading the background.img. The grey menu "headline" has this "fading" from dark to light grey. Do we have to enable the drawn background somewhere?
Last edit: 24 Feb 2018 11:01 by M8A4X.
Time to create page: 0.295 seconds
-
Home
-
Forum
-
Development
-
Builds
- Ultimate Devo F12E (devof12e-XMS) builds