Quote:
Originally Posted by Mark McLeod
For a first test to make sure everything works the way you expect, I'd suggest using just one of the Attach 3 joysticks and using the simple code as-is.
|
Wise advice.
Something I've found to be helpful too: Put the robot up on blocks and observe the wheels:
- When you command straight forward, all four wheels should spin forward.
- When you command straight backward, all four wheels should spin backward.
- When you command pure CW rotation, the front and rear port side wheels should spin forward and the front and rear starboard wheels should spin backward.
- When you command pure CCW rotation, the front and rear port side wheels should spin backward and the front and rear starboard wheels should spin forward.
- When you command pure strafe left, the front port and rear starboard wheels should spin backward, and the front starboard and rear port wheels should spin forward.
- When you command pure strafe right, the front port and rear starboard wheels should spin forward, and the front starboard and rear port wheels should spin backward.
Pay careful attention to how you have the mecanum wheels mounted too:
Right way Wrong way