Quote:
Originally Posted by Pat Fairbank
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
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