lineTo

Adds a line segment with tangent heading interpolation.

Parameters

endPosition

end position


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

Adds a line segment with tangent heading interpolation.

Parameters

endPosition

end position

constraintsOverride

segment-specific constraints