lineToConstantHeading

Adds a line segment with constant heading interpolation.

Parameters

endPosition

end position


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

Adds a line segment with constant heading interpolation.

Parameters

endPosition

end position

constraintsOverride

segment-specific constraints