Beispiel #1
0
  /** This function is called at the beginning of autonomous. */
  public void autonomousInit() {
    Log.log("Autonomous has begun!");

    // Cancel the currently-running autonomous command
    cancelAutonomous();

    // Run the current autonomous command
    autonomousCommand = new BasicAutonomous();
    autonomousCommand.start();
  }
Beispiel #2
0
  /** This function is called at the beginning of disabled mode. */
  public void disabledInit() {
    Log.log("The robot has been disabled.");

    // Cancel the currently-running autonomous command
    cancelAutonomous();
  }
Beispiel #3
0
 /** This function is called at the beginning of test mode. */
 public void testInit() {
   Log.log("Test mode has begun!");
 }
Beispiel #4
0
  /** This function is called at the beginning of operator control. */
  public void teleopInit() {
    Log.log("Teleop has begun!");

    // Cancel the currently-running autonomous command
    cancelAutonomous();
  }