WPILibC++
2019.1.1-beta-4-32-g6bdd7ce
|
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... | |
![]() | |
virtual PIDSourceType | GetPIDSourceType () const |
virtual double | PIDGet ()=0 |
Additional Inherited Members | |
![]() | |
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.