7#include "wpi/units/voltage.hpp"
Interface for motor controlling devices.
Definition MotorController.hpp:14
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 GetDutyCycle() const =0
Gets the duty cycle of the motor controller.
virtual void SetDutyCycle(double dutyCycle)=0
Sets the duty cycle of the motor controller.
virtual void SetInverted(bool isInverted)=0
Sets the inversion state of the motor controller.
Definition CvSource.hpp:15