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

Function Documentation

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

Convert quaternion to euler angles.

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

  • roll – double pointer to store roll angle.

  • pitch – double pointer to store pitch angle.

  • yaw – double pointer to store yaw angle.