forward
Move forward a given distance.
Return
The builder
Parameters
inches
The distance to move (inches)
Move forward a given distance.
Return
The builder
Parameters
distance
The distance to move
in Unit
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)
vel Constraint
The velocity constraint (inches/sec)
accel Constraint
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
in Unit
The unit of the distance (will be converted to inches)
vel Constraint
The velocity constraint (inches/sec)
accel Constraint
The acceleration constraint (inches/sec^2)