calculateTransformation

fun Pose2d.calculateTransformation(r: Pose2d): Pose2d

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.