Currently, we are using two Falcon 500s to control our robot arm. The arm is designed to move between 0 and 115 degrees with the vertical axis of the left joystick. Last week, they were working fine, spinning in the same direction and in sync. The robot was rewired a few days ago. We double-checked the wiring and everything was plugged in where it was supposed to go. However, the motors began spinning in opposite directions. We have tried altering the setInverted between true and false, but nothing happens. Are there any ideas on what could be causing the issue?
Link to our code: GitHub - EvanWang07/BaseTalonFXSwerveV2024: This is the current code for the 2023-2024 robot for FRC team 6934