File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 77from wpimath .trajectory import TrapezoidProfile
88
99from .subsystem import Subsystem
10- from .typing import TProfiledPIDController
10+ from .typing import TProfiledPIDController , TTrapezoidProfileState
1111
1212
13- class ProfiledPIDSubsystem (Subsystem , Generic [TProfiledPIDController ]):
13+ class ProfiledPIDSubsystem (
14+ Subsystem , Generic [TProfiledPIDController , TTrapezoidProfileState ]
15+ ):
1416 """
1517 A subsystem that uses a :class:`wpimath.controller.ProfiledPIDController`
1618 or :class:`wpimath.controller.ProfiledPIDControllerRadians` to
@@ -49,7 +51,7 @@ def setGoal(self, goal):
4951 """
5052 self ._controller .setGoal (goal )
5153
52- def useOutput (self , output : float , setpoint : TrapezoidProfile . State ):
54+ def useOutput (self , output : float , setpoint : TTrapezoidProfileState ):
5355 """
5456 Uses the output from the controller object.
5557 """
You can’t perform that action at this time.
0 commit comments