View Single Post
  #18   Spotlight this post!  
Unread 08-02-2012, 14:49
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,089
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: help with mecanum drive code

Quote:
Originally Posted by austin1743 View Post
well we have tried out code and it works but wants to go to the left the entire time as if it is in constant strafing mode. Also we have the joystick set-up in the code so when it goes forward to go forward but it goes backwards when we press forward.

I have tried changing the drive to being negative but this doesn't change anything. any suggestions?
Do you have the mec wheels mounted properly*? If so, continue:

Put the robot up on blocks.

Make an empty table on a clean sheet of paper and fill it in as you run these tests:

Give a pure forward command, and for each wheel record the direction it is spinning.

Give a pure reverse command, and for each wheel record the direction it is spinning.

Give a pure strafe_right command, and for each wheel record the direction it is spinning.

Give a pure strafe_left command, and for each wheel record the direction it is spinning.

Give a pure rotate_right command, and for each wheel record the direction it is spinning.

Give a pure rotate_left command, and for each wheel record the direction it is spinning.

Post the test results here.


* viewed from the top, rollers should form an "X" pattern, not an "O".

Reply With Quote