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

what are the typical values? #5

Open
mugenZebra opened this issue Apr 11, 2015 · 1 comment
Open

what are the typical values? #5

mugenZebra opened this issue Apr 11, 2015 · 1 comment

Comments

@mugenZebra
Copy link

Hi I am getting values from mympu.ypr[] such as these:
flag=0, yaw=1113954709, pitch=-1036282457, roll=1114848765
flag=0, yaw=1113954333, pitch=-1036282735, roll=1114848822
flag=0, yaw=1113954277, pitch=-1036282732, roll=1114848713
flag=0, yaw=1113954623, pitch=-1036282565, roll=1114848136

When I rotate them I can see changes, and when they are back to original position they return to what they was before, at least close to what they was. But the value range is too big in my opinion. I guess I am expecting to get 0-360 degrees? What are the typical values you have?

@mugenZebra
Copy link
Author

It turned out that I assigned mympu.ypr[n] to a integer type, which should be float.

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

1 participant