Hi,
In my project development, I used one not well-known brand processor due to other requests. It was already listed that the released lib for MPU9150 was only for TI Msp series and cortex Mx. Accel and Gyro were enough now, so I plan to take motion_driver-5.1.3.
The problem I faced was the accel and gyro bias setting in my application. In the app example, mpu_set_gyro_bias_reg(gyro); mpu_set_accel_bias_6050_reg(accel) were used to set bias after measurement. I could get bias with self test and matched with the chip's attitude. The two functions above also give out a successful confirmation for set but the bias was apparently not well taken by DMP. I put the mpu9150 at 45 degree in X-Z coordinate while keep Y parallel with horizontal surface. X Z reading with mpu_run_self_test(gyro, accel) were right both around 1345 while Y was around 0. But in later reading after bias setting in dmp_read_fifo(gyro, accel, quat, &sensor_timestamp, &sensors, &more), it shows like (290,8,2121) while MPU9150 was not moved in the whole test.
Is there any special modification needed for mpu9150 with motion-driver-5.1.3?
why not use dmp_set_accel_bias to set bias for DMP? I tried but the result did not change so the function did not take effect although it give out 0/success return.