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

Gyro data is not reflected #113

Open
ArusTaimika opened this issue May 8, 2024 · 0 comments
Open

Gyro data is not reflected #113

ArusTaimika opened this issue May 8, 2024 · 0 comments

Comments

@ArusTaimika
Copy link

We are trying to estimate the attitude using the IMU of the Madgwick filter.
However, the gyro data is not reflected and the attitude estimation is wrong.
The code used is as follows.
Graphs of the acquired acceleration, gyro, and estimated attitude are also attached.
Can you tell what is causing this?
If it is my mistake, I really apologize.

q = ahrs.filters.Madgwick(gyr = np.array([g]),acc = np.array([a]))
qq= ahrs.common.Quaternion(q.Q[0])
self.euler = qq.to_angles()
acc_gyr_euler

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