7#include "wpi/units/voltage.hpp"
Interface for motor controlling devices.
Definition MotorController.hpp:14
virtual void SetThrottle(double throttle)=0
Sets the throttle of the motor controller.
virtual ~MotorController()=default
virtual void Disable()=0
Disables the motor controller.
virtual bool GetInverted() const =0
Gets the inversion state of the motor controller.
virtual void SetVoltage(wpi::units::volt_t voltage)
Sets the voltage output of the motor controller.
virtual double GetThrottle() const =0
Gets the throttle of the motor controller.
virtual void SetInverted(bool isInverted)=0
Sets the inversion state of the motor controller.
Definition CvSource.hpp:15