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 ?
Re: Re: compass reading
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.
Re: Re: compass reading
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.
Re: Re: compass reading
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.
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?