RFC ToggleIcons: one icon per switch state

  • rbe2012
  • rbe2012's Avatar Topic Author
  • Offline
  • So much to do, so little time...
More
29 Jan 2013 10:45 #5709 by rbe2012
I am working on a method to show toggle icons which represent one switch state. They are all shown on the same screen position, one at a time, depending on the correlated switch state.
I make my development with Devo8 and the corresponding emulator, have not transferred it to the other tx. Now I may be a little late because Devo12 will change many things.
I have to mention that my english is not the best and I tend to tell things slightly too complicated. Please ask if something remains unclear.

This is what I have implemented yet:
  • a completely new page for the selection of two (for 2-state-switch) or three icons
  • showing max 32 icons from toggle.bmp
  • allow the icon pictures in the toggle.bmp be organized in more than one line (so the bmp-picture is not endlessly wide, makes it easier to modify for me)
  • allowing to use an invisible icon if wanted
  • shortened the list of usable switches (esp. MIX instead MIX0, MIX1 and MIX2; FMOD also; no inverting)
  • renaming of the switches with longer names for easier identifying (only a gimmick, may be useless)
  • saving up to 12 (old: 4 multiplied with new: 3 states per icon) toggle icon numbers in the model configuration (model*.ini)
  • restoring from model*.ini
  • showing the icons on the main page, hiding the not active ones
    • Here is a picture of the toggle icon select page (the icons are what I got without too much effort):

    And here is the switch selection:


    I would like to hear if you think this will be useful for others too and I should try to get it integrated in the official deViation development. I am also interested in any proposals for further enhancement.
    One thing is still open: compatibility between the model*.ini-files. Yet if a (standard) model config uses inverted switch states and is loaded and saved in a tx with this extension the inverting is gone. Also when using a model file with the new toggles it does not work as expected when a tx does not use this extension. I believe this can be corrected by a different scheme to save/restore the config but still needs some time for thinking about.

    My development is based on an earlier commit (be96db7, 1/10/2013), so it could be a challenge to integrate it in the actual sources, but I'll do my best...
Attachments:

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

More
29 Jan 2013 11:05 #5711 by FDR
Ah, now I see what did you mean in the point 6) in your other thread:
www.deviationtx.com/forum/7-development/...l-switches-for-mixer

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

More
29 Jan 2013 19:07 #5737 by PhracturedBlue
Replied by PhracturedBlue on topic RFC ToggleIcons: one icon per switch state
This looks pretty slick. I am definitely interested in seeing it integrated in Deviation.

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

More
30 Jan 2013 00:58 #5753 by Hexperience
Replied by Hexperience on topic RFC ToggleIcons: one icon per switch state
It looks fantastic, and I commend your efforts, the only thing is that when I'm flying I will look at the screen for only a split second. The icons are pretty small and I don't have time to think about them. Obviously great for quickly seeing the switch positions just before take off though.

Keep up the great work.

There are 10 types of people in this world. Those that understand binary and those that don't.

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

  • rbe2012
  • rbe2012's Avatar Topic Author
  • Offline
  • So much to do, so little time...
More
30 Jan 2013 06:36 - 30 Jan 2013 11:59 #5765 by rbe2012
Replied by rbe2012 on topic RFC ToggleIcons: one icon per switch state
Hex,
I know what you mean. But if you want: you can show one icon for FMOD0, two for FMOD1 and three for FMOD2 (or MIX...), so this might bring you an enhancement too...
I made this for me because now I can show four switch states on the screen. I use different colors like red-yellow-green which can be recognized quite fast. And I usually use it for controlling before flying, esp. when binding m mQx in +- or X-configuration with throttle hold.

PB,
I will try to extract the changes I have made for this in my local repo (I mixed it up with the vSwitches and other things). I would check these against the actual HEAD version. Do you recommend to create my own repo at bitbucket to make merging easier? EDIT: done (deviation-rbe)

All, suvsuv,
I am not really experienced with other tx than my Devo8. In the Devo10-emulator I have not seen such things like these toggle icons. Can anyone point me in the right direction? Have I overseen the toggles or do they not exist on Devo10 (and I assume also not on 7/7e)? I confess to that I am to lazy to look into the code atm if it is not useful.
Last edit: 30 Jan 2013 11:59 by rbe2012. Reason: own repo created

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

  • rbe2012
  • rbe2012's Avatar Topic Author
  • Offline
  • So much to do, so little time...
More
30 Jan 2013 13:51 #5789 by rbe2012
Replied by rbe2012 on topic RFC ToggleIcons: one icon per switch state
I have made the first quick manual merging of my code to the last revision. Some objects have changed, some functions and definitions went in other files.
It will take some time to get this sorted out and create a running version. Stay tuned.

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

More
30 Jan 2013 14:30 - 30 Jan 2013 14:31 #5795 by sbstnp
Replied by sbstnp on topic RFC ToggleIcons: one icon per switch state

rbe2012 wrote: I have made the first quick manual merging of my code to the last revision. Some objects have changed, some functions and definitions went in other files.
It will take some time to get this sorted out and create a running version. Stay tuned.


Once you have something done I can give a hand on Devo 10 and 7E side. It will be difficult since the resolution is low, but we can have a go at it.

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire
Last edit: 30 Jan 2013 14:31 by sbstnp.

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

  • rbe2012
  • rbe2012's Avatar Topic Author
  • Offline
  • So much to do, so little time...
More
30 Jan 2013 14:42 - 30 Jan 2013 14:43 #5797 by rbe2012
Replied by rbe2012 on topic RFC ToggleIcons: one icon per switch state
Thank you, I will take this chance later.
So: toggle icons or something similar are implemented in Devo10/7e now? I did not find them in the emulator. Or will we do this from scratch?
EDIT: i still use 2.1.1-emulator, no actual build - at least until this evening...
Last edit: 30 Jan 2013 14:43 by rbe2012.

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

More
30 Jan 2013 16:10 #5804 by Scream
Replied by Scream on topic RFC ToggleIcons: one icon per switch state
Gentlemen!

Its like you've read my mind! I was about to beg for this kinda feature, lol!

With only a devo 10 to speak of I'm not sure Icons will show up nicely ... while those new icons look amazing, without a touch screen the best improvement in functionality for us low-rez'ers would be the visual toggles.

Just like the current switch boxes, but please add a letter to it and use the current switch naming... example FMOD0 shows [F0],[F1],[F3].

IF you set if 4 trims to the outside, theres a lot of screen space where the two trims where (in the middle) to fit in some additions! That space plus the current row that shows the switches 1-4 should be enough space to show all of the switch positions on the main screen!

I think you developers are using the fancier devos, so this is just some feedback from the monochrome folk :)

As always, your efforts are greatly appreciated!

Cheers!
-=S=-

Cheers!
-=S=-

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

More
30 Jan 2013 16:34 #5805 by PhracturedBlue
Replied by PhracturedBlue on topic RFC ToggleIcons: one icon per switch state
The main problem with the monochrome screen (besides the resolution) is that it is ...monochrome. This means that it will be very hard to distinguish multiple icons in the same x/y coordinates. so the benefit of the devo8 will laregly be lost on the devo10.
However, that isn't to say there is no benefit. As Scream said, one option is just to allow more icons. The same applies on the devo8 when using 4 trims or when the graph isn't displayed. Likely you could get ~10 icons on the devo8 in certain configurations.
The devo12 will eventually have even more flexibility I'd guess.

Anyhow, for the topic at hand, I'll need to look at the code to give input on how to proceed for the devo10.

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

More
30 Jan 2013 17:24 - 30 Jan 2013 17:28 #5806 by sbstnp
Replied by sbstnp on topic RFC ToggleIcons: one icon per switch state
I have an alternate main screen for Devo 10 with smaller trim bars and moved around model name, power, protocol name and boxes that allows for a whole 12 pixel tall line just above the information boxes. That line might fit 6 to 8 monochrome icons for the toggles.

I don't see the icons having relative positions on a mono screen, they will most likely be fixed but hopefully they will be more than numbers (as they are now).

The screenshots attached is using different fonts, I'll have to check with 12normal and see how it looks. These are work in progress, but it is very difficult to work with such small resolution.

I'll probably have something a bit asymmetric, I hope people don't mind.




Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire
Attachments:
Last edit: 30 Jan 2013 17:28 by sbstnp.

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

More
30 Jan 2013 19:55 - 30 Jan 2013 19:56 #5813 by RandMental
Replied by RandMental on topic RFC ToggleIcons: one icon per switch state
Question:

Do we really need those trimbars?

I am only flying helis at this time, most being fbl where these trims are not used at all. I appreciate the fixed wing aircraft guys might need them, but should we not 'lose' them for heli modes? Alternatively make it a +/- number?

Having switch status on the screen rather than these trimbars would be my preferred option.
Last edit: 30 Jan 2013 19:56 by RandMental.

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

More
30 Jan 2013 20:11 - 30 Jan 2013 20:12 #5815 by sbstnp
Replied by sbstnp on topic RFC ToggleIcons: one icon per switch state

RandMental wrote: Question:

Do we really need those trimbars?



Good point. Now we have:

1. 4 trims inside
2. 4 trims outside
3. 6 trims

We can do:

4. No trims

I'll do some mockups this weekend. Need all the ideas you can give.

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire
Last edit: 30 Jan 2013 20:12 by sbstnp.

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

More
30 Jan 2013 20:54 #5817 by domcars0
Replied by domcars0 on topic RFC ToggleIcons: one icon per switch state

Scream wrote: Just like the current switch boxes, but please add a letter to it and use the current switch naming... example FMOD0 shows [F0],[F1],[F3].

Sunvsuv has worked on this for the next release... switches number will be replace by small configurable icons. Here are the icons choice:



Yes I know, they are nicer than the one on the Devo8 ;)

Devo 10 (+7e) owner. It's mine, please don't touch it with your big fingers :angry:
Attachments:

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

  • rbe2012
  • rbe2012's Avatar Topic Author
  • Offline
  • So much to do, so little time...
More
30 Jan 2013 21:21 - 30 Jan 2013 21:21 #5818 by rbe2012
Replied by rbe2012 on topic RFC ToggleIcons: one icon per switch state
To say it with PBs words: the problem is the monochrome screen. For two-way-switches a normal and a reversed icon seem to be distinguished good enough. What about the third (middle) state? I thougt about half normal, half inverted (e.g. diagonal divided, upper left normal, lower right inverse).
I am too old to see these little letters and numbers...
Last edit: 30 Jan 2013 21:21 by rbe2012.

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

More
30 Jan 2013 22:24 #5820 by domcars0
Replied by domcars0 on topic RFC ToggleIcons: one icon per switch state

rbe2012 wrote: For two-way-switches a normal and a reversed icon seem to be distinguished good enough.

This is not normal and a reversed icons you have to choose one icon for one switch state.

rbe2012 wrote: I am too old to see these little letters and numbers...

Do like me ... put glasses on your nose :blush: and let the children play ;)

Devo 10 (+7e) owner. It's mine, please don't touch it with your big fingers :angry:

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

  • rbe2012
  • rbe2012's Avatar Topic Author
  • Offline
  • So much to do, so little time...
More
31 Jan 2013 06:44 #5826 by rbe2012
Replied by rbe2012 on topic RFC ToggleIcons: one icon per switch state
Well I do both, but I have to set the birds up because she does not look at the tx at any time... B) and you know for that I have one of these cool shiny color things :whistle:

Ok, for showing one icon for on and another for off state is subject of my extension. I was thinking too fast and implementing too slow...
What would you wish when you could choose one icon for every switch state (esp. MIX/FMOD), displayed at the same location on screen?

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

More
31 Jan 2013 08:08 - 31 Jan 2013 08:09 #5829 by domcars0
Replied by domcars0 on topic RFC ToggleIcons: one icon per switch state

rbe2012 wrote: What would you wish when you could choose one icon for every switch state (esp. MIX/FMOD), displayed at the same location on screen?

I'm not sure that having different switch status icons on the same location is good. If we need to 'quickly' take a look on screen, you know that (particulary for people like us B) ) , it could be very difficult to see which icon it is.
I prefer just OFF/ON (no icon if OFF, icon if ON)... But it's just my thought (in very bad english :blink: ).

Devo 10 (+7e) owner. It's mine, please don't touch it with your big fingers :angry:
Last edit: 31 Jan 2013 08:09 by domcars0.

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

More
31 Jan 2013 11:04 #5832 by RandMental
Replied by RandMental on topic RFC ToggleIcons: one icon per switch state

What would you wish when you could choose one icon for every switch state (esp. MIX/FMOD), displayed at the same location on screen?


I support this idea from RBE2012 fro multiple status switches:
  1. Each switch has its own permanent location on the screen
  2. There is always an icon on that location
  3. The icon changes based on the switch state

For Example the 3 position FMOD switch:
FMOD0: Square with F0 text inside, thin outline
FMOD1: Square with F1 text inside, BOLD, Thick outline
FMOD2: Square with F2 text inside, Black Square white text

Switches with only one and off is shown as No Icon and Icon visible.

The ideal icon, as I belive we all agree, is one which does not have to be "read" once you know its "image", but it also gives the new user the info to know what it is.

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

  • rbe2012
  • rbe2012's Avatar Topic Author
  • Offline
  • So much to do, so little time...
More
31 Jan 2013 21:24 #5864 by rbe2012
Replied by rbe2012 on topic RFC ToggleIcons: one icon per switch state
Yeah, it is done (for Devo8).
That was quite a hard work because so much has changed with gui objects, but now everything works as before.
Whoever wants to test it, can download it from my repo deviation-rbe . I have tested the Devo8 and emu_devo8. I will write some short instructions tomorrow.
Only this: there is a new file media/invisibl.bmp which should be copied to your tx (used for invisible icons, maybe a bad workaround but functional).
Now you can take a look to the source code. Maybe I have taken a completely wrong direction somewhere. Please point me right...

I hope you enjoy it.

We can talk about the other tx later...

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

Time to create page: 0.155 seconds
Powered by Kunena Forum