Function quaternion_operation::getRotationMatrix

Function Documentation

Eigen::Matrix3d quaternion_operation::getRotationMatrix(geometry_msgs::msg::Quaternion quat)

Get the Rotation Matrix from geometry_msgs::msg::Quaternion.

Parameters:

quat – input geometry_msgs::msg::Quaternion

Returns:

Eigen::Matrix3d get 3x3 Rotation Matrix