Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the fps of emu #4

Open
sherlockgjh opened this issue Aug 16, 2020 · 1 comment
Open

the fps of emu #4

sherlockgjh opened this issue Aug 16, 2020 · 1 comment

Comments

@sherlockgjh
Copy link

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.

@Varvrar
Copy link
Owner

Varvrar commented Sep 7, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants