10 #include <units/units.h>
12 #include "frc/PIDOutput.h"
28 virtual void Set(
double speed) = 0;
49 virtual double Get()
const = 0;
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 void SetInverted(bool isInverted)=0
Common interface for inverting direction of a speed controller.
virtual bool GetInverted() const =0
Common interface for returning the inversion state of a speed controller.
virtual double Get() const =0
Common interface for getting the current set speed of a speed controller.
A class that enforces constraints on the differential drive kinematics.
Definition: SPIAccelerometerSim.h:16
Interface for speed controlling devices.
Definition: SpeedController.h:19
virtual void SetVoltage(units::volt_t output)
Sets the voltage output of the SpeedController.
virtual void Disable()=0
Common interface for disabling a motor.
PIDOutput interface is a generic output for the PID class.
Definition: PIDOutput.h:20