10 #include "PIDOutput.h" 25 virtual void Set(
double speed) = 0;
32 virtual double Get()
const = 0;
Interface for speed controlling devices.
Definition: SpeedController.h:17
Definition: RobotController.cpp:14
virtual double Get() const =0
Common interface for getting the current set speed of a speed controller.
virtual void Disable()=0
Common interface for disabling a motor.
PIDOutput interface is a generic output for the PID class.
Definition: PIDOutput.h:20
virtual void Set(double speed)=0
Common interface for setting the speed of a speed controller.
virtual void StopMotor()=0
Common interface to stop the motor until Set is called again.
virtual bool GetInverted() const =0
Common interface for returning the inversion state of a speed controller.
virtual void SetInverted(bool isInverted)=0
Common interface for inverting direction of a speed controller.