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