ProfiledPIDSubsystem
- class commands2.ProfiledPIDSubsystem(*arg, **kwargs)[source]
Bases:
Subsystem
A subsystem that uses a
wpimath.controller.ProfiledPIDController
orwpimath.controller.ProfiledPIDControllerRadians
to control an output. The controller is run synchronously from the subsystem’speriodic()
method.Creates a new PIDSubsystem.