View Single Post
  #2   Spotlight this post!  
Unread 15-02-2011, 09:06
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: Robot driving off.

Quote:
Originally Posted by derekwhite View Post
In fact, there's a new method DriverStation.waitForData(long ms) that would be handy to use.
First I've heard of that. Thanks for clearing that up.

Quote:
Originally Posted by omalleyj View Post
Code:
drive.mecanumDrive_Polar(stick.getDirectionDegrees(), stick.getMagnitude(),stick.getRawAxis(4));
What kind of joystick are you using? Which axis is 4 on it? How did you determine that? I can't see either of the other two parameters being the issue.
If I'm not mistaken, it's a Dual Action controller. Very similar to PS2/3 controllers.

Axis 4 is the right stick's Y axis.
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye
Reply With Quote