Package frc.robot.subsystems.Intake
Class IntakeRealIO
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.Intake.Intake
frc.robot.subsystems.Intake.IntakeRealIO
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable,edu.wpi.first.wpilibj2.command.Subsystem
-
Nested Class Summary
Nested classes/interfaces inherited from class frc.robot.subsystems.Intake.Intake
Intake.Commands -
Field Summary
FieldsFields inherited from class frc.robot.subsystems.Intake.Intake
commands, solenoid_current, solenoid_default -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidperiodic()voidsetSolenoid(edu.wpi.first.wpilibj.DoubleSolenoid.Value state) voidsetWheels(double volts) voidMethods inherited from class frc.robot.subsystems.Intake.Intake
intake, outtake, setSolenoidDefault, setSolenoidValue, stop, stopFeedMethods 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, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, startEnd
-
Field Details
-
m_feed_motor
public com.revrobotics.CANSparkMax m_feed_motor
-
-
Constructor Details
-
IntakeRealIO
public IntakeRealIO()Creates a new ExampleSubsystem.
-
-
Method Details
-
setSolenoid
public void setSolenoid(edu.wpi.first.wpilibj.DoubleSolenoid.Value state) - Specified by:
setSolenoidin classIntake
-
setWheels
public void setWheels(double volts) -
periodic
public void periodic() -
simulationPeriodic
public void simulationPeriodic()- Specified by:
simulationPeriodicin interfaceedu.wpi.first.wpilibj2.command.Subsystem- Overrides:
simulationPeriodicin classIntake
-