lineTo

open fun lineTo(endPositionInches: Vector2d): T

Move in a straight line to a given position.

Return

The builder

Parameters

endPositionInches

The end position (inches)


open fun lineTo(endPosition: Vector2d, inUnit: Distance): T

Move in a straight line to a given position.

Return

The builder

Parameters

endPosition

The end position

inUnit

The unit of the end position vector (will be converted to inches)


open fun lineTo(endPositionInches: Vector2d, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): T

Move in a straight line to a given position with custom velocity and acceleration constraints.

Return

The builder

Parameters

endPositionInches

The end position (inches)

velConstraint

The velocity constraint (inches/sec)

accelConstraint

The acceleration constraint (inches/sec^2)


open fun lineTo(endPositionInches: Vector2d, inUnit: Distance, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): T

Move in a straight line to a given position with custom velocity and acceleration constraints.

Return

The builder

Parameters

endPositionInches

The end position (inches)

inUnit

The unit of the end position vector (will be converted to inches)

velConstraint

The velocity constraint (inches/sec)

accelConstraint

The acceleration constraint (inches/sec^2)