Function as2::frame::eulerToQuaternion(const double, const double, const double, Eigen::Quaterniond&)

Function Documentation

void as2::frame::eulerToQuaternion(const double roll, const double pitch, const double yaw, Eigen::Quaterniond &quaternion)

Convert euler angles to quaternion.

Parameters:
  • roll – double roll angle.

  • pitch – double pitch angle.

  • yaw – double yaw angle.

  • quaternion – Eigen::Quaterniond pointer to store quaternion.