set Constraints
Sets the constraints for the bot's trajectory.
Return
The current instance of DefaultBotBuilder for chaining.
Parameters
constraints
The Constraints object containing the trajectory constraints.
fun setConstraints(maxVel: Double, maxAccel: Double, maxAngVel: Double, maxAngAccel: Double, trackWidth: Double): DefaultBotBuilder
Sets the constraints for the bot's trajectory.
Return
The current instance of DefaultBotBuilder for chaining.
Parameters
max Vel
The maximum velocity.
max Accel
The maximum acceleration.
max Ang Vel
The maximum angular velocity.
max Ang Accel
The maximum angular acceleration.
track Width
The track width.