View Single Post
  #10   Spotlight this post!  
Unread 24-10-2010, 21:50
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,102
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: How to code Macanum ddrive

Quote:
Originally Posted by Mark McLeod View Post
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



Last edited by Ether : 24-10-2010 at 22:16.
Reply With Quote