diff --git a/commands2/ramsetecommand.py b/commands2/ramsetecommand.py index b6a79b8a..be9c839c 100644 --- a/commands2/ramsetecommand.py +++ b/commands2/ramsetecommand.py @@ -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