Skip to content

Commit

Permalink
shooter: Add motors to LiveWindow group
Browse files Browse the repository at this point in the history
Keeping these motors as WPI variant for simulation.
  • Loading branch information
auscompgeek committed May 2, 2021
1 parent dea54be commit 8c749e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/shooter.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def setup(self) -> None:
self.centre_motor.setInverted(False)

for motor in self.outer_motor, self.centre_motor:
sendable_reg.setSubsystem(dev, "Shooter")
motor.configVelocityMeasurementPeriod(ctre.VelocityMeasPeriod.Period_1Ms)
motor.configVelocityMeasurementWindow(16)
motor.setNeutralMode(ctre.NeutralMode.Coast)
Expand Down

0 comments on commit 8c749e1

Please sign in to comment.