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 TypeMethodDescriptionintakeBalls(double speed) voidperiodic()voidrunHopper(double targetMeters) runs 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) -
runHopper
public void runHopper(double targetMeters) runs hopper -
stop
Stops the hopper from expanding -
extendHopper
-
retractHopper
-
intakeBalls
-