Class Intake

  • All Implemented Interfaces:
    edu.wpi.first.wpilibj.Sendable, edu.wpi.first.wpilibj2.command.Subsystem

    public class Intake
    extends edu.wpi.first.wpilibj2.command.SubsystemBase
    Robot Intake subsystem
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Intake s_instance  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void freeze()
      Safety-freeze the system
      static Intake getInstance()
      Get the instance of Intake
      void intake()
      Set the harvester to intake
      void periodic()  
      void stow()
      Stow the harvester
      void unjam()
      Set the harvester to unjam
      • Methods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase

        addChild, getName, getSubsystem, initSendable, setName, setSubsystem
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface edu.wpi.first.wpilibj.Sendable

        addChild, setName, setName, setName
      • Methods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem

        getCurrentCommand, getDefaultCommand, register, setDefaultCommand
    • Field Detail

      • s_instance

        public static Intake s_instance
    • Method Detail

      • getInstance

        public static Intake getInstance()
        Get the instance of Intake
        Returns:
        Intake Instance
      • periodic

        public void periodic()
      • unjam

        public void unjam()
        Set the harvester to unjam
      • intake

        public void intake()
        Set the harvester to intake
      • stow

        public void stow()
        Stow the harvester
      • freeze

        public void freeze()
        Safety-freeze the system