setConstraints

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

maxVel

The maximum velocity.

maxAccel

The maximum acceleration.

maxAngVel

The maximum angular velocity.

maxAngAccel

The maximum angular acceleration.

trackWidth

The track width.