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

random roll initial angle #9

Open
JadisHee opened this issue Jun 20, 2023 · 0 comments
Open

random roll initial angle #9

JadisHee opened this issue Jun 20, 2023 · 0 comments

Comments

@JadisHee
Copy link

Hi paul
Sorry to bother you. I run this program successfully but I find there's some problems with the roll initial angle.
the coordinate system of the accelerometer and gyroscope is north(x)-west(y)-up(z)[left part of the pic]. But when the euler angle been solved and I moved the IMU to find out the coordinate system, it seems like north(x)-east(y)-down(z)[right part of the pic].
1
so I times a rotation matrix to change the coordinate system to n-w-u, it works. but I place the imu horizontally, the roll changes randomly bewteem the number around 0 or around 180. I mean, this time I run the program roll is around 0, but next time when I run the program again, roll becomes around 180. so I want to figure out why this happens, Thank you!

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