My team has an X-drive for this year’s competition. When we went to our first and second competitions, we noticed that our drive is somewhat slower than the other X-drive robots. Below is our code for the drivetrain for driver control:
First, I don’t see anything in your code that would slow your drivetrain. You could check that your motors are turning at full speed by using the motors tab on the v5 brain. If your motors are turning at 200 rpm in a straight line or a pure turn, then you are getting maximum raw performance.
The reality of the situation is as follows, either your motors are not turning at full speed(probably not the case), or your competition’s drive trains are probably designed to go faster(likely). Teams may be using 4" wheels on their X, using faster gearboxes, or are gearing up their drive motors. Each approach has advantages and disandvantages
though with V5 this has gotten better
You are using omni wheels for this X drive right? make sure they can spin freely when the axle is out of the motor and arent rubbing on anything
picutures would help
What i have found is the motors can deform bearing flats if you tighten them all the way so make sure your using a good hole on the flat(to fix simply drill out the flat )
I see the issue. You need to multiply the values by 2. The controllers give values from -100 to 100, but 200 RPM motors accept input between -200 and 200.