Our coding team has been having a problem with our swerve drives speed. When we move the swerve at an angle, the wheels move slightly faster than when we have it moving in other directions even though it is receiving a constant amount of voltage. Is there anyway we can fix this?
Whose swerve code are you using? Did you create it yourself?
Most likely your joystick command is greater in the diagonal because you are sending the hypotenuse of the max X and Y axis instead of just the x or y alone or some amount in between.
The solution is to normalize the joystick command.