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

Missing Yaw transfer #41

Open
Pascal-Lohscheidt opened this issue Jan 30, 2020 · 8 comments
Open

Missing Yaw transfer #41

Pascal-Lohscheidt opened this issue Jan 30, 2020 · 8 comments

Comments

@Pascal-Lohscheidt
Copy link

Hey, I just wanted to use your code for my esp8266, and I realised after looking at it that there is not Yaw Transfer ongoing. As far as I know, if you pitch your device and then yaw it the pitch will be not correct anymore.
You can see why in this video clip. I´ve already added a time mark.
https://youtu.be/4BoIE8YQwM8?t=606

Maybe I just was blind and didn´t see it and you´ve already added it.
Maybe if have the time I can change it myself

@bart
Copy link

bart commented Apr 3, 2020

Yes, and unfortunately it also looks like the yaw angle gets wrong after moving the sensor around for a few seconds in each axis. When moving back to start orientation pitch and roll are about 0 again but yaw is about 45 degrees off. Might it be the same reason? Any updates on this @Pascal-Lohscheidt ?

Thanks!

@Pascal-Lohscheidt
Copy link
Author

Pascal-Lohscheidt commented Apr 3, 2020 via email

@bart
Copy link

bart commented Apr 3, 2020

So you think the reason for wrong yaw angle over time is the missing yaw transfer, too?

@Pascal-Lohscheidt
Copy link
Author

Pascal-Lohscheidt commented Apr 3, 2020 via email

@bart
Copy link

bart commented Apr 3, 2020

I used the default get angle example which gives me this issue/ So seems to be a general problem caused by library. I will try to build an own function that generates angle by taking raw accelerometer and gyro values into account. Let's see if it works. After implementing this I hopefully know what is missing in tockn library

@Pascal-Lohscheidt
Copy link
Author

Pascal-Lohscheidt commented Apr 3, 2020 via email

@bart
Copy link

bart commented Apr 3, 2020

I think I'll still use the library to get raw values but but not the angles. I'll let you know.

@carlosgellida
Copy link

This library do not gives the Euler angle, it only integrates the angular velocity, which isn't the same. I'll change to other library...

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

3 participants