Read gyro/accelerometer data with lower sampling rate
Is there a way to read gyro and accelerometer sensor data every few seconds (for instance every 2 or 3 or 4 seconds) ? Below are the only possible values which is not of use for me.
enum OutputDataRate {
ODR_25_HZ,
ODR_50_HZ,
ODR_100_HZ,
ODR_200_HZ,
ODR_400_HZ,
ODR_800_HZ,
ODR_1600_HZ,
ODR_3200_HZ;
}
This discussion has been closed.
Comments
You need to add the filter before the stream or logging that you are using. It will pass the data further every 2 seconds. Check in the API docs how filters are working.