|
Mec wheel help
I was wondering if anyone could point me to some basic, working C++ mecanum drive code. We have successfully compiled and deployed code using the cartesian and polar mecanum drive methods, but our robot behaves in unexpected ways when we try to run the code in teleop.
First, the robot's wheels start moving before the joystick is even touched by the drivers. Then, when they do push forward and back and left and right on the joystick, is seems to have no effect on the drive train.
We're using the 3 D joystick.
We aren't sure if we are sending bad values in the code, or if we have hardware or wiring issues.
[Note: the robot ran fine using robot drive code with one joystick in arcade mode, so we're stumped.]
Any help would be greatly appreciated.
|