Package frc.robot.subsystems.intake
Class Intake
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.intake.Intake
Intake subsystem
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextendHopper(double intakeSpeed) Extends hopperintakeBalls(double speed) Run intake wheelsvoidperiodic()retractHopper(double intakeSpeed) Retracts hoppervoidrunIntakeOnly(double speed) stop()Stops the hopper from expandingMethods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase
addChild, getName, getSubsystem, initSendable, setName, setSubsystemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
defer, getCurrentCommand, getDefaultCommand, idle, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Field Details
-
inputs
public final frc.robot.subsystems.intake.IntakeInputsAutoLogged inputs
-
-
Constructor Details
-
Intake
-
-
Method Details
-
periodic
public void periodic() -
runIntakeOnly
public void runIntakeOnly(double speed) -
stop
Stops the hopper from expanding -
extendHopper
Extends hopper -
retractHopper
Retracts hopper -
intakeBalls
Run intake wheels -
intakeBalls
-
jerkIntake
-