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.

  1. __init__(self: commands1._impl._commands_v1.command.PIDCommand, name: str, p: float, i: float, d: float) -> None

  2. __init__(self: commands1._impl._commands_v1.command.PIDCommand, name: str, p: float, i: float, d: float, period: float) -> None

  3. __init__(self: commands1._impl._commands_v1.command.PIDCommand, name: str, p: float, i: float, d: float, f: float, period: float) -> None

  4. __init__(self: commands1._impl._commands_v1.command.PIDCommand, p: float, i: float, d: float) -> None

  5. __init__(self: commands1._impl._commands_v1.command.PIDCommand, p: float, i: float, d: float, period: float) -> None

  6. __init__(self: commands1._impl._commands_v1.command.PIDCommand, p: float, i: float, d: float, f: float, period: float) -> None

  7. __init__(self: commands1._impl._commands_v1.command.PIDCommand, name: str, p: float, i: float, d: float, subsystem: commands1._impl._commands_v1.command.Subsystem) -> None

  8. __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

  9. __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

  10. __init__(self: commands1._impl._commands_v1.command.PIDCommand, p: float, i: float, d: float, subsystem: commands1._impl._commands_v1.command.Subsystem) -> None

  11. __init__(self: commands1._impl._commands_v1.command.PIDCommand, p: float, i: float, d: float, period: float, subsystem: commands1._impl._commands_v1.command.Subsystem) -> None

  12. __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