Skip to content

Commit

Permalink
turret: Add motor to LiveWindow group
Browse files Browse the repository at this point in the history
Keeping as WPI variant for simulation.
  • Loading branch information
auscompgeek committed May 2, 2021
1 parent 8c749e1 commit acc6378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/turret.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class Turret:

def setup(self) -> None:
sendable_reg = wpilib.SendableRegistry.getInstance()
for dev in (self.centre_index, self.right_index, self.left_index):
for dev in (self.centre_index, self.right_index, self.left_index, self.motor):
sendable_reg.setSubsystem(dev, "Turret")

self._setup_motor()
Expand Down

0 comments on commit acc6378

Please sign in to comment.