Class MotorConstants

Inheritance Relationships

Derived Type

Class Documentation

class MotorConstants

An interface to store motor constants and conversions.

Subclassed by tap::motor::M3508Constants

Public Functions

inline virtual float convertOutputToCurrent(float output) const = 0
Returns:

the corresponding output in mA for a given raw motor output value (the one that you directly send to the motor/receive from the motor)

inline virtual float getTorqueConstant() const = 0
Returns:

The motor torque constant, in N * m.