Function as2::frame::getYawFromQuaternion(const tf2::Quaternion&)

Function Documentation

double as2::frame::getYawFromQuaternion(const tf2::Quaternion &quaternion)

Convert quaternion to euler angles.

Parameters:
  • quaternion – tf2::Quaternion to convert.

  • yaw – double pointer to store yaw angle.