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

gyroscope, 3rd axis not working ? #19

Open
jonasfrey opened this issue Feb 28, 2021 · 4 comments
Open

gyroscope, 3rd axis not working ? #19

jonasfrey opened this issue Feb 28, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@jonasfrey
Copy link

jonasfrey commented Feb 28, 2021

i think one of the axes is missing,
when the controller is layed flat on a table and i turn it to the left and right there is no value chang in
inState.gyroscope.x nor
inState.gyroscope.y nor
inState.gyroscope.z

compile and run the attached file to test what i mean

main.cpp.txt

953fde32-c67b-4505-9a78-18a16c43002f.mp4
@MicaelJarniac
Copy link

That'd be the yaw, right?

@jonasfrey
Copy link
Author

well it depends on how you look at the controller if the usb c port points at the screen , then yes it would be the yaw axis
image
image

@Ohjurot
Copy link
Owner

Ohjurot commented Mar 4, 2021

Sorry for my late response. That is quit interesting, I did notice some odd things there too but I never investigated that issue due to lack of time. I will try to solve the issue as soon as possible thx for reporting

@Ohjurot Ohjurot added the bug Something isn't working label Mar 4, 2021
@Ohjurot Ohjurot added this to the Greater support & Bindings milestone Mar 4, 2021
@Ohjurot
Copy link
Owner

Ohjurot commented Apr 27, 2021

I also have problems with the y axis like shown in the video. Will investigate now

Edit 01: The accelerometer is working very well with your code... that interesting because it should work the same way as the gyros

Edit 02: It may be possible that yaw isn't exposed (or at least not there where I suspected it) the currently yaw called position is more like a combination out of the other two axis.... but i continue investigating

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants