[copybara] Resync with mostrobotpy (#8662)

This commit is contained in:
PJ Reiniger
2026-03-09 00:38:21 -04:00
committed by GitHub
parent 71cd434699
commit c0f8159540
40 changed files with 181 additions and 79 deletions

View File

@@ -31,7 +31,9 @@ class Drivetrain(commands2.Subsystem):
self.rightEncoder = wpilib.Encoder(6, 7)
# Set up the differential drive controller
self.drive = wpilib.DifferentialDrive(self.leftMotor.setDutyCycle, self.rightMotor.setDutyCycle)
self.drive = wpilib.DifferentialDrive(
self.leftMotor.setDutyCycle, self.rightMotor.setDutyCycle
)
# TODO: these don't work
# wpiutil.SendableRegistry.addChild(self.drive, self.leftMotor)