Exemplo n.º 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();
  }
Exemplo n.º 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();
  }
Exemplo n.º 3
0
 /** This function is called at the beginning of test mode. */
 public void testInit() {
   Log.log("Test mode has begun!");
 }
Exemplo n.º 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();
  }