Function as2::frame::getYawFromQuaternion(const geometry_msgs::msg::Quaternion&)

Function Documentation

double as2::frame::getYawFromQuaternion(const geometry_msgs::msg::Quaternion &quaternion)

Convert quaternion to euler angles.

Parameters:
  • quaternion – geometry_msgs::msg::Quaternion to convert.

  • yaw – double pointer to store yaw angle.

Returns:

Double yaw angle.