Quote:
Originally Posted by ekapalka
.
THe code provided by Toa works, but I had a few questions about how exactly it works. It only references
Code:
leftStick->GetRawAxis(1), leftStick->GetRawAxis(2)
so why do I even need
Code:
rightStick = new Joystick(2);
?
|
You don't
Quote:
Originally Posted by ekapalka
Also, why is it myRobot->Drive() and not robotDriver.ArcadeDrive() or myRobot->ArcadeDrive()? Any help would be great! Once again, thanks for all your help!
|
There are several different methods provided by RobotDrive, including ArcadeDrive and Drive. They are described in the "WPI Robotics Library User’s Guide". You should pick the one that does what you want, or experiment and try them all.