WinGUI 2.1 Beta is released for testing

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

Update 07.02
2.1 RC1 is out
As we are approaching MultiWii 2.1 release it is time to prepare to release WinGUI 2.1 too. So I pulled together the first release candidate version.

Changes : Added graphics for Airplane, VTail, Heli120 and Heli20
Fix : Serial protocol error message handling.

Test it is you have time....


Update 06.27
2.1.04Beta is out
- Added MSP_WP command to query Home and poshold positions from the FC (appropiate changes are commited to _shared at r944) MSP_WP must be enabled in the FC by uncommenting the #define USE_MSP_WP line in the GPS section of the config.h
- MapProvider selection is now saved and remembered
- Improved KML logging (now logs routes, home position and poshold positions)
- Added parameter reset function
- Other small annoying bugfixes

Update 06.26
2.1.03Beta is out. This is an interim release since map and waypoint functions are not yet enabled (waiting for additional serial commands to be approved).
What is new : WinGUI is now resizeable! The realtime graph, video cpature and map is now grows with the main window. Other gui elements are rearranged dynamically but don't grow (too much work to make all user control elements resizeable, this is slated to the next release)
If you want to use the map without internet connection, you can prefetch the map tiles before you go to the field. Just select your field of interest (left click and drag mouse while holding ALT) then press the Fetch button. WinGUI will cache the selected area in every zoom level.


Update 06.20
2.1.02Beta is out, now it supports the updated serial protocol which was releases in Dev0618. optionsconfig xml also updated accordingly. Serial handling improved for radio telemetry.

Update rate settings for telemetry use
In guisettings.xml there are a couple lines which governs the refresh rates of each GUI elements.

the value is a divider which used to divide the default refresh rate (which you can set on the Realtime tab)
So if you set 20Hz update rate, then the values means :
1 - 20Hz
2 - 10Hz
4- 5Hz
10 - 2Hz
20 - 1Hz

Code: Select all

    <MSP_STATUS_RATE_DIV value="10" />
    <MSP_RAW_IMU_RATE_DIV value="1" />
    <MSP_SERVO_RATE_DIV value="4" />
    <MSP_MOTOR_RATE_DIV value="4" />
    <MSP_RAW_GPS_RATE_DIV value="2" />
    <MSP_COMP_GPS_RATE_DIV value="2" />
    <MSP_ATTITUDE_RATE_DIV value="1" />
    <MSP_ALTITUDE_RATE_DIV value="10" />
    <MSP_BAT_RATE_DIV value="20" />
    <MSP_RC_RATE_DIV value="2" />
    <MSP_MISC_RATE_DIV value="10" />
    <MSP_DEBUG_RATE_DIV value="2" />



Update 06.13 18:42
2.1.01Beta is out, fixed optionsconfig21.xml issue with non US locale settings.


-------------------------------------------
Okay Folks!
The wait is over. The next version of WinGUI is released for beta testing. Now it supports the new serial protocol which was introduced after MultiWii 2.0.
Quick summary of the changes :
- Supporting Multiwii latest dev up to rel 20120606. (Since outcomes of Tommi’s rampage is not yet clear, serial protocol changes in _shared is NOT SUPPORTED at this moment. Once Alex move them to the dev then I’ll mod WinGUI to support it)
- Wider fixed window size (in sync with MultiWiiGUI)
- CheckBoxItems, mode indicators and PID’s are no longer hardcoded, they defined in optionsconfig21.xml. So adding a checkbox or a PID to the GUI is as simple as editing this xml file.
- Updated, clearer look.
- Version number is synced with MultiWii version
- MAP tab for realtime GPS tracking. (internet connection needed to make a local cache of satellite map tiles, once tiles are cached it works without internet connection.
- GPS logging to KML file.
- Visual indication of changed but not saved parameters
- Bunch of other small changes…
It is still BETA so there should be bugs. Feel free to send me a note if you find one.
Download is as usual at : http://code.google.com/p/mw-wingui/downloads/list
Last edited by EOSBandi on Mon Jul 02, 2012 12:29 am, edited 7 times in total.

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: WinGUI 2.1 Beta is released for testing

Post by copterrichie »

Awesome!!!

Tifani
Posts: 63
Joined: Sun Nov 06, 2011 5:15 pm

Re: WinGUI 2.1 Beta is released for testing

Post by Tifani »

Hi !
As I signalized before some older and blind (like me) peoples use large windows system fonts what lead to unexpected display problems if display is formated without possibility to autoscale it.
Anyway THANKS A LOT.
Tom
P.S. info for some over reacting people - this is not critique.
Attachments
WinGUI.jpg

Tazzy
Posts: 75
Joined: Sun Jun 19, 2011 4:45 pm
Location: Sweden

Re: WinGUI 2.1 Beta is released for testing

Post by Tazzy »

Hello Eos
Thanks for you big work on the gui and gps !
Here in Sweden the default decimal char is , not . and with , as decimal char the gui hangs in start up and say it is an error on line 20 in configfile
If i change the decimal char in language settings all start ok but i cant connect to copter yet ....
what serial protocol is this gui using can it work with dev r33 that i use for the i2c-gps.

//Tazzy

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

For R33 remove the vel pid from the optionsconfig file, it was reintroduced after r33.

Alexinparis
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: WinGUI 2.1 Beta is released for testing

Post by Alexinparis »

Hi,
I've also this error: "options file contains invalid data around Line: 20"
which is solved when I edit optionsconfig21.xml and replace each . by ,

User avatar
Quadraf
Posts: 68
Joined: Fri Jan 21, 2011 12:55 am
Location: Deurne Holland
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by Quadraf »

Hello Bandi,

I cannot start the program either, even if i change al the "." to "," . i have windows7 64bit.
Attached the error screen:
Hans
Attachments
wingui.jpg

jrt4fun
Posts: 11
Joined: Fri Mar 16, 2012 2:37 pm

Re: WinGUI 2.1 Beta is released for testing

Post by jrt4fun »

Hey Eosbandi,

First of all thanks for the update.
Have been playing around with the new release and works very well.
Geo and logging options are also neat.
Makes me think I need some kind of telemetry to log the flights :-)

Regards

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

Quadraf wrote:Hello Bandi,

I cannot start the program either, even if i change al the "." to "," . i have windows7 64bit.
Attached the error screen:
Hans


Hi, Is guisettings.xml in the main directory ? What is the exact path where you put your installation ?
A

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

Alexinparis wrote:Hi,
I've also this error: "options file contains invalid data around Line: 20"
which is solved when I edit optionsconfig21.xml and replace each . by ,


Yepp, my fault. Will make it locale independent tonight.

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

jrt4fun wrote:Hey Eosbandi,

First of all thanks for the update.
Have been playing around with the new release and works very well.
Geo and logging options are also neat.
Makes me think I need some kind of telemetry to log the flights :-)

Regards


For telemetry diydrones's 3drradio is a very good option. I'm working on a multiwi specific firmware for those radios, so you will be able to see local and remote rssi and radio noise floor in the gui.

User avatar
Quadraf
Posts: 68
Joined: Fri Jan 21, 2011 12:55 am
Location: Deurne Holland
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by Quadraf »

it's here:
Hans
Attachments
wingui2.jpg

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

setup wizzard should create the gui_settings.xml in this directory, so you need neccessary permissions to create file here, could you check that you have permissions to create a file there ?

User avatar
Quadraf
Posts: 68
Joined: Fri Jan 21, 2011 12:55 am
Location: Deurne Holland
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by Quadraf »

i have adminstrator rights so I can create any file in there. In fact i placed the 2 images made for this post in there too.

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

Quadraf wrote:i have adminstrator rights so I can create any file in there. In fact i placed the 2 images made for this post in there too.


Try putting a gui_settings.xml file there manually. For some reason the wizzard does not creates the file.... i'll investigate it tonight....
The content of the file is the following :

Code: Select all

<?xml version="1.0"?>
<!--MultiWiiWinGUI, Version 1.0.4545.33282-->
<!--GUI Settings-->
<!--Do not change this file manually, unless you know what are you doing-->
<PARAMETERS>
    <FCVERSION value="21" />
    <LOGFOLDER value="./Logs" />
    <CAPTUREFOLDER value="./Captures" />
    <SETTINGSFOLDER value="./Settings" />
    <LOGATCONNECT value="False" />
    <SERIALPORT value="" />
    <SERIALSPEED value="115200" />
    <LOGRAW value="False" />
    <LOGATT value="False" />
    <LOGMAG value="False" />
    <LOGRCC value="False" />
    <LOGRCX value="False" />
    <LOGMOT value="False" />
    <LOGSRV value="False" />
    <LOGNAV value="False" />
    <LOGPAR value="False" />
    <LOGDBG value="False" />
</PARAMETERS>

User avatar
Quadraf
Posts: 68
Joined: Fri Jan 21, 2011 12:55 am
Location: Deurne Holland
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by Quadraf »

Hi Andras

That works! Thanks!

Hans

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by PatrikE »

I get a error.. :?: :?: :?:
Optionsflie contains invalid data around Line:20


With both generated and the setting from eariler in thread.

Tested on three different computers.

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

PatrikE wrote:I get a error.. :?: :?: :?:
Optionsflie contains invalid data around Line:20


With both generated and the setting from eariler in thread.

Tested on three different computers.

Did you changed the points to commas in the optionsconfig21.xml ?

Vilhelmsson
Posts: 8
Joined: Sun May 20, 2012 7:09 am

Re: WinGUI 2.1 Beta is released for testing

Post by Vilhelmsson »

Very nice thnx

Anders

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

2.1.01Beta is out, fixed issue with non us locale settings.

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by PatrikE »

OK..
Fix the issue i had..

Now time to explore...

jaames74
Posts: 22
Joined: Tue Jun 12, 2012 5:56 pm

Re: WinGUI 2.1 Beta is released for testing

Post by jaames74 »

EOSBandi wrote:- MAP tab for realtime GPS tracking. (internet connection needed to make a local cache of satellite map tiles, once tiles are cached it works without internet connection.


hello,
congrats to EOSBandi for this new release of WinGUI. I really admire his programming skills. :shock:
One suggestion:
i think it would be better for MAP to work like MikroKopter Tool does -> be able to insert a .jpeg screenshot from gmaps with known coordinates and fixed resolution (i.e flying field), then display multicopter's position on that image (so as we don't need an internet connection).

gompf-2
Posts: 136
Joined: Sun Jun 05, 2011 11:46 am

Re: WinGUI 2.1 Beta is released for testing

Post by gompf-2 »

EOSBandi, thanks!
Found no issues not already mentioned but a nice kind of work.
Makes me think I need some kind of telemetry to log the flights

I already have an RFM22 on my I2C GPS converter. I thought of it as kind of RF-lost model buzzer when no FPV(OSD)-Unit is attached to my copter but together with EOSBandi´s GUI it´s quite perfetct. ;-).
The AVR-RMF22 PCBs are available from Ulrich Radig: http://www.ulrichradig.de/home/index.ph ... d-atmega88, an examples for serial bridge etc. are in the Arduino RFM-libs, ~15€ per transciever module (PCB+AVR+small stuff), excluding serial GPS. It´s the same system used for OPENLRS, but I dropped this due to legal restrictions in germany.

regards,
gompf

palton
Posts: 48
Joined: Fri Sep 02, 2011 4:06 pm

Re: WinGUI 2.1 Beta is released for testing

Post by palton »

How about presenting sensor data like an OSD does (like an overlay to video), within the video window. Something already planned for?

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

palton wrote:How about presenting sensor data like an OSD does (like an overlay to video), within the video window. Something already planned for?

spoilers.. :) :) :)

palton
Posts: 48
Joined: Fri Sep 02, 2011 4:06 pm

Re: WinGUI 2.1 Beta is released for testing

Post by palton »

Sorry being a spoiler, I just couldn't resist starting my APM flight planner and compare, hehe. I got curious and couldn't resist to ask..

I think it looks promising :=) I just downloaded and walked trough GUI.

Any particular reason there isn't a maximize window option?

GoFaster
Posts: 5
Joined: Sun May 27, 2012 12:20 am

Re: WinGUI 2.1 Beta is released for testing

Post by GoFaster »

Very nice, thank you!

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by PatrikE »

Maximize means lots of trouble with rescaling of the objects.
But the video window would be nice to maximize 8-)

palton
Posts: 48
Joined: Fri Sep 02, 2011 4:06 pm

Re: WinGUI 2.1 Beta is released for testing

Post by palton »

Indeed it would. But I liked what I saw :=)

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

Quick note !!!
The current optionsconfig21.xml supports dev release 20120606!!! For earlier dev releases (and r33 gps) you have to change the PID definitions in the optionsconfig21.xml accordingly !!!

skytor
Posts: 48
Joined: Tue May 29, 2012 5:14 pm

Re: WinGUI 2.1 Beta is released for testing

Post by skytor »

Hi EOSBandi

Thups Up !!! VERY NICE WORK !!

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

palton wrote:Sorry being a spoiler, I just couldn't resist starting my APM flight planner and compare, hehe. I got curious and couldn't resist to ask..

I think it looks promising :=) I just downloaded and walked trough GUI.

Any particular reason there isn't a maximize window option?


I admit some parts and ideas are borrwed from the APM planner, but hey it's open source:)
The window resize and maximize option was left out intentionally, since it's more easier and faster to work with a fixed layout.

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by PatrikE »

You could create a new form "Window" for the video and admit maximize on only that form.
It would be nice to run the video in fullscreen.

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

PatrikE wrote:You could create a new form "Window" for the video and admit maximize on only that form.
It would be nice to run the video in fullscreen.

Good idea.

palton
Posts: 48
Joined: Fri Sep 02, 2011 4:06 pm

Re: WinGUI 2.1 Beta is released for testing

Post by palton »

Hehe, My best friends dad is a high ranked police officer and he have learnt me one thing since i was a kid. Never admit anything when you get caught by the police, hehe.

Open source is supposed to work that way as you say EOSbandi, nothing wrong looking what others have done. Maybe you can do it even better..

I'm getting tired and bored, sitting at a hotell atm, srry if bullshitting the forum, lol.

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by PatrikE »

I miss the Reset button...
Otherwise it looks wery promising i think.. 8-)

User avatar
dramida
Posts: 473
Joined: Mon Feb 28, 2011 12:58 pm
Location: Bucharest
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by dramida »

This GUI will be an awsome add-on to MWC. Thank you Eos_Bandi for your work.

Joachim08
Posts: 31
Joined: Sat Mar 17, 2012 10:10 am

Re: WinGUI 2.1 Beta is released for testing

Post by Joachim08 »

Unfortunately WinGui hangs when using bluetooth connection. After connecting the parameters are shown, but then the program hangs.
It works with FTDI direct connection.
I am using XP SP3. Bluetooth works flawless with normal Gui.
Anybody experiences the same problem ?

Regards

Joachim

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by PatrikE »

Almost same for me.
It's not as stable with BT as FTDI .

I use W7.

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

PatrikE wrote:Almost same for me.
It's not as stable with BT as FTDI .

I use W7.

which bt module r u using? what serial speed?

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by PatrikE »

I use one of these.
GBL BTModule @ 115200

But i will test more before i can confirm fully.

Joachim08
Posts: 31
Joined: Sat Mar 17, 2012 10:10 am

Re: WinGUI 2.1 Beta is released for testing

Post by Joachim08 »


User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

PatrikE wrote:I use one of these.
GBL BTModule @ 115200

But i will test more before i can confirm fully.

Please check with different refresh rates. I'll try to dig out my bluetooth module and give it a try.

I tested it with a selfmade 3drradio at 57600 bps and I did not encountered problems....

Tifani
Posts: 63
Joined: Sun Nov 06, 2011 5:15 pm

Re: WinGUI 2.1 Beta is released for testing

Post by Tifani »

Hi !
I use BlueSky RC BT module @115200 v2.1B hangs when using bluetooth connection. Previous version work fine with the same module.
Regards & Thanks
Tom

Sharkcopter
Posts: 21
Joined: Fri Feb 24, 2012 3:12 pm

Re: WinGUI 2.1 Beta is released for testing

Post by Sharkcopter »

Tifani wrote:Hi !
I use BlueSky RC BT module @115200 v2.1B hangs when using bluetooth connection. Previous version work fine with the same module.
Regards & Thanks
Tom

Hi
The same for me.
Thanks

tazdevil
Posts: 2
Joined: Thu Jan 20, 2011 12:00 am

Re: WinGUI 2.1 Beta is released for testing

Post by tazdevil »

hi , just to says that is not working with the v2.0.618 dev version

is something change in the telemetry and serial command since v2.0 multiwii ?

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

tazdevil wrote:hi , just to says that is not working with the v2.0.618 dev version

is something change in the telemetry and serial command since v2.0 multiwii ?


There are significant changes in the protocol since dev0606, I'm working on the update of the beta... stay tuned

User avatar
EOSBandi
Posts: 802
Joined: Sun Jun 19, 2011 11:32 am
Location: Budapest, Hungary
Contact:

Re: WinGUI 2.1 Beta is released for testing

Post by EOSBandi »

2.1.02Beta is out, now it supports the updated serial protocol which was releases in Dev0618. optionsconfig xml also updated accordingly. Serial handling improved for radio telemetry.

Still not tested with bluetooth, so feedbacks are welcomed...
Last edited by EOSBandi on Wed Jun 20, 2012 10:51 pm, edited 1 time in total.

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: WinGUI 2.1 Beta is released for testing

Post by copterrichie »

Awesome, wish I could do what you do but I am thankful you do what you do best. Everyone benefits. :)

Joachim08
Posts: 31
Joined: Sat Mar 17, 2012 10:10 am

Re: WinGUI 2.1 Beta is released for testing

Post by Joachim08 »

Congrats EOSBandi,

it works with my bluetooth setup @115.200 with flyduino bluetooth interface.

Post Reply