Skip to content

Orientation visualizer understanding problem #13

Description

@vasanthsai

As you raised a issue here arduino/ArduinoCore-arc32#151

and you have corrected the issue using a matrix i.e

float c1 = cos(radians(roll));
float s1 = sin(radians(roll));
float c2 = cos(radians(pitch));
float s2 = sin(radians(pitch));
float c3 = cos(radians(yaw));
float s3 = sin(radians(yaw));
applyMatrix( c2_c3, s1_s3+c1_c3_s2, c3_s1_s2-c1_s3, 0,
-s2, c1_c2, c2_s1, 0,
c2_s3, c1_s2_s3-c3_s1, c1_c3+s1_s2_s3, 0,
0, 0, 0, 1);

Can you please explain the following matrix in terms simple
rotateY , rotateX, rotateZ functions

Did you also change anything in madgwick libraries ?

please help me to understand the basis of the changes.

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