SmartMotion® MEMS Motion Sensors

phpbb forum ID
13263
By ccanovas , 29 December 2016

Hi,

I use 9250 with DMP enabled to get LP_QUAT_6.

This function give me YAW PITCH ROLL , i pass the quaternion that i got from the dmp.

public static double[] getYawPitchRoll(this double[] q)
{
double gx, gy, gz;

var ypr = new double[3];
gx = 2d * (q[1] * q[3] – q[0] * q[2]);
gy = 2d * (q[0] * q[1] + q[2] * q[3]);
gz = q[0] * q[0] – q[1] * q[1] – q[2] * q[2] + q[3] * q[3];

By ccanovas , 28 December 2016

Hi,

I use 9250 with DMP enabled to get LP_QUAT_6.

This function give me YAW PITCH ROLL , i pass the quaternion that i got from the dmp.

public static double[] getYawPitchRoll(this double[] q)
{
double gx, gy, gz;

var ypr = new double[3];
gx = 2d * (q[1] * q[3] - q[0] * q[2]);
gy = 2d * (q[0] * q[1] + q[2] * q[3]);
gz = q[0] * q[0] - q[1] * q[1] - q[2] * q[2] + q[3] * q[3];

By wxzhuhua , 28 December 2016

Hi,

I have issue on making it correct with eMD 6.12, no matter how I change the matrix, it’s always wrong.

For example, when I rotate the board by Z axis, it shows the wrong direction.

Any way to fix this? I tried the ‘t’ command, passed but still have the issue.

Any help would be appreciated, thank you.

Bob

By wxzhuhua , 28 December 2016

Hi,

I have issue on making it correct with eMD 6.12, no matter how I change the matrix, it's always wrong.

For example, when I rotate the board by Z axis, it shows the wrong direction.

Any way to fix this? I tried the 't' command, passed but still have the issue.

Any help would be appreciated, thank you.

Bob

By woblin , 22 December 2016

Please could you employ knowledgeable technician to respond in Forum?

There are many (perhaps most?) requests for information in Forum without any response at all,
and I have not found one single example of a response from Invensense technician in Forum.

my particular interest is support for ICM-30630, which has many requests and queries,
but no official response.
This does little to enhance credibility in product.

By yairsarid , 20 December 2016

I read all the data registers in the MPU9250.
I have a problem with the Temperature.
how can I convert the Temperature in LSB to Celsius?

I have seen some options:

1. temperature=(((float)temperatureLSB-21)/333.87)+21;

2. temperature=(((float)temperatureLSB)/333.87)+21;

3. temperature=(((float)temperatureLSB)/340)+21;
which one is the correct?

By shbulat , 15 December 2016

Has anyone run motion driver 6.12 on NRF52832 with MPU9250. I have run motion driver on stm32f4discovery, and it works perfectly, as can be seen by orientation visualisation. But i am looking for running motion driver on NRF52832. I found this project on git and tried it, but results did not satisfy me, because visualisation did not seem correct as with stm32f4discovery. Has anyone else tried. So if anyone has succeeded with running motion driver on NRF52832, please, spread this knowledge.