Simple Question about the sample rate for the motion Library. I am attempting to use the Motion Library 6.12 and have set the DMP enabled (Sampling at 200 Hz is the default rate i think?) Ive noticed that the CA-SDK demo package for the motion library always has the FIFO rate for data coming out of the MPU-9250 to be the same as the Motion Library Sample Rate.
SO for each call to dmp_read_fifo (gyro,access, quat, ...) there is a call to inv_build_gyro(...), inv_build_accel(...), and inv_build_quat(...).
Is it expected that for every call to inv_build_xx there will be a corresponding call to inv_get_sensor_type_xx?
Is it possible to take data out of the fife at 100Hz -- send it to the ML at 100HZ and extract sensor data from the motion Library at 10HZ or some other rate <= 100 Hz? How should the inv_set_quat_sample_rate be set? to the input sample rate or the output sample rate?
Does this type of mismatched Fifo rate and ML sample rate make sense? The objet to het the benefits of the the accuracy of the motion library at a lower rate to transmit over BLE.