Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

These were discussed in this meeting

The methods are documented in the headers. However, I see the doxygen docs are not generating correctly at the moment so I'll copy them here:

get/setRPY is recommended

  /**@brief Set the quaternion using fixed axis RPY
   * @param roll Angle around X 
   * @param pitch Angle around Y
   * @param yaw Angle around Z*/
  void setRPY(const btScalar& roll, const btScalar& pitch, const btScalar& yaw)

get/setEuler is defined as follows:

  /**@brief Set the quaternion using Euler angles
   * @param yaw Angle around Y
   * @param pitch Angle around X
   * @param roll Angle around Z */
    void setEuler(const btScalar& yaw, const btScalar& pitch, const btScalar& roll)

get/setEulerZYX is deprecated due to being ambiguous in different implementations:

  /**@brief Set the quaternion using euler angles 
   * @param yaw Angle around Z
   * @param pitch Angle around Y
   * @param roll Angle around X */
  void setEulerZYX(const btScalar& yaw, const btScalar& pitch, const btScalar& roll) __attribute__((deprecated))