Page 1 of 1

9250 magnetometer calibration question

Posted: Sat Aug 25, 2018 12:19 am
by viktor_au
Question to Matrix team

I managed to calibrate 9250 Acc/Gyro.
To calibrate the 9250 magnetometer I need access to mX, mY, mZ.
However 9250 component allow only to CollectXYZdata for Acc and Gyro.
Magnetometer access is restricted to: UpdateCompassData and ReadingBearing raw values.
Does it mean I have no way to calibrate the FC8 mpu9250 magnetometer?
What I am missing?

Re: 9250 magnetometer calibration question

Posted: Sun Aug 26, 2018 10:22 pm
by viktor_au
When the mouse is over the CallComponentMacro->MPU9250->CollectXYZData
The floating message says:
Collect the data from the local accelerometer buffers.

Probably it should mean:
Collect the data from the local acc, gyro and magnetometer?

Re: 9250 magnetometer calibration question

Posted: Tue Aug 28, 2018 12:48 pm
by Benj
Hello,

Many thanks for letting us know of the issues.

I have now added a new macro called ReadCompassCalibration which should allow you to read the mX, mY and mZ values. It may be we could do the calibration for you when reading the compass values to make the component easier to work with.

I've also tidied up the info tooltip for the CollectXYZData macro.

The new components should now be available as part of the check for updates.