diff --git a/commands2/swervecontrollercommand.py b/commands2/swervecontrollercommand.py index f4e0e719..a4b180ec 100644 --- a/commands2/swervecontrollercommand.py +++ b/commands2/swervecontrollercommand.py @@ -263,7 +263,9 @@ def __init__( else: self._desiredRotation = self._trajectory.states()[-1].pose.rotation self.addRequirements( - requirements, + # Ignoring type due to mypy stating the addRequirements was expecting a Subsystem but got an iterable of a subsystem. + # The iterable of the subsystem was to be able to force optional kwargs for the users when overloading the constructor. + requirements, # type: ignore ) self._timer = Timer()