PIDCommand¶
- class commands1.PIDCommand(*args, **kwargs)¶
Bases:
commands1._impl._commands_v1.command.Command
,commands1._impl._commands_v1.command.PIDOutput
,commands1._impl._commands_v1.command.PIDSource
This class defines aCommand which interacts heavily with a PID loop.
It provides some convenience methods to run an internal PIDController . It will also start and stop said PIDController when the PIDCommand is first initialized and ended/interrupted.
This class is provided by the OldCommands VendorDep
Overloaded function.
__init__(self: commands1._impl._commands_v1.command.PIDCommand, name: str, p: float, i: float, d: float) -> None
__init__(self: commands1._impl._commands_v1.command.PIDCommand, name: str, p: float, i: float, d: float, period: float) -> None
__init__(self: commands1._impl._commands_v1.command.PIDCommand, name: str, p: float, i: float, d: float, f: float, period: float) -> None
__init__(self: commands1._impl._commands_v1.command.PIDCommand, p: float, i: float, d: float) -> None
__init__(self: commands1._impl._commands_v1.command.PIDCommand, p: float, i: float, d: float, period: float) -> None
__init__(self: commands1._impl._commands_v1.command.PIDCommand, p: float, i: float, d: float, f: float, period: float) -> None
__init__(self: commands1._impl._commands_v1.command.PIDCommand, name: str, p: float, i: float, d: float, subsystem: commands1._impl._commands_v1.command.Subsystem) -> None
__init__(self: commands1._impl._commands_v1.command.PIDCommand, name: str, p: float, i: float, d: float, period: float, subsystem: commands1._impl._commands_v1.command.Subsystem) -> None
__init__(self: commands1._impl._commands_v1.command.PIDCommand, name: str, p: float, i: float, d: float, f: float, period: float, subsystem: commands1._impl._commands_v1.command.Subsystem) -> None
__init__(self: commands1._impl._commands_v1.command.PIDCommand, p: float, i: float, d: float, subsystem: commands1._impl._commands_v1.command.Subsystem) -> None
__init__(self: commands1._impl._commands_v1.command.PIDCommand, p: float, i: float, d: float, period: float, subsystem: commands1._impl._commands_v1.command.Subsystem) -> None
__init__(self: commands1._impl._commands_v1.command.PIDCommand, p: float, i: float, d: float, f: float, period: float, subsystem: commands1._impl._commands_v1.command.Subsystem) -> None
- PIDGet() float ¶
- PIDWrite(output: float) None ¶
- getPIDController() None ¶
- getPosition() float ¶
- getSetpoint() float ¶
- initSendable(builder: wpiutil._wpiutil.SendableBuilder) None ¶
- returnPIDInput() float ¶
- setSetpoint(setpoint: float) None ¶
- setSetpointRelative(deltaSetpoint: float) None ¶
- usePIDOutput(output: float) None ¶