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
- Log in to post comments
phpbb Topic ID
13989
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
Re: Re: IMU3000 RollDice Sampling Rate
The sample rate of the gyro and accelerometer in Hz would be 200/(FIFO rate+1).
Re: Re: IMU3000 RollDice Sampling Rate
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?
Re: Re: IMU3000 RollDice Sampling Rate
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?
Re: Re: IMU3000 RollDice Sampling Rate
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.