Quote:
Originally Posted by zackd97
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
and
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?