Function quaternion_operation::convertToEigenMatrix

Function Documentation

Eigen::MatrixXd quaternion_operation::convertToEigenMatrix(geometry_msgs::msg::Quaternion quat)

convert geometry_msgs::msg::Quaternion to Eigen::MatrixXd

Parameters:

quat – input Quaternion

Returns:

Eigen::MatrixXd converted Eigen Matrix (4,1)