IMU3000 RollDice Sampling Rate

By robert_alkire , 7 December 2011

Hi all,

is it possible to determine the samplerate of the gyro and accel data which are generated by the RollDiceApp?
If Yes, which is the best way to do that?

best greetings G

robert_alkire

14 years 3 months ago

THX for the answere.
Do that mean if i get some data with IMUgetGyro() i just have to multiply it with 1/(200/(FIFO rate+1)) to get the angle over time?

phpbb Post ID
18798

robert_alkire

14 years 3 months ago

another question is how IMUupdateData(); influences the samplerate, cause in the Function Specification is written that it updates all realtime data of the motion algorithms.
Do that just mean that the next set of data sampled with 200/(FIFO rate+1) can be read over the serial interface?

phpbb Post ID
18801

jims_li

14 years 3 months ago

Please find below repsonese to your questions -

Do that mean if i get some data with IMUgetGyro() i just have to multiply it with 1/(200/(FIFO rate+1)) to get the angle over time?

You need to integrate the gyro output over time to calculate the angle.


another question is how IMUupdateData(); influences the samplerate, cause in the Function Specification is written that it updates all realtime data of the motion algorithms.
Do that just mean that the next set of data sampled with 200/(FIFO rate+1) can be read over the serial interface?

The IMUupdateData() updates the data at a sample rate of 200/(FIFO rate+1). Please note that the IMUupdateData() command updates the FIFO at this sample rate.

phpbb Post ID
18804
phpbb Topic ID
13989