[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - Calculation of Inclination in AQ-Groundcontrol

Calculation of Inclination in AQ-Groundcontrol

Ground Stations and utilities for Windows, Linux, Android, & others

Calculation of Inclination in AQ-Groundcontrol

Postby axelnied » Mon Jul 23, 2012 7:22 pm

Team,

referring to:
http://autoquad.org/wiki/wiki/autoquad- ... culations/

I think I may have discovered a small error...
Is it possible that the Groundcontrol actually operates with degrees and minutes, when using the tool to create the "#define IMU_MAG_INCL" statement?

In the example displayed on the Wiki, there are shown three different numbers shown (for Den Haag Zuit - Hollland):
67deg 6minutes (via http://magnetic-declination.com/)
-67.09 (as shown entry into groundcontrol tool)
-67.15 (in the resulting "#define" statement)

Why are there three numbers? When using the online converter tool (http://www.onlineconversion.com/map_decimaldegrees.htm) 67deg 6min results in 67.1 deg decimal, which is what should be in the "#define" statement, right? When entering 67.06 (as deg.min) into the groundcontrol tool I get exactly 67.1deg decimal. So there may be no need to use the "converter" tool. Just enter deg.min...!?

Could someone please sanity check this!?
The difference is not huge and might correspond to the error when driving to a nearby flying field.
axelnied
 
Posts: 262
Joined: Wed Jul 04, 2012 5:51 pm
Location: San Diego, CA, USA

Re: Calculation of Inclination in AQ-Groundcontrol

Postby axelnied » Mon Jul 23, 2012 10:56 pm

Attachments
Inclination Error.JPG
Degree/Minutes vs Decimals Inclination
Inclination Error.JPG (24.01 KiB) Viewed 7870 times
axelnied
 
Posts: 262
Joined: Wed Jul 04, 2012 5:51 pm
Location: San Diego, CA, USA

Re: Calculation of Inclination in AQ-Groundcontrol

Postby sandmen » Tue Jul 24, 2012 11:34 am

sandmen
 
Posts: 997
Joined: Fri Jun 22, 2012 7:25 am

Re: Calculation of Inclination in AQ-Groundcontrol

Postby after.burner » Tue Jul 24, 2012 1:06 pm

Oh, I also fell for this and entered the wrong value (converter deg/minutes to decimal by hand and entered the resulting value in the field and converted it again by pressing calculate)

Maybe you can provide a real example in the Wiki with Screenshot of http://magnetic-declination.com/ and the right values into QGroundcontrol? (right now the screenshots seem to be unrelated). The non-obvious thing is that you have to enter output like "67deg 6minutes" as "67.06" and press calc -> so you have to enter the minute in decimal form without converting to decimal and then have QGroundcontrol convert it.

(The best solution would be to allow simple copy&paste of inclination and declination lines straight from http://magnetic-declination.com/ into the right fields in QGroundcontrol)
after.burner
 
Posts: 20
Joined: Sat Jul 21, 2012 8:41 pm

Re: Calculation of Inclination in AQ-Groundcontrol

Postby axelnied » Tue Jul 24, 2012 5:34 pm

Since you guys confirmed it, I think the Wiki should be updated...
As far as I can see it there are TWO methods to create the necessary "#define IMU_MAG_INCL" statement.

Method 1: Use the AQ-Groundcontrol tool
- get the inclination for your location from http://magnetic-declination.com/
- enter the inclination in the following format into the AQ-Groundcontrol tool "dd.mm", where d=degrees, m=minutes, use leading zeros, example 6 = 06)
- press "Calc"
- copy and paste the resulting "#define IMU_MAG_INCL" statement into "All Generated Parameter"

Method 2: Manually create the #define statement with onlineconversion.com
- get the inclination for your location from http://magnetic-declination.com/
- enter the inclination in the following format into http://www.onlineconversion.com/map_decimaldegrees.htm
"d m", where d=degrees, m=minutes, "space" in between, no leading zeros necessary)
- enter the resulting decimal inclination behind "#define IMU_MAG_INCL" and paste the entire string into "All Generated Parameter"

Good Luck to all of us...
axelnied
 
Posts: 262
Joined: Wed Jul 04, 2012 5:51 pm
Location: San Diego, CA, USA

Re: Calculation of Inclination in AQ-Groundcontrol

Postby kinderkram » Tue Jul 24, 2012 7:29 pm

Schankedön! 8-)

Thx Axel - since I'm too dumb for these kind of maths I'll wait for Bill to confirm it and then push it to the Wiki, ok?
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: Calculation of Inclination in AQ-Groundcontrol

Postby axelnied » Tue Jul 24, 2012 7:54 pm

axelnied
 
Posts: 262
Joined: Wed Jul 04, 2012 5:51 pm
Location: San Diego, CA, USA

Re: Calculation of Inclination in AQ-Groundcontrol

Postby joebar.rc » Wed Jul 25, 2012 6:00 am

joebar.rc
 
Posts: 1084
Joined: Fri Jun 22, 2012 8:59 am
Location: The netherlands

Re: Calculation of Inclination in AQ-Groundcontrol

Postby sandmen » Tue Aug 07, 2012 3:46 pm

On the next version, I have fixed the bug.
sandmen
 
Posts: 997
Joined: Fri Jun 22, 2012 7:25 am

Re: Calculation of Inclination in AQ-Groundcontrol

Postby axelnied » Tue Aug 07, 2012 4:59 pm

axelnied
 
Posts: 262
Joined: Wed Jul 04, 2012 5:51 pm
Location: San Diego, CA, USA


Return to AQ Software

Who is online

Users browsing this forum: No registered users and 1 guest

cron