strafe To
Move in a strafe straight line to a given position.
Return
The builder
Parameters
end Position Inches
The end position (inches)
Move in a strafe straight line to a given position.
Return
The builder
Parameters
end Position
The end position
in Unit
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
end Position Inches
The end position (inches)
vel Constraint
The velocity constraint (inches/sec)
accel Constraint
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
end Position
The end position
in Unit
The unit of the end position vector (will be converted to inches)
vel Constraint
The velocity constraint (inches/sec)
accel Constraint
The acceleration constraint (inches/sec^2)