I am using the INVENSENSE motion driver v6.12 for the MPU9250 with an STM32F411 microcontroller. I changed some files in it so the driver can communicate with the MPU9250.
When I get raw values from FIFO buffer, there are normal compass and accelerometer values, but the gyro and quaternion values seem to be incorrect (gyro_x and gyro_y axes are incorrect, but gyro_z axis is ok.)
I'm quite new to DMP, so I'm not sure what I should change. What could be the reason of the incorrect values?