compass reading

By jdsimeao , 29 October 2013

Hi I have a question concerning the MPU9150, Do i have tor ead the magnetometer data from the registers using "int mpu_get_compass_reg" or can I read it from the FIFO? it is written that the auxiliary sensors can be written to the FIFO, but I am not sure if the magnetometer is considered an auxiliary sensor or not ?

guy_mcilroy

12 years 4 months ago

Yes, the magnetometer is considered as an auxiliary sensor as well. You can read from the FIFO by enabling the I2C for the mag sensor.

phpbb Post ID
24219

aimayday8

11 years 11 months ago

Does this mean that magnetometer x/y/z data is available from the DMP also? I would like to get gyro, accelerometer, and magnetometer readings directly from the DMP for post-processing and 9-axis sensor fusion but I am not sure how to enable the DMP for magnetometer read and where/how the magnetometer data is to be read from the DMP packet. Please advise.

Thanks.

phpbb Post ID
24222

guy_mcilroy

11 years 9 months ago

The mag data is available from the FIFO, which is on the chip.

The DMP at this time does not do any processing for the mag data. It only fuses data from the accel and the gyro. You can also access the mag registers directly in order to read their data. Please refer to page 44 of the MPU-9150 product specification.

phpbb Post ID
24225

alqayyum1

8 years 7 months ago

Hello guys,

I have an important question.

What is the data format (type) of 9-axis combination data which Motion Fusion processing in MPU-9250 sensor?

phpbb Post ID
36420
phpbb Topic ID
15720