Function as2::frame::eulerToQuaternion(const double, const double, const double, tf2::Quaternion&)

Function Documentation

void as2::frame::eulerToQuaternion(const double roll, const double pitch, const double yaw, tf2::Quaternion &quaternion)

Convert euler angles to quaternion.

Parameters:
  • roll – double roll angle.

  • pitch – double pitch angle.

  • yaw – double yaw angle.

  • quaternion – tf2::Quaternion pointer to store quaternion.