Hello!
All the time I have problem which Madgwick filter.
I have problem which axes and function update arguments
MPU-9250
MadgwickQuaternionUpdate(ax, ay, az, gx, gy, gz, my, mx, mz);
https://github.com/kriswiner/MPU-9250/blob/master/MPU9250BasicAHRS.ino
LSM9DS0
madgwickQuaternionUpdate(ax, ay, az, gx, gy, gz, mx, my, mz);
https://github.com/nicholasrobinson/LSM9DS0_AHRS/blob/master/LSM9DS0_AHRS.cpp
BNO-055
MadgwickQuaternionUpdate(ax, ay, az, gx, gy, gz, mx, my, mz);
https://github.com/kriswiner/BNO-055/blob/master/BNO055%2BBMP280_Basic_AHRS_t3.ino
Why there is so mismatch in axis?
It is said that Mahony & Madgwick filters use NED (North-East-Down) convention?
Replies
Can someone please explain to me why the data from the magnetometer always are caused by the form of "... mz)"?
Once Z axis is directed down, once up?
It seems to me that in one case the axle should be negated?