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

Function Documentation

Eigen::Vector3d as2::frame::transformInverse(const tf2::Quaternion &quaternion, const Eigen::Vector3d &vector)

Apply a inverse quaternion rotation to a vector.

Parameters:
  • quaternion – tf2::Quaternion to apply.

  • vector – Eigen::Vector3d Vector to rotate.

Returns:

Returns:

Eigen::Vector3d Rotated vector.