diff --git a/components/hang.py b/components/hang.py index 9ca4cf13..cb477258 100644 --- a/components/hang.py +++ b/components/hang.py @@ -17,6 +17,10 @@ def __init__(self) -> None: def setup(self) -> None: self.winch_motor.setInverted(True) + sendable_reg: wpilib.SendableRegistry = wpilib.SendableRegistry.getInstance() + for dev in (self.winch_motor, self.kracken_hook_latch): + sendable_reg.setSubsystem(dev, "Hang") + def on_disable(self) -> None: # stop motors self.winch_motor.stopMotor()