line To
Move in a straight line to a given position.
Return
The builder
Parameters
end Position Inches
The end position (inches)
Move in a 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 lineTo(endPositionInches: Vector2d, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): T
Move in a 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 lineTo(endPositionInches: Vector2d, inUnit: Distance, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): T
Move in a straight line to a given position with custom velocity and acceleration constraints.
Return
The builder
Parameters
end Position Inches
The end position (inches)
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)