Thread: Mecanum Trouble
View Single Post
  #3   Spotlight this post!  
Unread 28-01-2015, 10:14
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
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: Mecanum Trouble

Quote:
Originally Posted by Ether View Post
What he needs to do is swap the FrontRight and BackLeft motor commands (if the rotate clockwise command is causing the wheels to turn "outward") or swap the FrontLeft and BackRight motor commands (if the rotate clockwise command is causing the wheels to turn "inward").
The attached chart shows the situation if OP meant to say that a rotate clockwise command
caused the front wheels to rotate forward and the back wheels to rotate backward.
  • Green means wheel rotation forward
  • Red means wheel rotation backward
  • Columns B D F H J L show what it should be
  • Columns labeled "?" show what it is actually doing (per OP's testing)

As you can see, swapping the FrontRight and BackLeft motor commands will correct the problem:
  • the RCW and RCC will be corrected, and
  • the already correct FWD, REV, STR, & STL will be unaffected
Attached Thumbnails
Click image for larger version

Name:	wheel_rotation_chart.png
Views:	41
Size:	14.0 KB
ID:	18022  

Last edited by Ether : 28-01-2015 at 12:08.
Reply With Quote