[Patch] MultiwiiConf displays wrong GPS data

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
Tommie
Posts: 438
Joined: Sun Apr 08, 2012 9:50 am

[Patch] MultiwiiConf displays wrong GPS data

Post by Tommie »

The current trunk version of MultiWiiconf displays wrong GPS data; I uploaded a fix here: https://github.com/wertarbyte/multiwii- ... re/fix_gps

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

Re: [Patch] MultiwiiConf displays wrong GPS data

Post by KeesvR »

I've changed this but the values of latitude and longitude stay the same in the Gui.

Tommie
Posts: 438
Joined: Sun Apr 08, 2012 9:50 am

Re: [Patch] MultiwiiConf displays wrong GPS data

Post by Tommie »

Did you do a recompile of the Processing App?

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

Re: [Patch] MultiwiiConf displays wrong GPS data

Post by KeesvR »

I changed it with arduino. I think its wrong.
Can you give me a good description on how to do this for dummies.

Tommie
Posts: 438
Joined: Sun Apr 08, 2012 9:50 am

Re: [Patch] MultiwiiConf displays wrong GPS data

Post by Tommie »

KeesvR wrote:I changed it with arduino. I think its wrong.
Can you give me a good description on how to do this for dummies.

Open MultiWiiConf.pde in your Processing IDE; then locate the lines in the compare view (somewhere around line 654); you can also just download the file from the github site, but unless you are using the latest Multiwii firmware on your copter, it's probably not working.
Simply replace the one line ("text(GPS_latitude,530,290);") with this: "text(GPS_longitude,530,290);"; Hit the "play" button in the icon bar, and Processing should compile and start the GUI.

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

Re: [Patch] MultiwiiConf displays wrong GPS data

Post by KeesvR »

Thanks, but I can't get it to work. I also downloaded your file, when I look inside I see the same typo.

I think its better for me to wait for a updated version.

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

Re: [Patch] MultiwiiConf displays wrong GPS data

Post by KeesvR »

I don't give so fast. :mrgreen:

Now I've found out what I did wrong, I had not installed the IP5 control.

But its only working when I use it with Processing after pushing play, when I save it and start the Gui the normal way its like before.

Tommie
Posts: 438
Joined: Sun Apr 08, 2012 9:50 am

Re: [Patch] MultiwiiConf displays wrong GPS data

Post by Tommie »

What is the "normal way"? You did export a new application from the new source file, did you?

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

Re: [Patch] MultiwiiConf displays wrong GPS data

Post by KeesvR »

The normal way = double click on the exe file.

I just saved it not export, when I try to export I get: Could not find the applet size.

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

Re: [Patch] MultiwiiConf displays wrong GPS data

Post by PatrikE »

Here's a thread explaining how to compile with Processing
viewtopic.php?f=18&t=190

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

Re: [Patch] MultiwiiConf displays wrong GPS data

Post by KeesvR »

Thanks Patrik and Tommie, I got it working now.

Post Reply