1010from wpimath .trajectory import (
1111 TrajectoryConfig ,
1212 TrajectoryGenerator ,
13- TrapezoidProfileRadians
13+ TrapezoidProfileRadians ,
1414)
1515from wpimath .controller import (
1616 HolonomicDriveController ,
1717 PIDController ,
18- ProfiledPIDControllerRadians
18+ ProfiledPIDControllerRadians ,
1919)
2020
2121from constants import AutoConstants , DriveConstants , OIConstants
@@ -100,7 +100,7 @@ def getAutonomousCommand(self) -> commands2.Command:
100100 # Constraint for the motion profiled robot angle controller
101101 kThetaControllerConstraints = TrapezoidProfileRadians .Constraints (
102102 AutoConstants .kMaxAngularSpeedRadiansPerSecond ,
103- AutoConstants .kMaxAngularSpeedRadiansPerSecondSquared
103+ AutoConstants .kMaxAngularSpeedRadiansPerSecondSquared ,
104104 )
105105
106106 kPXController = PIDController (1.0 , 0.0 , 0.0 )
@@ -113,7 +113,7 @@ def getAutonomousCommand(self) -> commands2.Command:
113113 kPIDController = HolonomicDriveController (
114114 kPXController , kPYController , kPThetaController
115115 )
116-
116+
117117 swerveControllerCommand = commands2 .SwerveControllerCommand (
118118 exampleTrajectory ,
119119 self .robotDrive .getPose , # Functional interface to feed supplier
0 commit comments