def autonomous(self):
        
        while self.isAutonomous() and self.isEnabled():
            wpilib.Timer.delay(0.01)
Called when autonomous mode is enabled
dataset/ETHPy150Open robotpy/pyfrc/samples/sample/src/robot.py/MyRobot.autonomous