0 Magnetometer problem since 2.5.* HMC5843 Posted by druckgott on March 31, 2012 at 11:28am Hi I have a sparkfun Mag:HMC5843in this version it works perfekt:ArduCopter 2.2b4in the newest version it don´t work 2.5.3is this no longer supportet?thxdruckgott You need to be a member of diydrones to add comments! Join diydrones Email me when people reply – Follow
Replies
I have reupload this :ArduCopter 2.2b4 and it works again.
than I upload over MP the 2.5.3 and it also works, but it´s around 37 deg away
Then I test my old variant via arduino upload, but get an error:
#define MAG_ORIENTATION AP_COMPASS_SPARKFUN_COMPONENTS_DOWN_PINS_FORWARD ROTATION_ROLL_180_YAW_90
ArduCopter.cpp: In function 'void init_compass()':
sensors:117: error: expected `)' before 'ROTATION_ROLL_180_YAW_90'
What can I do to get it right???
If I put in a declination of:-35,16288 instaed of 2,15 than the compass is right if I put the copter to North