mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[wpilib] Rename DoubleSolenoid.Value constants to all caps
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user