MWii-Preflight all in one setup application

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
User avatar
Quadraf
Posts: 68
Joined: Fri Jan 21, 2011 12:55 am
Location: Deurne Holland
Contact:

MWii-Preflight all in one setup application

Post by Quadraf »

MWii-Preflight is a setup application for Multiwii-copters wich is written in Visual Basic 6 and compatible from Windows XP to Windows 7 64bit(32bit mode).

•Comprehensive configurator(all config.h settings).
•Integrated tool for configurator, Arduino GUI, Alex GUI, EOS-Bandi GUI.
•Compatible from Multiwii version 1.8 to dev 20120927.
•Direct weblink to relevant software downloads.
•Two config.h configurations possible.
•BMA020 setting fast/new for drift isues or slow/old in case of a nervous copter.
•Greyout function. Earlier versions now wil show unavailable settings with grey label.
•Help functions -> Internetlinks and textboxes (when hovering or clicking labels).
•Dump config.h screen to picture in MWiiPrelude folder (for sharing).
•Scrollbar to position screen if resolution less than 1280*1024 and lettersize 100%.
•Graphical ON/OFF button.
•When bored one can play with the arrow keys of the keyboard;).
•Arduino 328P/MEGA switch for motor/ESC connections in graphic presentation of aircraft.
•Explode/compact view button with extra menu for settings view.
•First steps in error checking on user input.
•Connection graphics for 328p/Mega from motor-arduino to RX.
•Mag calibration time up to 99 sec (in misc settings).

Extra features version 1.0: •Works including newest version MultiWii?_devR1143 (2012/09/27).
•Seperate Barometer box.
•Added HexH copter.
•Improved graphics on some copters.
•Magnetic declination calculator incorporated with weblink (click magnetic declination).
•Failsave changed again so reworked for all versions! grrr...;).
•More to come...

Download here:
http://code.google.com/p/mwii-preflight/

Quickstart:
•Install Arduino and Multiwii software + Alex and/or Bandi Gui.
•Download and install the MWii-Prelude2 windows package of your windows version.
•Download the latest zipped update and install/replace MWii-Prelude.exe in the installation folder.
•Run MWii-Prelude and push the load config.h button to read in config.h file from the Multiwii-dev folder.


Enjoy and/or report your bugs and remarks ;)!

Hans van den Tillaart
Attachments
preflightCompact.jpg
Last edited by Quadraf on Thu Oct 11, 2012 5:42 pm, edited 9 times in total.

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

reserved
Last edited by Quadraf on Mon Jul 02, 2012 8:39 am, edited 2 times in total.

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

Re: MWC-Prelude all in one setup application

Post by dramida »

My God! Looks like a Chrismas tree. If you want to be useful for beginners, do other things like writing wiki doc pages http://www.multiwii.com/forum/viewtopic.php?f=8&t=1602.

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

Dramida, thank you for the comment. I was already a bit afraid the screen would shout to much so i took out the tree ;) .
As a by product the program did shrink allot 8-) .
However I cannot see how MWC-Prelude could not be useful for beginners, so maybe you can explain why you think that :?: .

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

Re: MWC-Prelude all in one setup application

Post by PatrikE »

I like it!.
But...
Use a more clean font.(Boring but more readable.)
Some comments is missing in your config.h

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

Hi Patrik,

Thank you for that comment! I thought it was a nice font to see, but... your absoluutly right! When i changed it it kind a looked fierce 8-) .
Yes my application only writes defines and values and therefore (and my lazynes) the comments disapear... :mrgreen:
But who cares, thats one of the reasons why i made the program so you never have to look back to config.h... ;) .
However a original copy of config.h is automaticaly made when using MWC-Prelude called config.ori if you still want to look inside and reset it.
BTW if you hover over the labels in MWC-Prelude you will notice some nice comments.
MWC-Prelude is updated!

Greetings Hans
Ooh, your configurator looks nice too and works perfectly!

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

Re: MWC-Prelude all in one setup application

Post by PatrikE »

Thanks.
I only updated it and modified it a little.

It looks like you don't parse the actual data in config.h
Where do you get the raw data to the file from?

/Patrik

Dellow
Posts: 26
Joined: Tue Dec 20, 2011 12:38 am

Re: MWC-Prelude all in one setup application

Post by Dellow »

I haven't been able to run the program. It will launch, but I only see the backdrop and two buttons, with no text. A box then pops up saying 'unable to find wiisetup.exe'
I am running Windows 7, and have tried both the 32 bit and 64 bit versions.
I'm obviously doing something wrong as others have been able to install your program, but I can't!
Any ideas?
Thanks,
Andy
Last edited by Dellow on Thu May 10, 2012 11:15 pm, edited 1 time in total.

refractions
Posts: 92
Joined: Thu Dec 01, 2011 8:55 pm
Location: Scotter, Lincolnshire, UK

Re: MWC-Prelude all in one setup application

Post by refractions »

just navigate to the install folder. c:\program files\wmcsetup and run the .exe file. If you run the package via the start menu option, just navigate to the same folder. I`m running windows 7 32 bit on my laptop.

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

Thank you for the reports!
@ Patrik. I am unsure what you ask here but the data is read from the screen and put in a #define... string and written to the config.h file (simply said). :)
@ Andy. I did rename the exe file to MWC-prelude while at first it was wiisetup.exe. With me MWC-Prelude.exe runs fine but maybe if you rename the exe file to Wiisetup.exe it will run correctly. Further more it is suspisious when there is no text, i would think the font i use now is not on your computer wich is Trebuchet MS wich u may install... I hope that helps.
Later on and last after this weekend i will clean up the different install versions of windows to be up to date.
Now i am working on more parameters in a tabbed version...

Oh i notice now, Refractions thank you for helping. ;)

Dellow
Posts: 26
Joined: Tue Dec 20, 2011 12:38 am

Re: MWC-Prelude all in one setup application

Post by Dellow »

refractions, thanks for the advice. If I run the exe file from the install folder, the program runs, but I only see two buttons - Load config.h and Quit.
Quadraf, I have the Trebuchet MS font installed (at least, I can use it in Word), but still no luck. Rebooted my laptop just in case - still the same.

Andy

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

Andy, if you have an older version you only see the 2 knobs you mention... Are you sure you downloaded the latest update?
Seems you can reed the buttons so the font is okee. push the load config.h button and see if it comes to life!?
Good luck.
Hans

Dellow
Posts: 26
Joined: Tue Dec 20, 2011 12:38 am

Re: MWC-Prelude all in one setup application

Post by Dellow »

Hans, I've re-downloaded to make sure I have the latest version, and updated with the latest exe file. I now see the 2 knobs and also the box with the three web links is now showing. I can also go through the process of loading a config.h file, but the window doesn't change.
I'll try it on a different laptop tomorrow - I may have some corrupt system files on this one.
Thanks, Andy

Dellow
Posts: 26
Joined: Tue Dec 20, 2011 12:38 am

Re: MWC-Prelude all in one setup application

Post by Dellow »

Final update - I don't know what has changed, but I did another reboot of the laptop and it is now working! No idea why.
One thing I noticed - although we can enable LCDconfig and LCDtelemetry, there is no check box for the type of LCD (unless I'm still missing some buttons)?

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

Andy, i am glad it works! More parameters are in the making with a tabbed version. ;)

Hans

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

MWii-Prelude version 2.0 has arrived.
Extra features:
Comprehensive configurator (now all settings from config.h).
Multi-tabbed for easy acces.
Compatible from Multiwii version 1.8 to newest dev 20120606.
Enhanced web-linking.
Help functions when hovering labels. Basic (Clicking on some labels -> weblink or textbox).
Wil be further enhanced in the near future... :geek:

Because of the extra tab function its better to do a fresh install of the new package for your windows version.
In the future updates when hovering labels you can see at the start of the "tooltip" if there is a textbox (t) or Internet (i) link help fuction when clicking on it.
download link:
http://code.google.com/p/mwc-prelude/

Play with it and report your bugs/remarks ;)

refractions
Posts: 92
Joined: Thu Dec 01, 2011 8:55 pm
Location: Scotter, Lincolnshire, UK

Re: MWC-Prelude all in one setup application

Post by refractions »

Just tried this on my windows 7 64 bit pc.

Only getting the following on screen

Any ideas?

Cheers

Iain
Attachments
mwii_prelude.jpg

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

Hi Iain,

Did you install the complete package or only the latest update? This looks like a mix between old and new??

Greets Hans

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

For clarity reasons i did a litle name changing on the downloadpage.
So if you have trouble installing MWii-Prelude2, take the package version!
(just installed on a other computer without problems).

Greets Hans

refractions
Posts: 92
Joined: Thu Dec 01, 2011 8:55 pm
Location: Scotter, Lincolnshire, UK

Re: MWC-Prelude all in one setup application

Post by refractions »

Hi,

Many thanks - got it sorted. Looks like i installed the update only.

Iain

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

Just my thought. Glad that it worked out for you. :)

Hans

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

New version 2.05 is out.
Extra features:
•Better input handling. Now all numbers scrollbar based.
•Greyout function. Earlier versions now wil show unavailable settings with grey label.
•Few more internetlinks (behind labels) and textboxes.
more to come... :)

Remember! New to prelude2 then install package version 2 before updating. :roll:
download at:
http://code.google.com/p/mwc-prelude/

Greetings Hans

KeesvR
Posts: 194
Joined: Fri May 27, 2011 6:51 pm
Location: The Netherlands

Re: MWC-Prelude all in one setup application

Post by KeesvR »

I only see Windows 7 and XP, witch one can I use for Vista ?

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

Hi Kees,

I don't have a Vista computer to compile so you can try XP or windows 7 32 bit version i guess...
Would like to know wich version works?

groeten Hans

KeesvR
Posts: 194
Joined: Fri May 27, 2011 6:51 pm
Location: The Netherlands

Re: MWC-Prelude all in one setup application

Post by KeesvR »

Hoi Hans,

I've tried both, but no luck. So thats why I asked.

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

Hoi Kees,

I had a Vista laptop but i upgraded it to windows 7... Last thing you could try is the win7 64bit (32 bit) mode version.
Maybe i snatch someone's vista computer or arange something else ;).

KeesvR
Posts: 194
Joined: Fri May 27, 2011 6:51 pm
Location: The Netherlands

Re: MWC-Prelude all in one setup application

Post by KeesvR »

Not working with my Vista Pc, tomorrow I'll try it with my old XP laptop.

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

New version 2.1 is out.
Extra features:
•New layout. All settings in 1 screen.
•Dump config.h screen to picture in MWiiPrelude folder (for settings sharing).
•Scrollbar to position screen if resolution less than 1280*1024 with lettersize windows 100%.
•Graphical ON/OFF button.

•more to come...;).
Download:
http://code.google.com/p/mwc-prelude/

Greetings Hans

KeesvR
Posts: 194
Joined: Fri May 27, 2011 6:51 pm
Location: The Netherlands

Re: MWC-Prelude all in one setup application

Post by KeesvR »

Hoi Hans,

Now the XP version is working with Vista.

Some things I found:

- When I change the failsafe throttle to 250 and save the file it stays at 200.
- The same thing with RC options beep.
- The same with Failsafe values.
- LCD_TELEMETRY_AUTO_FREQ I can only set 3 numbers, I like to set it to 1500.
- When I set the servo refresh rate to 300, it changes the value by 50Hz and not by 300Hz where it should be.

Thanks Kees.

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

Hoi Kees,

Thank you for testdriving the software, and glad it works on Vista...
I am checking now with my Windows 7 64 bit (32bit mode) version and this is the outcome:
---------------------------------------
Kees:
- When I change the failsafe throttle to 250 and save the file it stays at 200.
- The same thing with RC options beep.
- The same with Failsafe values.
- When I set the servo refresh rate to 300, it changes the value by 50Hz and not by 300Hz where it should be.
----------------------------------------
Al the above settings checked and work perfect with my Windows7 version.
I am afraid the XP-version for Vista did not go well :?
Later on i wil check the settings on a XP machine...
- LCD_TELEMETRY_AUTO_FREQ I can only set 3 numbers, I like to set it to 1500.
I did not know what the upperlimit was so made it 999 , but in a new update it wil be up to 2100 (change made) ;) .

Greetings Hans

KeesvR
Posts: 194
Joined: Fri May 27, 2011 6:51 pm
Location: The Netherlands

Re: MWC-Prelude all in one setup application

Post by KeesvR »

Yesterday my Vista pc crashed after 5 years of no problems with it, I'm now on my wife's W7 laptop, but I never use this machine for my use (maybee better :mrgreen: ).

So now I need to test the Prelude on my old XP laptop, this one I only use in the field for setup.

When my pc is back, I'll try another version.

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

Hoi Kees,

Monday is my free day so i resurrected my old (broken) computer (switching memory banks) and installed... Vista on it. 8-)
Had some problems installing Visual Basic 6 but in the end it worked. Tested MWiiprelude and everything is working.
I 'm in the middle of integrating the newest dev. so i expect there wil be an update around thursday including install package for Vista ;) .

Hans

KeesvR
Posts: 194
Joined: Fri May 27, 2011 6:51 pm
Location: The Netherlands

Re: MWC-Prelude all in one setup application

Post by KeesvR »

Hoi Hans,

I think the XP version is not working like it should, I've got the same result with XP as with Vista.
When i switch on for example RC Options Beep and push save button and load the same configH again its back to off.
Also for the things I earlier said.

My Vista PC is finaly dead :cry: , to expensive to repair, soon I'm gonna test the W7 version with my new laptop :mrgreen: .

Groet Kees.

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

New update for download:
Version 2.11 extra features
* Now Hasta la Vista Package available
* Works with newest dev20120622
* more to come...;).

Hoi Kees,

Rc options Beep is changed during versions . dev version 20120616 works but newest (just tested) did not. I was un aware :oops:
(The difference is that the developers have trown in a blank line wich means i have to make an exeption rule...)
Now i have a request for the developers to not trow in blank lines before a setting... :roll:
In the next release it will work. The other things mentioned however work (tested on winXP and windows7).
download here:
http://code.google.com/p/mwc-prelude/

Groeten Hans

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

New update for download:
Version 2.12 extra features:
* Simple graphical representation of aircraft.
* Compatible to newest dev. MultiWii_release_candidate_2_1_r964.
* When bored one can play with the arrow keys of the keyboard :mrgreen: .
* More internet links and textboxes.
* more to come... ;) .

download here:
http://code.google.com/p/mwc-prelude/

Greetings Hans

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

Re: MWC-Prelude all in one setup application

Post by Quadraf »

New update for download:
Version 2.13 extra features:
•Improved graphics.
•Arduino 328P/MEGA switch for motor connections in graphic presentation of aircraft.
•All settings now implemented.
•more to come... ;) .

download here:
http://code.google.com/p/mwc-prelude/

Greetings Hans

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

Re: MWii-Prelude all in one setup application

Post by Quadraf »

New update for download.
Version 2.14 extra features:
* Explode/compact view button with extra menu for viewing of the settings you want.
* First steps in error checking on user input.
* Works with newest version MultiWii_2.1.
* More to come (working on connection graphics motor/arduino/RX) ;) .

Reminder: if things do not work as you expect then first install the windows package version, then the update.
download here:
http://code.google.com/p/mwc-prelude/

Greetings Hans

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

Re: MWii-Prelude all in one setup application

Post by Quadraf »

New update for download.
Version 2.15 extra features:
* Connection graphics for 328p/Mega from motor-arduino to RX.
* Mag calibration time up to 99 sec ( in "misc" section).
* More sensor boards added.
* Some bugs found and killed (failsave and servo refresh rates...).
* More to come... (new name: MWii-PreFlight?...)

download here:
http://code.google.com/p/mwc-prelude/

Greetings Hans
P.S. hey guys some feedback would be nice ;)

Danal
Posts: 137
Joined: Tue Oct 18, 2011 5:15 pm

Re: MWii-Prelude all in one setup application

Post by Danal »

I was about to write one of these in Processing.

I will try it out and report back.

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

Re: MWii-Preflight all in one setup application

Post by Quadraf »

New update for download.
Name change from Prelude to Preflight wich IMO is a bit more to the point ...

Extra features version 1.0:
•Works including newest version MultiWii_devR1143 (2012/09/27).
•Seperate Barometer box.
•Added HexH copter.
•Improved graphics on some copters.
•Magnetic declination calculator incorporated with weblink (click magnetic declination).
•Failsave changed again so reworked for all versions! grrr... :roll: ;)
•bug fixes, lots of extra settings and adaptations from earlier versions...
• New package versions for people wich are new or can't get it to work :mrgreen: . Updated versions for upgrading from package or Prelude versions.
•More to come...

New webpage due to namechange. Download here:
http://code.google.com/p/mwii-preflight/

Greetings Hans

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

Re: MWii-Preflight all in one setup application

Post by Quadraf »

New update for download.

Extra features version 1.1:
* Works including newest version MultiWii_devR1240 (2012/10/31).
* Alfabetised dropdown-menu-items for easier selection.
* Tooltips on all buttons.(file operation etc.)
* Improved access sub programs.
* More to come... ;)

Download here:
http://code.google.com/p/mwii-preflight/

Greetings Hans

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

Re: MWii-Preflight all in one setup application

Post by Quadraf »

New update for download.

Extra features version 1.2:
•When selecting sensorboard you can now see wich sensors are on it.
•GPS protocol better implemented.
•User input checking more advanced (GPS and sensors).
•more to come... ;)

Download here:
http://code.google.com/p/mwii-preflight/

Greetings Hans

Post Reply