View Single Post
  #2   Spotlight this post!  
Unread 15-02-2014, 09:29
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,062
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 wheel twist issues.

Quote:
Originally Posted by zackd97 View Post
This year we are working with a mecanum drive system. We have everything working peachy but the twist. When we twist the joystick, the robot moves in a completely random pattern. Forward, backward, and strafe are all fine.

To handle the operations we are using the Cartesian mecanum drive. For the twist we tried using

Code:
stick.GetTwist()
and
Code:
stick.GetZ()
Using the GetTwist caused the robot to spaz out upon enabling. Using the GetZ seemed to be working but when twisting the robot acted like it was fighting against itself. At first I thought it may be interference from other joystick values, but I also called the mecanum Cartesian drive with no input besides a 1 for twist, which caused the same spastic behavior as using GetTwist.

Do you guys have any idea what the problem may be? At this point, we think it may be a mechanical issue.
Gently tip the bot up on its side and take a picture of the bottom showing all 4 wheels and post it here.

Then put the bot on blocks (all 4 wheels off the floor) and give it a twist (rotate) command, tell us what direction each of the wheels is spinning.

What model joystick are you using?


Reply With Quote