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

Function Documentation

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

Convert euler angles to quaternion.

Parameters:
  • roll – double roll angle.

  • pitch – double pitch angle.

  • yaw – double yaw angle.

  • quaternion – geometry_msgs::msg::Quaternion pointer to store quaternion.