forward

open fun forward(inches: Double): T

Move forward a given distance.

Return

The builder

Parameters

inches

The distance to move (inches)


open fun forward(distance: Double, inUnit: Distance): T

Move forward a given distance.

Return

The builder

Parameters

distance

The distance to move

inUnit

The unit of the distance (will be converted to inches)


open fun forward(inches: Double, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): T

Move forward a given distance with custom velocity and acceleration constraints.

Return

The builder

Parameters

inches

The distance to move (inches)

velConstraint

The velocity constraint (inches/sec)

accelConstraint

The acceleration constraint (inches/sec^2)


open fun forward(distance: Double, inUnit: Distance, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): T

Move forward a given distance with custom velocity and acceleration constraints.

Return

The builder

Parameters

distance

The distance to move

inUnit

The unit of the distance (will be converted to inches)

velConstraint

The velocity constraint (inches/sec)

accelConstraint

The acceleration constraint (inches/sec^2)