Code:
while (IsOperatorControl())
{
GetWatchdog().Feed();
myRobot.TankDrive(leftStick, rightStick);
Wait(0.005);
}
Is the while(IsOperatorControl()) line really necessary? because all of the code inside it is inside the teleop section of the code anyway.
And what is the difference between putting the RobotDrive and the Joysticks inside the class and moving the constructors as opposed to how i had it?
__________________
2008 Xerox Creativity Award - Championships
2009 Rockwell Automation Innovation in Control award - Peachtree
2009 GM Industrial Design Award - Palmetto
2009 Palmetto Champions <1771 2415 21>