Builder Reference

Builder Reference #

Path Primitives #

The begin pose is the origin with a heading of \( \frac{\pi}{6} \) .

lineToX() #

.lineToX(48)

lineToY() #

.lineToY(36)

splineTo() #

.splineTo(new Vector2d(48, 48), Math.PI / 2)

Heading Primitives #

The begin pose is the origin with a heading of \( \frac{\pi}{2} \) .

Tangent Heading (default) #

.setTangent(0)
.splineTo(new Vector2d(48, 48), Math.PI / 2)

Constant Heading #

.setTangent(0)
.splineToConstantHeading(Vector2d(48, 48), Math.PI / 2)

Linear Heading #

.setTangent(0)
.splineToLinearHeading(Pose2d(48, 48, 0), Math.PI / 2)

Spline Heading #

.setTangent(0)
.splineToSplineHeading(Pose2d(48, 48, 0), Math.PI / 2)