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