Getting Compass Heading

6 views
Skip to first unread message

Stech

unread,
Aug 27, 2014, 10:07:45 PM8/27/14
to node-a...@googlegroups.com
When using QGroundControl, I get the heading data of 270.  Where do I get that data in the nav data in AR-DRONE?  QGroundControl is obviously grabbing and/or calculating it somehow.

Any pointers would be very much appreciated.

Sample of the nav data from node-ar-drone navdata response.
magneto:
 { mx: -57,
   my: 37,
   mz: -107,
   raw: { x: -129.2109375, y: 200.390625, z: 388.7109375 },
   rectified: { x: -129.2109375, y: 200.390625, z: 388.7109375 },
   offset: { x: 0, y: 0, z: 0 },
   heading:
    { unwrapped: 0,
      gyroUnwrapped: 0,
      fusionUnwrapped: -106.2732925415039 },
   ok: 0,
   state: 0,
   radius: 0,
   error: { mean: 240.25021362304688, variance: 73.8359375 } },

Stech

unread,
Aug 31, 2014, 10:00:32 AM8/31/14
to node-a...@googlegroups.com
We solved the silly problem.  Details and results are listed in our blog.
http://shredsts.com/2014/08/node-ar-drone-corrected-magnometer-heading/
Reply all
Reply to author
Forward
0 new messages