splineToConstantHeading

Adds a spline segment with constant heading interpolation.

Parameters

endPosition

end position

endTangent

end tangent


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

Adds a spline segment with constant heading interpolation.

Parameters

endPosition

end position

endTangent

end tangent

constraintsOverride

segment-specific constraints