Skip to content

Errors calculating angles and wrong angles #20

Description

@RobertReichel

Hello!

Whenever I use the code you provided, I get the following two errors:

  • When using randomly chosen Quaternions, the filter won't be able to calculate the expected euler angles and give me the error that the argument in a trigonometric function (sin, cos etc.) is wrong.

  • When the filter runs without an error, the euler angles I read with the getRoll etc. methods are completely wrong and when I rotate my sensor 360° around one axis, the corresponding euler angle changes only in around 50-60°

I update the filter with a frequency of 512 Hz, changed my beta to values between 1 and 0.1 and the gyroscope values are in degrees per second. Do you know a solution or what possibly might be my problem?

Kind Regards,
Robert

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions