<s> import wpilib <EOL> class MyRobot ( wpilib . SampleRobot ) : <EOL> '''<STR_LIT>''' <EOL> def robotInit ( self ) : <EOL> '''<STR_LIT>''' <EOL> self . lstick = wpilib . Joystick ( <NUM_LIT:0> ) <EOL> self . rstick = wpilib . Joystick ( <NUM_LIT:1> ) <EOL> self . lr_motor = wpilib . Jaguar ( <NUM_LIT:1> ) <EOL> self . rr_motor = wpilib . Jaguar ( <NUM_LIT:2> ) <EOL> self . lf_motor = wpilib . Jaguar ( <NUM_LIT:3> ) <EOL> self . rf_motor = wpilib . Jaguar ( <NUM_LIT:4> ) <EOL> self . robot_drive = wpilib . RobotDrive ( self . lf_motor , self . lr_motor , <EOL> self . rf_motor , self . rr_motor ) <EOL> self . gyro = wpilib . AnalogGyro ( <NUM_LIT:1> ) <EOL> def disabled ( self ) : <EOL> '''<STR_LIT>''' <EOL> while self . isDisabled ( ) : <EOL> wpilib . Timer . delay ( <NUM_LIT> ) <EOL> def autonomous ( self ) : <EOL> '''<STR_LIT>''' <EOL> timer = wpilib . Timer ( ) <EOL> timer . start ( ) <EOL> while self . isAutonomous ( ) and self . isEnabled ( ) : <EOL> if timer . get ( ) < <NUM_LIT> : <EOL> self . robot_drive . arcadeDrive ( - <NUM_LIT:1.0> , - <NUM_LIT> ) <EOL> else : <EOL> self . robot_drive . arcadeDrive ( <NUM_LIT:0> , <NUM_LIT:0> ) <EOL> wpilib . Timer . delay ( <NUM_LIT> ) <EOL> def operatorControl ( self ) : <EOL> '''<STR_LIT>''' <EOL> while self . isOperatorControl ( ) and self . isEnabled ( ) : <EOL> self . robot_drive . tankDrive ( self . lstick , self . rstick ) <EOL> wpilib . Timer . delay ( <NUM_LIT> ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> wpilib . run ( MyRobot , <EOL> physics_enabled = True ) </s>
