From 1d4d61cf693f7005a6f416a872fbbdd8251db57c Mon Sep 17 00:00:00 2001 From: William W Date: Mon, 14 Oct 2024 16:53:17 -0700 Subject: [PATCH] happy? --- src/main/java/frc/robot/subsystems/ClimberSubsystem.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/subsystems/ClimberSubsystem.java b/src/main/java/frc/robot/subsystems/ClimberSubsystem.java index cc211db..0c6f2a4 100644 --- a/src/main/java/frc/robot/subsystems/ClimberSubsystem.java +++ b/src/main/java/frc/robot/subsystems/ClimberSubsystem.java @@ -23,7 +23,7 @@ public class ClimberSubsystem extends SubsystemBase { private Value m_state; - public ClimberSubsystem() { + private ClimberSubsystem() { m_pHub = new PneumaticHub(2); solenoidOff(); @@ -31,6 +31,10 @@ public ClimberSubsystem() { m_compressorEnabled = false; } + public ClimberSubsystem init(){ + return new ClimberSubsystem(); + } + // Runs once every tick (~20ms) public void periodic() { m_leftSolenoid.set(m_state);