Skip to content

Questions about the format of quaternions #1

@wq-wust

Description

@wq-wust

In cartesian_dmp.py, the rotation matrix is converted to quaternion (x, y, z, w) format using R.from_matrix(demo_trajectory[i][:3,:3]).as_quat(), but in quaternion_dmp, the format of quaternion is (w,x,y,z). There is a format mismatch, and I am not sure if you noticed this problem.

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