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

JslGetIMUState Returning NaN for Gyro #10

Open
michaelarts opened this issue Aug 14, 2020 · 1 comment
Open

JslGetIMUState Returning NaN for Gyro #10

michaelarts opened this issue Aug 14, 2020 · 1 comment

Comments

@michaelarts
Copy link

michaelarts commented Aug 14, 2020

Hello,

I'm using JoyShockLibrary.cs to enable motion support via the DualShock 4. When I call JslGetIMUState(), the acceleration values are correctly set. However, the gyro values are always NaN. Do you have any idea what the issue is?

Thanks,

Michael

EDIT: Sorry, I needed to call JslStartContinuousCalibration() before getting valid values.

@JibbSmart
Copy link
Owner

JibbSmart commented Aug 20, 2020

Thanks for sharing this. I think JslStartContinuousCalibration() shouldn't be required to get valid values. I'll look into it.

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