Thread: Mec wheel help
View Single Post
  #1   Spotlight this post!  
Unread 07-02-2014, 12:08
Mr. 1033's Avatar
Mr. 1033 Mr. 1033 is offline
Registered User
AKA: Paul E. Lathrop
FRC #1033 (Team CLUTCH)
Team Role: Coach
 
Join Date: Jun 2012
Rookie Year: 2003
Location: United States
Posts: 40
Mr. 1033 is a jewel in the roughMr. 1033 is a jewel in the roughMr. 1033 is a jewel in the roughMr. 1033 is a jewel in the rough
Mec wheel help

I was wondering if anyone could point me to some basic, working C++ mecanum drive code. We have successfully compiled and deployed code using the cartesian and polar mecanum drive methods, but our robot behaves in unexpected ways when we try to run the code in teleop.

First, the robot's wheels start moving before the joystick is even touched by the drivers. Then, when they do push forward and back and left and right on the joystick, is seems to have no effect on the drive train.

We're using the 3 D joystick.

We aren't sure if we are sending bad values in the code, or if we have hardware or wiring issues.

[Note: the robot ran fine using robot drive code with one joystick in arcade mode, so we're stumped.]

Any help would be greatly appreciated.
Reply With Quote