problems with low sampling frequency on iOS
accelerometer.sampleFrequency = sampleFrequency;
gyro.sampleFrequency = sampleFrequency;
but I'm finding that the number of samples I'm receiving from both streaming and from logging to be inconsistent with the set sampling frequency for frequencies <20Hz. The sampling rate I'm getting is higher than expected for frequencies <20Hz and when I set it to <10Hz, I get that the gyrometer returns twice the samples as does the accelerometer. At >30Hz, everything seems to work fine.
Are arbitrary values permitted for these settings? I suppose a quick workaround would be to downsample a higher frequency that seems to be working, but this wouldn't be useful for logging long times where memory would become a limitation.