Swerve code Runs Smoothly but when spinning 2 left modules are off

Hey guys working on the swerve code the swerve works great but when spinning the two left modules are off. When inverting the encoders the spinning works great but then the left modules are off. So, right now we can either drive or spin.
Any help is greatly appreciated thanks.
Here is our code

code link

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.