What is the maximum frequency for magnetometerUpdateInterval?

693 Views Asked by At

What is the maximum frequency for magnetometerUpdateInterval? i cannot find any Apple documentation over this or posts about this. I know for the accelerometer it peaks around 107 Hz and for the gyroscope it peaks around 76 Hz. However, I fear that the magnetometer will be a lot less than this do to it settling to the magnetic field.

1

There are 1 best solutions below

2
On

According to this page the frequency is capped at a maximum value determined by the hardware capabilities of the device.

The value of this property is capped to minimum and maximum values; the maximum value is determined by the maximum frequency supported by the hardware. If your app is sensitive to the intervals of magnetometer data, it should always check the timestamps of the delivered CMMagnetometerData instances to determine the true update interval.