bezierTo

fun bezierTo(controlPoints: List<Vector2d>, velConstraintOverride: VelConstraint? = null, accelConstraintOverride: AccelConstraint? = null): TrajectoryBuilder

Adds a curved path using a Bezier curve, with the current pose of this builder as the first control point and controlPoints as the remaining control points. The robot's heading follows the path tangent.


fun bezierTo(vararg controlPoints: Vector2d): TrajectoryBuilder

Adds a curved path using a Bezier curve, with the current pose of this builder as the first control point and controlPoints as the remaining control points.