Class WristIntake

All Implemented Interfaces:
Sendable, Subsystem

public class WristIntake extends SubsystemBase
Creates the subsystem for the wrist intake.
  • Constructor Details

    • WristIntake

      public WristIntake()
      Create Wrist Intake Subsystem
  • Method Details

    • periodic

      public void periodic()
    • intake

      public void intake()
    • setMotor

      public void setMotor(double power)
      Set power of intake motors
      Parameters:
      power - power of motors from -1 to 1
    • setMotorRaw

      public void setMotorRaw(double power)
      Set power of intake motors ignoring direction
      Parameters:
      power - power of motors from -1 to 1
    • panic

      public void panic()
      Releases GPs in intake (if any). Primarily used to prevent the accidental holding of multiple GPs penalty.
    • getVoltageSpike

      public boolean getVoltageSpike(boolean passedTime)
    • setInvert

      public void setInvert(boolean invert)