Package frc.robot.subsystems.cellmech
Class Intake
- java.lang.Object
-
- edu.wpi.first.wpilibj2.command.SubsystemBase
-
- frc.robot.subsystems.cellmech.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 systemstatic Intake
getInstance()
Get the instance of Intakevoid
intake()
Set the harvester to intakevoid
periodic()
void
stow()
Stow the harvestervoid
unjam()
Set the harvester to unjam-
Methods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase
addChild, getName, getSubsystem, initSendable, setName, setSubsystem
-
-
-
-
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
-
-