splineToConstantHeading

fun splineToConstantHeading(endPosition: Vector2d, endTangent: Angle, velConstraintOverride: TrajectoryVelocityConstraint, accelConstraintOverride: TrajectoryAccelerationConstraint = baseAccelConstraint): TrajectoryBuilder

Adds a spline segment with constant heading interpolation.

Parameters

endPosition

end position

endTangent

end tangent

constraintsOverride

segment-specific constraints