Problems with acc/gyro sample rate in iOS
Hi,
I'm having trouble achieving the gyro/acc sample rate that I want. Device is a CPRO. Let's say I specify the sampleFrequency property to 100 Hz, I measure 92-93 Hz streaming (both with gyro or acc). If I stream both gyro and acc simultaneously, I get around 87 Hz.
If I specify 50 Hz, the measured sample rate is about 48 Hz (47 Hz with both gyro/acc streaming). I simply measure it by counting the samples and dividing by the elapsed time.
Any ideas what this might be?
-Jakob
This discussion has been closed.
Comments
I'm streaming accelerometer and gyro data simultaneously at 50hz. I'm receiving between 44 and 48 data entries per second/per sensor. If i change the frequency to, for example 60hz, i'm getting about 80 data entries per second and so on. Summarized: I'll never get frequency i specified.