toPose

open fun toPose(pose: Pose2d): Pose2d

Return

the Robot pose representation of the Cartesian pose

Parameters

pose

the Cartesian pose to convert to Robot form


open fun toPose(x: Double, y: Double, heading: Double): Pose2d

Return

the Robot pose representation of the Cartesian pose

Parameters

x

the Cartesian x coordinate

y

the Cartesian y coordinate

heading

the Cartesian clockwise heading