Auton increase robot speed

We are trying to make our robot speed faster in auton but can’t figure it out. Any suggestions are helpful.

Here is the code that we are using:

The default motor and drivetrain speed is 50 rpm, you can either set the value used for subsequent drivetrain drive commands like this.

drivetrain.set_drive_velocity(100, RPM)

or better, add a speed into each drive or drive_for command.

drivetrain.drive_for(FORWARD,  500, DEGREES, 100, RPM, wait=True)
5 Likes