GUI
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Simply name them left vertical, left horizontal, right vertical, right horizontal...PhracturedBlue wrote: 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.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
(Most of them are about default values...)
Model name title should contain the index of the model, so if the name is empty (or duplicated) it could be identifyed. Now if it is empty, on the main page nothing indicates where to click to select a model.
We could even give a default name the them, when an empty model is loaded: Model1, Model2, etc...
After selecting an empty model from the main page, it returns to the main page, but both the main page and the whole model config is empty. It has no sense. IMO in this case we should immediately show the model setup page, so we can name the model, load a template, or configure the settings like protocol and channel...
I think the order of the model config values would be more logical in the order of importance: model name (could have a default, like I said above), protocol (if it would have a default, I would assign it to DEVO, but it may stay none), number of channels (1 has no sense as a default value, I would change it to 4), mode (hard to say which would be the better default: I would like mode 2, but YMMV), model type, tx power (should default to max to be on the safe side), fixed id.
The main page config should have defaults too!
I would show the maximum potential, which can be guessed:
At least the trims (I would default it to the original, i.e. 6 trims); the bars could show all the 8, since they will disappear anyway if there will something take it's space; box 1 could set to the default channel of the throttle (it's tricky a little bit, because it supposes, that the protocol is set. one more reason to give the protocol a default instead of none); the box 2 could be timer 1; toggles could stay empty, but I'm open to some nice defaults ; but the bar values definitely should default to ch1-8.
I miss the telemetry channels from the box source list!
You can say, that these defaults might be loaded from the templates, but I think they should be set without templates as well...
One more thing about the model config page: the file box should contain a reset/clear/delete option too...
The 4ch+DR template is weird (at least with the DEVO protocol selected): it doesn't add DR to the elev channel, but adds to the throttle channel, where while no switch is selected, on the mixer list it shows RUDD DR as the second switch. (That page often show false results: for example it usually doesn't show none as the source, but sometimes it does...)
The 6ch airplane and helicopter templates don't seem to do anything...
Please Log in or Create an account to join the conversation.
- FDR
- Offline
How to do it on Windows?PhracturedBlue wrote: It should autosave the model and tx file when you quit normally (using '\')
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- FDR
- Offline
I would like a "prev page" button too on the header...
Their icon could be more obvious, something like:
|< >|
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
There are no defaults. You cannot load one of the 'NONE' models on the Devo. That is because my filesystem implementation doesn't let you create a new file.
Anyhow. I improved the build system so this shouldn't be an issue any more.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Use backslash: '\'FDR wrote:
How to do it on Windows?PhracturedBlue wrote: It should autosave the model and tx file when you quit normally (using '\')
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I purposefully didn't add one. I don't think there are enough pages to warrant it, and adding extraneous buttons makes navigating with the mechanical-buttons more onerous.FDR wrote: Do you want more?
I would like a "prev page" button too on the header...
Their icon could be more obvious, something like:|< >|
I could be persuaded I guess.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
+ Copying template files
/bin/sh: filesystem/models/model1.ini: No such file or directory
make: *** [filesystem/models/model30.ini] Error 1
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I can't really do anything about that without completely rewriting the widget. The GUI code has no way to know if a press will have any effect, so can't choose to draw the widget differently when it won'tFDR wrote: I don't really like that the clickable textselects shows the button even when it doesn't do anything on a click. For example a source select, which inverts the source if one is selected, but if none selected, then you click it to no avail...
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Well, it could know, if you let it know somehow: for example there is the callback, that returns the text on it. Then you know, when it is none, then it won't be clickable, so there you might "disable" the button, i.e. draw a simple text background instead...PhracturedBlue wrote:
I can't really do anything about that without completely rewriting the widget. The GUI code has no way to know if a press will have any effect, so can't choose to draw the widget differently when it won'tFDR wrote: I don't really like that the clickable textselects shows the button even when it doesn't do anything on a click. For example a source select, which inverts the source if one is selected, but if none selected, then you click it to no avail...
I know, that it doesn't work like that, but it is doable in the future, isnt't it?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
As I said...I need to rewrite the text-select widget to be able to do that. Yes it is doable. I'll think about it.FDR wrote: Well, it could know, if you let it know somehow: for example there is the callback, that returns the text on it. Then you know, when it is none, then it won't be clickable, so there you might "disable" the button, i.e. draw a simple text background instead...
I know, that it doesn't work like that, but it is doable in the future, isnt't it?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
should be fixedFDR wrote: A new compile error:
+ Copying template files /bin/sh: filesystem/models/model1.ini: No such file or directory make: *** [filesystem/models/model30.ini] Error 1
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Yep, it's good now...PhracturedBlue wrote: should be fixed
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Well, I jumped to conclusions here. I gave it some more thought, and found an easy fix. So they should all now behave as you wanted. If you see any that don't let me know, since I had to modify each callback and may have missed a couple.PhracturedBlue wrote:
As I said...I need to rewrite the text-select widget to be able to do that. Yes it is doable. I'll think about it.FDR wrote: Well, it could know, if you let it know somehow: for example there is the callback, that returns the text on it. Then you know, when it is none, then it won't be clickable, so there you might "disable" the button, i.e. draw a simple text background instead...
I know, that it doesn't work like that, but it is doable in the future, isnt't it?
Please Log in or Create an account to join the conversation.
- FDR
- Offline
PhracturedBlue wrote: Well, I jumped to conclusions here. I gave it some more thought, and found an easy fix. So they should all now behave as you wanted. If you see any that don't let me know, since I had to modify each callback and may have missed a couple.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
I wouldn't bother handling the paging butons with the keyboard, since the left/right buttons do the same.PhracturedBlue wrote:
I purposefully didn't add one. I don't think there are enough pages to warrant it, and adding extraneous buttons makes navigating with the mechanical-buttons more onerous.FDR wrote: I would like a "prev page" button too on the header...
Their icon could be more obvious, something like:|< >|
Can those buttons be left out of tab sequence?
If you could do the long esc, then I think the exit button could be out of tab order too. (Actually it could react to the simple esc too, but it would be a bit confusing...)
That way the first control would be the one below the header...
However if those buttons have to be in the tab sequence, it would be better if they were the last, so the first selected control would still be the first one below the header, and I could continue from there either up to the header buttons or down to the other controls as I wish...
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
You'll get it when I implement telemetryI miss the telemetry channels from the box source list!
Because I haven't filled them in yet . I want to get the 1st 2 worked out before implementing moreThe 6ch airplane and helicopter templates don't seem to do anything...
Please Log in or Create an account to join the conversation.