calculate Transformation
Calculates the transformation between two Pose2d objects. A simulator for this behavior can be found here.
Return
The transformation needed to get from the origin pose to the result pose.
Parameters
r
The result pose.