Package frc.lib5k.loops.loopers
Class SubsystemLooper
- java.lang.Object
-
- frc.lib5k.loops.loopers.Looper
-
- frc.lib5k.loops.loopers.SubsystemLooper
-
public class SubsystemLooper extends Looper
A looper for LoopableSubsystems.
-
-
Constructor Summary
Constructors Constructor Description SubsystemLooper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
outputTelemetry()
Outputs telemetry data from the Looper and all subsystems to SmartDashboardvoid
register(LoopableSubsystem subsystem)
Register a LoopableSubsystem with the loopervoid
registerAll(LoopableSubsystem... subsystems)
Intarface for registering multiple subsystemsvoid
update()
-
-
-
Method Detail
-
register
public void register(LoopableSubsystem subsystem)
Register a LoopableSubsystem with the looper- Parameters:
subsystem
- LoopableSubsystem to register with the looper
-
registerAll
public void registerAll(LoopableSubsystem... subsystems)
Intarface for registering multiple subsystems
-
outputTelemetry
public void outputTelemetry()
Outputs telemetry data from the Looper and all subsystems to SmartDashboard
-
-