Esempio n. 1
0
 public void teleopInit() {
   watchdog = Watchdog.getInstance();
   if (auto) {
     autonomousCommand.cancel();
   }
   Catapult.getInstance().initialize();
 }
Esempio n. 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();
  }
Esempio n. 3
0
 public void autonomousInit() {
   // schedule the autonomous command (example)
   Catapult.getInstance().initialize();
   autonomousCommand.start();
 }