Transform2d
Constructs a Transform2d from a translation vector and rotation angle.
Parameters
the translational component
the rotation angle in radians
Constructs a Transform2d from x and y distance measurements and a rotation.
Parameters
the x-component of translation
the y-component of translation
the rotational component
Constructs a Transform2d from x and y distance measurements and a rotation angle.
Parameters
the x-component of translation
the y-component of translation
the rotation angle measurement
Constructs a Transform2d from x and y coordinates (in inches) and a rotation.
Convenience constructor that assumes inch units for translation.
Parameters
the x-component of translation in inches
the y-component of translation in inches
the rotational component
Constructs a Transform2d from x and y coordinates (in inches) and a rotation angle (in radians).
Convenience constructor that assumes inch units for translation and radians for rotation.
Parameters
the x-component of translation in inches
the y-component of translation in inches
the rotation angle in radians
Constructs a Transform2d representing the transformation from one pose to another.
This computes the relative transformation: \(T = P_{initial}^{-1} \circ P_{final}\)
Parameters
the starting pose
the ending pose