Function quaternion_operation::getRotation

Function Documentation

geometry_msgs::msg::Quaternion quaternion_operation::getRotation(geometry_msgs::msg::Quaternion from, geometry_msgs::msg::Quaternion to)

Get the Rotation from 2 Quaternions.

Parameters:
  • from – from pose orientation

  • to – to pose orientation

Returns:

geometry_msgs::msg::Quaternion Rotation between 2 pose orientation described as Quaternion