Class ShooterFirstShotIncrease

java.lang.Object
edu.wpi.first.wpilibj2.command.Command
com.stuypulse.robot.commands.shooter.ShooterFirstShotIncrease
All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable

public class ShooterFirstShotIncrease extends edu.wpi.first.wpilibj2.command.Command
  • Nested Class Summary

    Nested classes/interfaces inherited from class edu.wpi.first.wpilibj2.command.Command

    edu.wpi.first.wpilibj2.command.Command.InterruptionBehavior
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final edu.wpi.first.math.filter.LinearFilter
     
    private double
     
    private final Shooter
     
    private final edu.wpi.first.math.filter.Debouncer
     
    private final edu.wpi.first.wpilibj.Timer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private boolean
     
    void
    end(boolean interrupted)
     
    void
     
    boolean
     

    Methods inherited from class edu.wpi.first.wpilibj2.command.Command

    addRequirements, addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineFor, deadlineWith, execute, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, initSendable, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, runsWhenDisabled, schedule, setName, setSubsystem, unless, until, withDeadline, withInterruptBehavior, withName, withTimeout, withTimeout

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • shooter

      private final Shooter shooter
    • currentFilter

      private final edu.wpi.first.math.filter.LinearFilter currentFilter
    • shotFinished

      private final edu.wpi.first.math.filter.Debouncer shotFinished
    • previousCurrent

      private double previousCurrent
    • timer

      private final edu.wpi.first.wpilibj.Timer timer
  • Constructor Details

  • Method Details

    • initialize

      public void initialize()
      Overrides:
      initialize in class edu.wpi.first.wpilibj2.command.Command
    • currentDecreasing

      private boolean currentDecreasing()
    • isFinished

      public boolean isFinished()
      Overrides:
      isFinished in class edu.wpi.first.wpilibj2.command.Command
    • end

      public void end(boolean interrupted)
      Overrides:
      end in class edu.wpi.first.wpilibj2.command.Command