Skip to content

Commit 13b0237

Browse files
Fixed some formatting issues to comply with ci.
1 parent 284707b commit 13b0237

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/maxswerve/robotcontainer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
from wpimath.trajectory import (
1111
TrajectoryConfig,
1212
TrajectoryGenerator,
13-
TrapezoidProfileRadians
13+
TrapezoidProfileRadians,
1414
)
1515
from wpimath.controller import (
1616
HolonomicDriveController,
1717
PIDController,
18-
ProfiledPIDControllerRadians
18+
ProfiledPIDControllerRadians,
1919
)
2020

2121
from 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

Comments
 (0)