poseFrom

fun Vector2d.poseFrom(tUnit: Distance = Inches, r: Double, rUnit: Angle): Pose2d

Create a pose in the desired units to be converted to conventional Inches and Radians units.

Return

the vector in Inches

Parameters

tUnit

the unit of both the x and y values

r

the heading value

rUnit

the unit of the heading value