Skip to content

Gyro data is not reflected #113

@ArusTaimika

Description

@ArusTaimika

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions