How to make a motor spin faster when using rotateFor

I programmed the bot to go forward by one revolution of the motors, but it doesn’t go fast enough for all of the auton to fit in 15 seconds. How can I increase the speed of the motors and still use rotateFor?

Thanks in advance

Edit: I’m using the vexCode text

The block “set [motor] velocity to [number] [percent | rpm]” block will set the speed at which the motor will spin:

13 PM

But if the motor velocity is already set to 100%, you can’t make the motor spin any faster.

3 Likes

I’m using the vexCode text, not the blocks. My bad for not making it clear

My bad, I wasn’t thinking. All you have to do is Motor.setVelocity() :confused:

1 Like