Function as2::frame::getYawFromQuaternion(const Eigen::Quaterniond&)

Function Documentation

double as2::frame::getYawFromQuaternion(const Eigen::Quaterniond &quaternion)

Convert quaternion to euler angles.

Parameters:
  • quaternion – Eigen::Quaternion to convert.

  • yaw – double pointer to store yaw angle.

Returns:

Double yaw angle.