View Single Post
  #16   Spotlight this post!  
Unread 13-06-2010, 20:12
Tanner's Avatar
Tanner Tanner is offline
Registered User
FRC #1261 (Roblions)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Suwanee, GA
Posts: 311
Tanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to behold
Re: Arcade Drive Troubles in Autonomous

Quote:
Originally Posted by Pat Fairbank View Post
I suspect that your problem is that your RobotDrive class is not set up properly for the way your robot is wired (one side is either not inverted (using RobotDrive::SetInvertedMotor()), or inverted when it shouldn't be).
I'm not sure how that would work, cause then wouldn't teleop not drive correctly at all? There's only one way a drivetrain will correctly work, yeah (unless the joystick values are strange)?

Quote:
Originally Posted by Pat Fairbank View Post
It's probably just working in teleop mode by lucky coincidence, because your joystick setup looks strange - you're feeding what seems to be the twist axis (4) into the moveValue parameter of ArcadeDrive, and the Y-axis (2) into the rotateValue parameter.
Well, I'm not using the kit joysticks. I'm using two XBox 360 controllers, so the numbers don't exactly correspond to the names in the WPI library.

-Tanner
Reply With Quote