Package frc.robot.Subsystems.Funnel
Class Funnel
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.Subsystems.Funnel.Funnel
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable,edu.wpi.first.wpilibj2.command.Subsystem
- Direct Known Subclasses:
FunnelRealIO,FunnelSimIO
public abstract class Funnel
extends edu.wpi.first.wpilibj2.command.SubsystemBase
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidperiodic()protected abstract voidsetLeftServo(double setpoint) protected abstract voidsetRightServo(double setpoint) voidsetState(Funnel.FunnelState target) Methods 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, simulationPeriodic, startEnd, startRun
-
Field Details
-
instance
-
-
Constructor Details
-
Funnel
protected Funnel()Creates a new ServoSystem.
-
-
Method Details
-
setState
-
setLeftServo
protected abstract void setLeftServo(double setpoint) -
setRightServo
protected abstract void setRightServo(double setpoint) -
periodic
public void periodic()
-