[wpilib] Rename DoubleSolenoid.Value constants to all caps

This commit is contained in:
Peter Johnson
2026-03-17 17:10:58 -07:00
parent c5738fcbad
commit d86a745328
32 changed files with 155 additions and 155 deletions

View File

@@ -21,8 +21,8 @@ class HatchSubsystem(commands2.Subsystem):
def grabHatch(self) -> None:
"""Grabs the hatch"""
self.hatchSolenoid.set(wpilib.DoubleSolenoid.Value.kForward)
self.hatchSolenoid.set(wpilib.DoubleSolenoid.Value.FORWARD)
def releaseHatch(self) -> None:
"""Releases the hatch"""
self.hatchSolenoid.set(wpilib.DoubleSolenoid.Value.kReverse)
self.hatchSolenoid.set(wpilib.DoubleSolenoid.Value.REVERSE)