Beispiel #1
0
 public void teleopInit() {
   watchdog = Watchdog.getInstance();
   if (auto) {
     autonomousCommand.cancel();
   }
   Catapult.getInstance().initialize();
 }
Beispiel #2
0
  public void robotInit() {
    // instantiate the command used for the autonomous period
    autonomousCommand = new AutonomousCommand();

    // Initialize all subsystems
    // VisionProcessing.getInstance();
    Drivetrain.getInstance();
    OI.getInstance();
    Shifter.getInstance();
    IntakeMotor.getInstance();
    IntakePiston.getInstance();
    Catapult.getInstance();
  }
Beispiel #3
0
 public void autonomousInit() {
   // schedule the autonomous command (example)
   Catapult.getInstance().initialize();
   autonomousCommand.start();
 }