|
WPILibC++
2020.3.2
|
Interface for potentiometers. More...
#include <Potentiometer.h>
Public Member Functions | |
| Potentiometer (Potentiometer &&)=default | |
| Potentiometer & | operator= (Potentiometer &&)=default |
| virtual double | Get () const =0 |
| Common interface for getting the current value of a potentiometer. More... | |
| void | SetPIDSourceType (PIDSourceType pidSource) override |
| Set which parameter you are using as a process control variable. More... | |
Public Member Functions inherited from frc::PIDSource | |
| virtual PIDSourceType | GetPIDSourceType () const |
| virtual double | PIDGet ()=0 |
Additional Inherited Members | |
Protected Attributes inherited from frc::PIDSource | |
| PIDSourceType | m_pidSource = PIDSourceType::kDisplacement |
Interface for potentiometers.
|
pure virtual |
Common interface for getting the current value of a potentiometer.
Implemented in frc::AnalogPotentiometer.
|
overridevirtual |
Set which parameter you are using as a process control variable.
| pidSource | An enum to select the parameter. |
Reimplemented from frc::PIDSource.