The .kml file below is from a flight on 02/06/12.  This flight resulted in excellent photo coverage.  

(No magnetometer,  firmware version ArduPlane V2.28)


Here is the mosaic stitched by PTGui of the 02/06/12 flight


We flew the same WP file, at the same site, with the same aircraft, under similar weather conditions, on 04/25/12 and got this .kml.


The flight path was not very good.  The plane circled around several WPs, turned the wrong way a number of times, made some unnecessary heading changes, but flew fairly straight legs. 

The differences between the flights are:

Added the magnetometer to the APM1 board and uploaded ArduPlane V2.33.

After uploading V2.33 via Mission Planner, reset, radio calibration, flight modes, set hardware options to Enable Compass, Enable Airspeed, I entered the declination for San Diego (12.9) then checked Auto Dec., and rotated the airframe through 360 degrees, then finished the configuration.

After takeoff, we verified initial PIDs with a FBW_A flight segment.  Then we flew a wide, full circle so the magnetometer could calibrate.

Here is the .param file of the 02/06/12 (good) flight:  02-06-12 .param

Here is the .log file from that flight:  02-06-12.tlog

Here is the .param file of the 04/25/12 (bad) flight:  04-25-12 .param

Here is the .log file from that flight:  04-25-12.log

BTW: here are the Compass values from the 04-25-12 .param file.  They don't seem to make much sense.  The local declination is 12.9 not .225.  What do the offset values mean?


Another BTW:  I entered the .gpx file into the palentier.jar application and found that the data captured for a timeslot included:  

Longitude:  -117.2334

Latitude:  33.07738

Time:  1335375664001   (GMT seconds)

Compass EMPTY -  NO DATA

Elevation:  164.08

Date:  2012:04:25 10:41:04:07:00

None of the time slots I check had any Compass data.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


  • Developer

    The best way to calibrate the mag is to use a log. so and i think your mag offsets will change a fair bit by using a log.

    so a few data points

    1. calibrate the mag using the log of this flight.

    2. when you do a manual calibration, autolearning is turned off. so your fbwa stuff wouldn't have done anything.

    3. im not sure what you mean by the no compass data, can you post the gpx?

This reply was deleted.


DIY Robocars via Twitter
RT @chr1sa: Just a week to go before our next @DIYRobocars race at @circuitlaunch, complete with famous Brazilian BBQ. It's free, fun for k…
DIY Robocars via Twitter
How to use the new @donkey_car graphical UI to edit driving data for better training
Nov 28
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Nov 26
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Nov 25
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord:
Nov 23
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Nov 23
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20
DIY Robocars via Twitter
Incredible training performance with Donkeycar
Nov 9
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge…
Oct 31
DIY Robocars via Twitter
RT @JoeSpeeds: @chr1sa awesomely scary to see in person as our $1M robot almost clipped the walls as it spun at 140mph. But it was also awe…
Oct 29
DIY Robocars via Twitter
RT @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
Oct 25
DIY Robocars via Twitter
RT @IMS: It’s only fitting that @BostonDynamics Spot is waving the green flag for today’s @IndyAChallenge! Watch LIVE 👉…
Oct 23
DIY Robocars via Twitter
RT @IndyAChallenge: Congratulations to @TU_Muenchen the winners of the historic @IndyAChallenge and $1M. The first autonomous racecar comp…
Oct 23
DIY Robocars via Twitter
RT @JoeSpeeds: 🏎@TU_Muenchen #ROS 2 @EclipseCyclone #DDS #Zenoh 137mph. Saturday 10am EDT @IndyAChallenge @Twitch
Oct 23