Non-smooth flywheel

I think the best way to solve this is to create a feedback loop in your code where you constantly get the motor’s current speed and compare it to the speed you want which gives the error value. You then adjust the speed accordingly to make the error as small as possible. This simple loop is called a proportional feedback loop. For even more precise and accurate control, you could look into a PID controller to make your flywheel speed even better. If you want more information on feedback loops in Vex, you can look here. Also instead of using velocity, use voltage to allow for greater control. Setting a velocity will instead use the motor’s feedback loop which you aren’t able to control.