ios_logger icon indicating copy to clipboard operation
ios_logger copied to clipboard

the fps of emu

Open sherlockgjh opened this issue 5 years ago • 1 comments

I change the imuFreq, but the fps of imu is not changed. I want to consult you about how to change the fps of imu.

sherlockgjh avatar Aug 16 '20 15:08 sherlockgjh

I change the imuFreq, but the fps of imu is not changed. I want to consult you about how to change the fps of imu.

Yes, you changed right variable. imuFreq changes gyroUpdateInterval, accelerometerUpdateInterval and deviceMotionUpdateInterval. According Apple's documentation it should change fps of imu. But "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". I dont know min value, but max = 100 for all devices as far as I know.

Varvrar avatar Sep 07 '20 09:09 Varvrar