// Initialize your subsystem here public Shooter() { // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=PID super("Shooter", 1.0, 0.0, 0.0); setAbsoluteTolerance(0.2); getPIDController().setContinuous(false); LiveWindow.addActuator("Shooter", "PIDSubsystem Controller", getPIDController()); // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=PID // Use these to get going: // setSetpoint() - Sets where the PID controller should move the system // to // enable() - Enables the PID controller. }
@Override public void clean() { screen.setLive(false); if (window != null) window.remove(); window = null; }
@Override public boolean contains(float x, float y) { return window.contains(x, y); }