Skip to content

Fix discrepancy of quaternion coefficent order #159

@juelg

Description

@juelg
  • we use the eigen quaternion constructor to create a pose which has order wxyz
  • we use the .coef function to read out the values which is in order xyzw

From the eigen docs

  /** Constructs and initializes the quaternion \f$ w+xi+yj+zk \f$ from
    * its four coefficients \a w, \a x, \a y and \a z.
    *
    * \warning Note the order of the arguments: the real \a w coefficient first,
    * while internally the coefficients are stored in the following order:
    * [\c x, \c y, \c z, \c w]
    */

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions