Function as2::frame::transformInverse(const float, const float, const float, const Eigen::Vector3d&)

Function Documentation

Eigen::Vector3d as2::frame::transformInverse(const float roll_angle, const float pitch_angle, const float yaw_angle, const Eigen::Vector3d &vector)

Apply a inverse quaternion rotation to a vector.

Parameters:
  • roll_angle – Roll angle to apply.

  • pitch_angle – Pitch angle to apply.

  • yaw_angle – Yaw angle to apply.

  • vector – Eigen::Vector3d Vector to rotate.

Returns:

Returns:

Eigen::Vector3d Rotated vector.