How do I add an internal timestamp and fix sampling rate issues?

I code to record eular angle, linear acceleration and gravity vector for multiple sensors that then saves these data to a file.

At the moment I have two questions:

  1. How do I save the internal timestamp recorded from the sensor?

  2. When recording from 3 or more sensors the data sampling rate for all but the first 2 sensors gets very erratic. Is there a way to fix this?

Comments

  • First, you can only do one sensor fusion output at a time.
    Second, timestamps are already provided for you with our APIs.
    It seems that you are not adhering to the sensor fusion and bluetooth rules that have max throughputs. You need to make sure that the max total rate is 100Hz for all sensors.

Sign In or Register to comment.