I’ve been trying to program our robot’s mecanum wheels and I’ve checked everything, they are lined up in an X (from the top) plugged into the right PWMs, and I’ve tried several variations of the mecanum code (one we used last year, one that was based on last year’s code but was put into a subvi, and one from a tutorial I found online). The problem’s I’ve been having are that the forward and backward’s is on the axis I set to rotation, the turning is on what should be forward and backward (easy fix, but I figured I’d include it since it shouldn’t be like that), and that the strafing has the wheels on each side going opposite the other wheel on that side but are going the same way as the other side.
Figured it out, for once a programming mentor was actually here to help and told us to invert the motors in begin.vi.
Your other option would have been that electrical told you the wrong speed controllers for frontLeft, frontRight, etc. Things can get realllly confusing trying to troubleshoot a miswired Mecanum setup.