Mag orientation and offsets

Hi

 

Thanks to Jason and DIY drones / ardupilot community for creating all this for us!

 

I have been fooling around with latest arducopter 2 beta 1. So far everything has gone very smoothly

 

Quick question. where do we define how our magnetometer is mounted? also How do we perform the mag offset using this code? or are these determined automatically in the code?

 

Thanks

Al

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

Join diydrones

Email me when people reply –

Replies

  • Is the Sparkfun mag supported in the new code?
  • Hi,

    The mag offsets are determined automatically in the code.

    However, you still have to modify a #define in the code to tell how your mag is mounted.The default position is the one described in the wiki so if yours is like that, you can use the firmware provided by the APM Mission Planner with no modification.

    Otherwise, if your mag is mounted differently, you will have to download the code, modify APM_Config.h as explained in the wiki, and build your own firmware.

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…