View Single Post
  #8   Spotlight this post!  
Unread 16-02-2015, 10:29
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
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: Strafing Problem

Quote:
Originally Posted by Tweety View Post
I'm having issues with the mecanum drive code. Problem is that strafing doesn't work. Robot can turn fine and go forward/back. I referred to how the wheels should be moving when it's strafing and it seems like they are just doing something else. Both sides are moving outwards so its just countering itself.
Print the attachment.

Put your bot up on blocks and observe wheel directions for all six commands (forward, reverse, spin right, spin left, strafe right, strafe left) and carefully compare them to the printout. Mark up the printout to show any wheel directions which do not agree with the attachment.

Take a picture of the marked-up printout and post it, along with your code.


Attached Thumbnails
Click image for larger version

Name:	mecanum_wheel_directions (correct).png
Views:	77
Size:	11.9 KB
ID:	18389  

Last edited by Ether : 16-02-2015 at 11:05.
Reply With Quote