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 TypeMethodDescriptionvoidsetBottomSpeed(double speed) Set speed of bottom intake wheelvoidsetSpeed(double speed) Set speed of both intake wheelsvoidsetTopSpeed(double speed) Set speed of top intake wheelMethods 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, 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
-