Quote:
Originally Posted by Jimbo2032
Going forward and backward works as it should, however, when we attempt to translate left or right the robot wants to rotate about it center axis.
|
Do you mean it rotates instead of moving sideways, or that it moves sideways but doesn't maintain its orientation while doing so?
What does the robot do when you command it to turn in place?
Are you certain the mecanum wheels are mounted properly? The diagonal rollers should form a diamond shape where they contact the floor; they will look sort of like an X when viewed from above. If one or more of them is backwards, the turn and strafe behavior will not be as expected.
Are you certain you have wired the speed controllers for the four motors to the proper PWM connectors? Getting a couple of them swapped would really confuse things.