Skip to content

(C++) rotation in transformation matrix is incorrect #21

@mitjap

Description

@mitjap

When building transformation matrix from 'alpha1', 'alpha2', 'alpha3', rotation part is not correct. 'alpha1', 'alpha2', 'alpha3' are Euler angles and can not be just inserted in matrix like this:

H(0, 1) = -alpha3;

Rotation part of the matrix should be calculated the same way it is done in python version:

def euler_angles_to_rotation_matrix(

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