コード例 #1
0
  // Make sure you call the super of robotInit()
  public void robotInit() {
    super.robotInit();

    // Call enterCommandList and pass in an Array of all the commands you have which extend
    // ParsableCommand
    ParsableCommand[] commands = {new ExampleCommand()};
    enterCommandList(commands);
  }
コード例 #2
0
 // Make sure you call the super of teleopInit()
 public void teleopInit() {
   super.teleopInit();
 }
コード例 #3
0
 // Make sure you call the super of disabledPeriodic()
 public void disabledPeriodic() {
   super.disabledPeriodic();
 }
コード例 #4
0
 // Make sure you call the super of autonomousInit()
 public void autonomousInit() {
   super.autonomousInit();
 }