Package frc.robot.subsystems
Class IntakeSubsystem
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.IntakeSubsystem
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable
,edu.wpi.first.wpilibj2.command.Subsystem
public class IntakeSubsystem
extends edu.wpi.first.wpilibj2.command.SubsystemBase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setBottomSpeed
(double speed) Set speed of bottom intake wheelvoid
setSpeed
(double speed) Set speed of both intake wheelsvoid
setTopSpeed
(double speed) Set speed of top intake wheelMethods 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, periodic, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd
-
Constructor Details
-
IntakeSubsystem
public IntakeSubsystem()
-
-
Method Details
-
setTopSpeed
public void setTopSpeed(double speed) Set speed of top intake wheel- Parameters:
speed
- Target speed in percent
-
setBottomSpeed
public void setBottomSpeed(double speed) Set speed of bottom intake wheel- Parameters:
speed
- Target speed in percent
-
setSpeed
public void setSpeed(double speed) Set speed of both intake wheels- Parameters:
speed
- Target speed in percent
-