Skip to content

Altimu10v5 strange readings in XY axis Euler output #28

@GrzegorzKarczewski

Description

@GrzegorzKarczewski

Ok, so i've calibrated the device and have a strange output in euler.
sample.txt

Every axis works and shows correct values when i turn the Z axis clockwise.
But when i turn it to the lef(crossing North - 0 value) Z axis shows correct values but as you can see the other pitch and roll suddenly shows really high values around 170+ being still flat on the table.

When i switch to quaternion output the readings behave just fine and shows correct values for yaw pitch and roll however i turn the board around Z axis.

Can someone point me to the code thats responsible for that? I've looked through the main cpp file, but i dont see where it can fail like that.
Any help is appreciated
Thanks in advance!

Ps. Somehow turning the device along the Z axis counterclockwise interferes with calculating X and Y and its quite magical to me how this is happening

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