Interface to generalize all classes that can provide a way to control a Car.
virtual void overrideMotorSpeed(int firstMotorSpeed, int secondMotorSpeed)=0
Set the motor speed individually as a percentage of the motors` total power.
virtual void setSpeed(int speed)=0
Sets the driving speed as percentage of the total motor speed where the sign represents the direction...
virtual void setAngle(int angle)=0
Sets the driving angle in degrees [-90, 90].
virtual ~Control()=default
const int kIdleControlSpeed
const int kIdleControlAngle
const int kMinControlSpeed
const int kMaxControlSpeed
const int kMinControlAngle
const int kMaxControlAngle