strafeTo

open fun strafeTo(endPositionInches: Vector2d): T

Move in a strafe straight line to a given position.

Return

The builder

Parameters

endPositionInches

The end position (inches)


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

Move in a strafe 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 strafeTo(endPositionInches: Vector2d, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): T

Move in a strafe 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 strafeTo(endPosition: Vector2d, inUnit: Distance, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): T

Move in a strafe straight line to a given position with 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)