Skip to content

mounting orientation? #114

Description

@texasfunambule

The quat9 example seems to work fine (except maybe for compass alignement), yet calculation is all done assuming the pcb orientation is horizontal. In my project the pcb has to be vertical. I tried to change the matrices CPASS_MTX or B2S_MTX in ICM20948.cpp, but there was no way to get the orientation correct. Could not find documentation for B2S_MTX (I sassume "board 2 system"?), or indication if CPASS can be changed or is tuned for the position of the 2 dies carrying the accel/gyro and the compass. Should they be changed both simultaneously? Anybody knows?

ICM20948 on Arduino Due
https://shop.pimoroni.com/products/icm20948

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