DefaultBotBuilder

open class DefaultBotBuilder(meepMeep: MeepMeep)

DefaultBotBuilder is a builder class for creating instances of RoadRunnerBotEntity. It allows setting various properties such as dimensions, start pose, constraints, drive train type, and color scheme.

Constructors

Link copied to clipboard
constructor(meepMeep: MeepMeep)

Functions

Link copied to clipboard

Follows the trajectory sequence built by the provided callback.

Follows the given TrajectorySequence with the bot.

Link copied to clipboard

Sets the color scheme of the bot.

Link copied to clipboard
fun setConstraints(maxVel: Double, maxAccel: Double, maxAngVel: Double, maxAngAccel: Double, trackWidth: Double): DefaultBotBuilder

Sets the constraints for the bot's trajectory.

Link copied to clipboard

Sets the dimensions of the bot.

Link copied to clipboard

Sets the drive train type of the bot.

Link copied to clipboard
fun setStartPose(pose: Pose2d): DefaultBotBuilder

Sets the starting pose of the bot.