SubZero Common
Common library components for an FRC CommandRobot
|
#include <IPidMotorController.h>
Public Member Functions | |
IPidMotorController (std::string name) | |
virtual void | Set (double percentage)=0 |
virtual void | Set (units::volt_t volts)=0 |
virtual void | SetPidTolerance (double tolerance)=0 |
virtual void | Update (void)=0 |
virtual void | RunWithVelocity (units::revolutions_per_minute_t rpm)=0 |
virtual void | RunWithVelocity (double percentage)=0 |
virtual void | RunToPosition (double position)=0 |
virtual void | ResetEncoder (void)=0 |
virtual double | GetEncoderPosition (void)=0 |
virtual std::optional< double > | GetAbsoluteEncoderPosition (void)=0 |
virtual void | SetEncoderConversionFactor (double factor)=0 |
virtual void | SetAbsoluteEncoderConversionFactor (double factor)=0 |
virtual void | Stop (void)=0 |
virtual const PidSettings & | GetPidSettings (void)=0 |
virtual void | UpdatePidSettings (PidSettings settings)=0 |
Public Attributes | |
const std::string | m_name |
Definition at line 14 of file IPidMotorController.h.
|
inlineexplicit |
Definition at line 16 of file IPidMotorController.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
const std::string subzero::IPidMotorController::m_name |
Definition at line 34 of file IPidMotorController.h.