public ShiftDown() { shiftSub = Shifters.getInstance(); requires(shiftSub); // Makes this command interrupt another // command using the same subsystem setTimeout(0.1); // Set the time the piston should fire }
protected void end() { shiftSub.shiftOff(); // Shut off solenoid }
protected void execute() { shiftSub.shiftDown(); // Shift down }