Autonomus Not Working :(

We have already played 3 matches today and our autonomus refuses to work. We’ve tried a few things already but I figured it couldn’t hurt to ask here. Literally nothing happens in auto mode, but when it goes to teleop we’re fine. I’ll post the code and if someone could give me a hand that would be awesome! :smiley: :smiley: :smiley:

public void autonomus(){

  //  getWatchdog().setEnabled(false);
    robotDrive.setSafetyEnabled(false);
    /* This section should drive forward at half power for 3 seconds */
    robotDrive.drive(-.5, 0);
 //   long currentTime = System.currentTimeMillis();
   // while (System.currentTimeMillis()-currentTime<3000) {}
    Timer.delay(3);
    /*****************************************************************/
    
    //The next line turns the drive motors off
    robotDrive.drive(0, 0);
    
    /* This section runs the gate for one second */
    gate.drive(-.5, 0);
    Timer.delay(1);
    /*********************************************/
    
    // The next line turns the gate motor off
    gate.drive(0,0);
    //getWatchdog().setEnabled(false);

}

Correct spelling is “autonomous”.