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
Fields inherited from class frc.robot.subsystems.Intake.Intake
commands, solenoid_current, solenoid_default
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
periodic()
void
setSolenoid
(edu.wpi.first.wpilibj.DoubleSolenoid.Value state) void
setWheels
(double volts) void
Methods inherited from class frc.robot.subsystems.Intake.Intake
intake, outtake, setSolenoidDefault, setSolenoidValue, stop, stopFeed
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.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:
setSolenoid
in classIntake
-
setWheels
public void setWheels(double volts) -
periodic
public void periodic() -
simulationPeriodic
public void simulationPeriodic()- Specified by:
simulationPeriodic
in interfaceedu.wpi.first.wpilibj2.command.Subsystem
- Overrides:
simulationPeriodic
in classIntake
-