Function cras::getRPY(const ::geometry_msgs::msg::Quaternion&, double&, double&, double&)

Function Documentation

void cras::getRPY(const ::geometry_msgs::msg::Quaternion &quat, double &roll, double &pitch, double &yaw)

Get roll, pitch and yaw from the given quaternion.

Parameters:
  • quat[in] The quaternion to convert.

  • roll[out] Roll in radians.

  • pitch[out] Pitch in radians.

  • yaw[out] Yaw in radians.