Pages: 1 [2]   Go Down
Author Topic: Magnetometer Tilt Compensation for Yaw Axis Using HMC5883L and BMA180  (Read 11385 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you calibrated the Mag to get the offsets?  Remember, in a quadcopter, the mag is between 4 motors, which is going to affect the output.

You will need to pass rad/s for gyro (from memory I'm pretty sure that's what I do for Madgwick) and raw (non G) values for accel.

I've personally never had much success with mags on my quad - they seem to cause drift which affects pitch and roll.
Logged

Pages: 1 [2]   Go Up
Jump to: