lineToConstantHeading

open fun lineToConstantHeading(endPositionInches: Vector2d): T

Move in a straight line to a given position with a constant heading.

Return

The builder

Parameters

endPositionInches

The end position (inches)


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

Move in a straight line to a given position with a constant heading.

Return

The builder

Parameters

endPosition

The end position

inUnit

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


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

Move in a straight line to a given position with a constant heading and 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 lineToConstantHeading(endPosition: Vector2d, inUnit: Distance, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): T

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

Return

The builder

Parameters

endPosition

The end position

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)