Skip to content

Commit

Permalink
Fixed typing in assignment for Mypy failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
NewtonCrosby committed Dec 7, 2023
1 parent fed8a3d commit ec8a0a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions commands2/ramsetecommand.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ def __init__(
Feedforward - {feedforward}, LeftController - {leftController}, RightController - {rightController}, WheelSpeeds - {wheelSpeeds} "
)

self.leftController: PIDController = leftController
self.rightController: PIDController = rightController
self.wheelspeeds: Callable[[], DifferentialDriveWheelSpeeds] = wheelSpeeds
self.feedforward: SimpleMotorFeedforwardMeters = feedforward
self.leftController = leftController
self.rightController = rightController
self.wheelspeeds = wheelSpeeds
self.feedforward = feedforward
self.usePID = True
self._prevSpeeds = DifferentialDriveWheelSpeeds()
self._prevTime = -1.0
Expand Down

0 comments on commit ec8a0a0

Please sign in to comment.