GUI

More
27 Jul 2012 20:02 - 27 Jul 2012 20:02 #731 by PhracturedBlue
Replied by PhracturedBlue on topic Re: GUI

FDR wrote:

PhracturedBlue wrote:

We have lost the possibility to invert the source with using the push for selecting the icon...

yep. probably if you want the toggle to be inverted, you define a virtual channel and use that. the toggle supports using raw stick/switch input or the output channel, so it is flexible enough, if not particularly convenient. I suppose I could use a short-press to toggle and a long-press to enter the icon selector, but that would probably be confusing too.

...or make them dual controls, so in the usual way you can invert the value, and a plus button for the icon select... ;)

We're basically out of room unless we go to a 3rd page for the toggle controls.
Last edit: 27 Jul 2012 20:02 by PhracturedBlue.

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

More
27 Jul 2012 20:17 #732 by FDR
Replied by FDR on topic Re: GUI

PhracturedBlue wrote: We're basically out of room unless we go to a 3rd page for the toggle controls.

Yep. :)

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

More
27 Jul 2012 20:30 - 27 Jul 2012 20:30 #733 by PhracturedBlue
Replied by PhracturedBlue on topic Re: GUI

FDR wrote:

PhracturedBlue wrote: We're basically out of room unless we go to a 3rd page for the toggle controls.

Yep. :)

Well, i found some room, so there ya go :)
Anything else you think we should do to the main-page/config? otherwise I'll probably start work on the model templates
Last edit: 27 Jul 2012 20:30 by PhracturedBlue.

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

More
27 Jul 2012 20:37 #734 by FDR
Replied by FDR on topic Re: GUI

PhracturedBlue wrote: Well, i found some room, so there ya go :)
Anything else you think we should do to the main-page/config? otherwise I'll probably start work on the model templates

Cool.
I think it is enough for the prime time, so you may concentrate on other tings...

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

More
28 Jul 2012 05:41 #735 by PhracturedBlue
Replied by PhracturedBlue on topic Re: GUI
Well, I've now implemented the initial template code. If you select the model page, you can select 'Template' from the File spinbox.
From there you'll get a list of predefined templates.
So far I've only implemented the 4ch-simple and 4ch-dual-rates templates to make sure it works as expected.
Let me know what you think.

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

More
28 Jul 2012 08:13 #736 by FDR
Replied by FDR on topic Re: GUI
Compile error:
+ Building 'emu_devo8.exe'
objs/emu_devo8-w32/model_page.o: In function `file_press_cb':
C:\MinGW\msys\1.0\home\FDR\src\deviation\src/pages/model_page.c:198: undefined r
eference to `MODELPage_Template'
collect2: ld returned 1 exit status
make: *** [emu_devo8.exe] Error 1

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

More
28 Jul 2012 12:37 #737 by PhracturedBlue
Replied by PhracturedBlue on topic Re: GUI
oops. Fixed

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

More
28 Jul 2012 20:03 #738 by FDR
Replied by FDR on topic Re: GUI
Crash:
- Load an empty model;
- Click on the model image -> crash...

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

More
28 Jul 2012 20:27 #739 by FDR
Replied by FDR on topic Re: GUI
Changed the tab order of the main page config's box and bar values.

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

More
28 Jul 2012 20:29 #740 by PhracturedBlue
Replied by PhracturedBlue on topic Re: GUI

FDR wrote: Crash:
- Load an empty model;
- Click on the model image -> crash...


fixed

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

More
29 Jul 2012 18:27 #741 by FDR
Replied by FDR on topic Re: GUI
I'm back.

It seems that trim steps are not equal on the graph and in the calculated value.
I've set the step to 0.1, so it caused 1% throttle value change in every 10 clicks, however 10 clicks goes throw the half of the trim graphs on the main page.

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

More
29 Jul 2012 18:32 #742 by PhracturedBlue
Replied by PhracturedBlue on topic Re: GUI

FDR wrote: I'm back.

It seems that trim steps are not equal on the graph and in the calculated value.
I've set the step to 0.1, so it caused 1% throttle value change in every 10 clicks, however 10 clicks goes throw the half of the trim graphs on the main page.

That is on purpose. the trim postion is -10 clicks to 10 clicks. So the max trim adjustment is 10 * trim-step
I'm open to other ideas on how it should work though.

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

More
29 Jul 2012 18:40 #743 by FDR
Replied by FDR on topic Re: GUI

PhracturedBlue wrote:

FDR wrote: I'm back.

It seems that trim steps are not equal on the graph and in the calculated value.
I've set the step to 0.1, so it caused 1% throttle value change in every 10 clicks, however 10 clicks goes throw the half of the trim graphs on the main page.

That is on purpose. the trim postion is -10 clicks to 10 clicks. So the max trim adjustment is 10 * trim-step
I'm open to other ideas on how it should work though.

I think that won't be enough.
Remember the original has +-12% range, the older 2402 has +-100%.
In this way if I set the step to 0.1, I would have only +-1% range...

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

More
29 Jul 2012 18:48 #744 by PhracturedBlue
Replied by PhracturedBlue on topic Re: GUI

FDR wrote:

PhracturedBlue wrote:

FDR wrote: I'm back.

It seems that trim steps are not equal on the graph and in the calculated value.
I've set the step to 0.1, so it caused 1% throttle value change in every 10 clicks, however 10 clicks goes throw the half of the trim graphs on the main page.

That is on purpose. the trim postion is -10 clicks to 10 clicks. So the max trim adjustment is 10 * trim-step
I'm open to other ideas on how it should work though.

I think that won't be enough.
Remember the original has +-12% range, the older 2402 has +-100%.
In this way if I set the step to 0.1, I would have only +-1% range...

My concern is that there is no way to quickly zero out the trims. Maybe I can support +/-100 levels of granularity (rather than +/-10), and have a long-press on the trim be 10x a single press.

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

More
29 Jul 2012 19:07 #745 by PhracturedBlue
Replied by PhracturedBlue on topic Re: GUI
Okay. I did as I suggested. see if that helps.

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

More
29 Jul 2012 19:25 #746 by FDR
Replied by FDR on topic Re: GUI
I like it!

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

More
29 Jul 2012 20:05 - 29 Jul 2012 20:05 #747 by PhracturedBlue
Replied by PhracturedBlue on topic Re: GUI

FDR wrote: I like it!

I'm basically done with my original todo list. So I'm definitely interested in any issues you see. Besides replacing the icons, the only thing I have left to do before releasing the emulator is to figure out how to save Tx settings on power-off.

I updated the emulator input/output display to be more intuitive. Note that the labels do not reflect the tx-mode (they are labeled for Mode-1). I don't know how to fix that, since I need to define the strings before I know the Tx mode, and can't change the strings once they are created.
Last edit: 29 Jul 2012 20:05 by PhracturedBlue.

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

More
29 Jul 2012 20:10 #748 by FDR
Replied by FDR on topic Re: GUI
OK, I will take a look, but probably only tomorrow, because it is bedtime now and I had a tiring day...

I did some minor retouching on the main page config, for example renamed list items of the bars select to be consistent with the second page, etc...

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

More
30 Jul 2012 05:25 #749 by FDR
Replied by FDR on topic Re: GUI
Compile error:
+ Compiling 'radio.c'
cc.exe: error: radio.c: No such file or directory
cc.exe: fatal error: no input files
compilation terminated.
make: *** [objs/emu_devo8-w32/radio.o] Error 1

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

More
30 Jul 2012 05:36 #750 by PhracturedBlue
Replied by PhracturedBlue on topic Re: GUI
I just committed the code to write the tx configuration. I moved the 'models' and 'media' dirs into a subdirectiory called 'filesystem'. I also renamed a few files. you may need to remove the 'obj' dir to get it to compile properly.

It should autosave the model and tx file when you quit normally (using '\')

Let me know if you see any issues.

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

Time to create page: 0.132 seconds
Powered by Kunena Forum