OpenXsensor Configurator

Development & General Chat for the superb openxvario project.

Moderator: rainer

Post Reply
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

OpenXsensor Configurator

Post by davx »

Hi,

A little subject about an OXS config file generator utility, developed (still not really) in the processing environment.

It's just a start, there is nothing more to show than this image:
OXS_conf_01.jpg
But, I think it's doable ! (how much time it will take, that is another story :mrgreen: )

Stay tuned ;)

mstrens
Posts: 1435
Joined: Fri Dec 27, 2013 7:49 pm
Country: -

Re: OpenXsensor Configurator

Post by mstrens »

@davx,
let me know when you need some help.
User avatar
Tempo
Posts: 83
Joined: Tue Feb 04, 2014 4:04 pm
Country: -

Re: OpenXsensor Configurator

Post by Tempo »

Very good idea ! Keep up the good work !
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXsensor Configurator

Post by davx »

mstrens wrote:@davx,
let me know when you need some help.
Ok, thanks.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXsensor Configurator

Post by jhsa »

Im patient. ;) :) thanks..
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXsensor Configurator

Post by jhsa »

I just saw the picture now as before i was on my phone and it didn't display.. It looks really good..

Thank you.

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXsensor Configurator

Post by davx »

Hi,

Some progresses...
OXS_conf_02.jpg
User avatar
MikeB
9x Developer
Posts: 17979
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: OpenXsensor Configurator

Post by MikeB »

Nice! (BTW it's Protocol not Portocol). I'm sure my keyboard (USB) sends keys in the wrong order!

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXsensor Configurator

Post by jhsa »

Looking great, really. Im not just saying ;)
One thing though. Don't forget we can use the analog ports from the arduino for whatever sensor we might need. Not only those. So, maybe in sensors a field called "other" or something similar.. Just an idea.. we could for example have some feedback from the plane using a pot, optical sensor, etc, to sense a position for example. We could also use switches on the digital pins to sense end points or other positions.

OFF TOPIC - I wonder if the frsky protocol could be extended to add more fields. As long as the radio fw allows for it, it should be possible?

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXsensor Configurator

Post by davx »

Thanks guys !
MikeB wrote:Nice! (BTW it's Protocol not Portocol)..
Oh yes :mrgreen: I'm sure there will be some more... (and my keyboard is not USB, must be something else)

Will you find the one on the first screen ? ;)

jhsa wrote:Looking great, really. Im not just saying ;)
One thing though. Don't forget we can use the analog ports from the arduino for whatever sensor we might need.
Whatever the thing we connect to an analog port, it is voltage, so when it will be there, the VOLTAGE Tab will let you do what you're talking about.
This first tab is just activating the different processes, it's done this way to facilitate the config file writing later.

Bye
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXsensor Configurator

Post by davx »

Hi,

A little update :
OXS_conf_03.jpg
Not much news to see, the majority of work is not visible, but it's progressing nicely ;)

Bye.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXsensor Configurator

Post by jhsa »

Looking very good. Thank you..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
mstrens
Posts: 1435
Joined: Fri Dec 27, 2013 7:49 pm
Country: -

Re: OpenXsensor Configurator

Post by mstrens »

davx wrote:Hi,

A little update :
OXS_conf_03.jpg
Not much news to see, the majority of work is not visible, but it's progressing nicely ;)

Bye.
@davx
It looks like the user could click directly on the button "Write config" whitout filling the tabs.

I think it is better using a process like when you install a program: the user have to go throught several screens before he can finish. At any steps, it is possible to go to previous steps or to continue (if there is no error).
Each time a user select an option, other boxes become available or are greyed.
That was the way I did it in visual basic.
I don't know if you can do something similar.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXsensor Configurator

Post by jhsa »

I do like the looks of it..

One thing that I think is necessary is the ability to load existing config files and edit them. it would make it easy to do some small changes without having to configure all fields again..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXsensor Configurator

Post by davx »

@mstrens,
mstrens wrote:It looks like the user could click directly on the button "Write config" whitout filling the tabs.
This part is not finished but it shouldn't be a problem, if button is clicked too early, just continue with the settings and click again.
I think it is better using a process like when you install a program: the user have to go throught several screens before he can finish.
I beg to differ on this point, if a user wants to use OXS only for, e.g. , voltage, I think he should not have to go through all the pages he doesn't need.
Each time a user select an option, other boxes become available or are greyed.
Yes, but there's nothing to greyed on the "General settings" Tab.

It's still a work in progress, nothing is really fixed. I will consider your remarks.

Bye.
Last edited by davx on Mon Jul 21, 2014 11:21 am, edited 1 time in total.
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXsensor Configurator

Post by davx »

jhsa wrote:One thing that I think is necessary is the ability to load existing config files and edit them. it would make it easy to do some small changes without having to configure all fields again..
Maybe not for the first release, but obviously, this is planned ;)
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXsensor Configurator

Post by jhsa »

davx wrote: I beg to differ on this point, if a user wants to use OXS only for, e.g. , voltage, I think he should not have to go through all the pages he doesn't need.
I agree. we probably end up checking all the other stuff anyway, but we will do it following our own logic.

But either method would work fine :)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXsensor Configurator

Post by davx »

Hi,

A little screen with a new tab and some grayed elements:
OXS_conf_04.jpg
Bye
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXsensor Configurator

Post by jhsa »

Looking very good :)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXsensor Configurator

Post by davx »

Hi,

Another one:
OXS_conf_05.jpg
I can almost see the end of the tunnel ;)

Bye.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXsensor Configurator

Post by jhsa »

wow.. :D

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXsensor Configurator

Post by davx »

Hi,

One more:
OXS_conf_06.jpg
Maybe a beta soon... ;)
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXsensor Configurator

Post by jhsa »

I prefer the mV/A as you have in there than the step thing that is currently used.. just can get my sensor right :( Before it was quite easy. And the offset should also be in mV
Now that I know how to fix the code so I don't have false alarms, I'm very tempted to go back to the old version and just fix it..
Just my 2c

João

EDIT: and by the way, it's looking great as are all the other screens. Thank you..
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXsensor Configurator

Post by davx »

jhsa wrote:I prefer the mV/A as you have in there than the step thing that is currently used.. just can get my sensor right :( Before it was quite easy. And the offset should also be in mV
That's the aim of the configurator, simplify the OXS settings, the calculations are done under the hood ;)
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXsensor Configurator

Post by davx »

Hi,

Let me just say that it's not finished, you can play with every tabs, buttons...any controllers but please don't press "Write Config"...

Yes, you'll find a pre beta below ;)
It's win32 for now, if anyone wants another version, just ask !

The install is pretty complicated: unrar where you want and double click "OXS_Configurator.exe" 8-)

Have fun !
Attachments
OXS_Configurator_win32.rar
(4.04 MiB) Downloaded 509 times
mstrens
Posts: 1435
Joined: Fri Dec 27, 2013 7:49 pm
Country: -

Re: OpenXsensor Configurator

Post by mstrens »

davx wrote:Hi,

Let me just say that it's not finished, you can play with every tabs, buttons...any controllers but please don't press "Write Config"...

Yes, you'll find a pre beta below ;)
It's win32 for now, if anyone wants another version, just ask !

The install is pretty complicated: unrar where you want and double click "OXS_Configurator.exe" 8-)

Have fun !
I have window7 64.
I presume I need another version.
If you provide it, I will give some feedback.
User avatar
KAL
Posts: 552
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: OpenXsensor Configurator

Post by KAL »

@mstrens: works great on my win7 (64) machine.

@davx: splendid work, monsieur. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - btw: I couldn't resist :lol:

Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )
User avatar
Tempo
Posts: 83
Joined: Tue Feb 04, 2014 4:04 pm
Country: -

Re: OpenXsensor Configurator

Post by Tempo »

I couldn´t resist too :mrgreen:
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXsensor Configurator

Post by jhsa »

I take my hat to you.. what a splendid job in there :shock: :D I do like the way you have chosen to select the options.. Very good indeed.
I know it is not finished, not even close, but in case you missed it, we shouldn't be able to select the same pins for different sensors.. At the moment is possible for example to select A0 for current and voltage.. I'm not criticizing, just trying to help in case you missed something ;)

Also, in the "send data" menu, when we have only one voltage sensor and want to send only the total voltage what field should we use? I don't see the one we use at the moment in the config.h. Or did I miss it?
This is really a great app, thank you..

By the way,can you tell I also couldn't resist?? :mrgreen:
And I have win7 64 too
João
Attachments
oxs config.jpg
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXsensor Configurator

Post by davx »

Hi,

Thanks everyone !

@mstrens,

Yes, it should work on every win flavor, tested on XP, 7 64b and 8.1 64b.

And I should have said that you need java installed.
jhsa wrote:I know it is not finished, not even close
Hum...in fact, it's not so far from first release.
we shouldn't be able to select the same pins for different sensors..
That's a behavior I've already discussed with mstrens and for the moment, we can choose what we want in the pins drop down list. The validation process is done when writing the config file, which the beta can't do now.
in the "send data" menu, when we have only one voltage sensor and want to send only the total voltage what field should we use? I don't see the one we use at the moment in the config.h. Or did I miss it?
Perhaps it was too late for you ;) but you should choose your volt in the first list and "VFAS_NEW" in the second with HUB protocol or "VFAS 1st" with Smart Port, same as in the config file itself.

Post Reply

Return to “OpenXVario - an open source vario supported by the open source firmwares!!”