PIDAnalogPotentiometer

class commands1.PIDAnalogPotentiometer(*args, **kwargs)

Bases: commands1._impl._commands_v1.command.PIDSource, wpilib._wpilib.AnalogPotentiometer

Wrapper so that PIDSource is implemented for AnalogPotentiometer for old PIDController

This class is provided by the OldCommands VendorDep

Deprecated

Use frc2::PIDController class instead which doesn’t require this wrapper.

Overloaded function.

  1. __init__(self: commands1._impl._commands_v1.command.PIDAnalogPotentiometer, arg0: int) -> None

  2. __init__(self: commands1._impl._commands_v1.command.PIDAnalogPotentiometer, arg0: wpilib._wpilib.AnalogInput) -> None

PIDGet() float

Implement the PIDSource interface.

Returns

The current reading.