Accelerometer/Gyroscope output frequency
Hello,
We have successfully developed an Android application based on your device and your SDK. Thank you for the great job and providing such a API.
We still have a little issue, we stream data from the device (a metawear R Pro) and we wrote the data in a file (each record as a row).
We are streaming at this frequency :
Here is the code used for configuring the sensors :
Any idea why did we have this weird behavior ?
Thanks you for your time,
Regards.
We have successfully developed an Android application based on your device and your SDK. Thank you for the great job and providing such a API.
We still have a little issue, we stream data from the device (a metawear R Pro) and we wrote the data in a file (each record as a row).
We are streaming at this frequency :
- 25 Hz for the gyroscope
- 12.5 Hz for the accelerometer
Here is the code used for configuring the sensors :
Accelerometer.ConfigEditor<?> editor = accelerometer.configure();
editor.odr(12.5f);
editor.range(2.0f);
editor.commit();
gyroscope.configure().odr(GyroBmi160.OutputDataRate.ODR_25_HZ)We retrieve the data by adding an AsyncRoute to the accelerometer and another AsyncRoute for the GyroScope.
.range(GyroBmi160.Range.FSR_125).commit();
Any idea why did we have this weird behavior ?
Thanks you for your time,
Regards.
This discussion has been closed.
Comments
apply
function.