Skip to content

Adds Swerve2/3/4/6ControllerCommand to Commands2 #174

Adds Swerve2/3/4/6ControllerCommand to Commands2

Adds Swerve2/3/4/6ControllerCommand to Commands2 #174

Triggered via pull request December 11, 2023 16:12
Status Failure
Total duration 1m 22s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

dist.yml

on: pull_request
Matrix: ci / test
Fit to window
Zoom out
Zoom in

Annotations

9 errors
ci / check
Process completed with exit code 1.
check-mypy: commands2/swervecontrollercommand.py#L55
Incompatible default for argument "xController" (default has type "None", argument has type "PIDController")
check-mypy: commands2/swervecontrollercommand.py#L56
Incompatible default for argument "yController" (default has type "None", argument has type "PIDController")
check-mypy: commands2/swervecontrollercommand.py#L57
Incompatible default for argument "thetaController" (default has type "None", argument has type "ProfiledPIDControllerRadians")
check-mypy: commands2/swervecontrollercommand.py#L58
Incompatible default for argument "desiredRotation" (default has type "None", argument has type "Callable[[], Rotation2d]")
check-mypy: commands2/swervecontrollercommand.py#L62
Overloaded function signature 2 will never be matched: signature 1's parameter type(s) are the same or broader
check-mypy: commands2/swervecontrollercommand.py#L99
Overloaded function signature 4 will never be matched: signature 3's parameter type(s) are the same or broader
check-mypy: commands2/swervecontrollercommand.py#L261
Argument 1 to "addRequirements" of "Command" has incompatible type "tuple[Subsystem]"; expected "Subsystem"
check-mypy
The process '/opt/hostedtoolcache/Python/3.12.0/x64/bin/mypy' failed with exit code 1

Artifacts

Produced during runtime
Name Size
dist Expired
96.5 KB