diff --git a/motorApp/MotorSrc/drvMotorAsyn.h b/motorApp/MotorSrc/drvMotorAsyn.h index ed1925c2..44f8e025 100644 --- a/motorApp/MotorSrc/drvMotorAsyn.h +++ b/motorApp/MotorSrc/drvMotorAsyn.h @@ -19,6 +19,7 @@ typedef enum { /* Parameters - these must match the definitions in motor_interface.h */ motorPosition = motorAxisPosition, motorEncRatio = motorAxisEncoderRatio, + motorResolution = motorAxisResolution, motorPgain = motorAxisPGain, motorIgain = motorAxisIGain, motorDgain = motorAxisDGain, diff --git a/motorApp/MotorSrc/motor_interface.h b/motorApp/MotorSrc/motor_interface.h index 334d2e1a..0ce4eede 100644 --- a/motorApp/MotorSrc/motor_interface.h +++ b/motorApp/MotorSrc/motor_interface.h @@ -226,6 +226,7 @@ typedef enum { motorAxisPosition, /**< (double) Sets the current motor actual position to a given value in motor units. Returns the current motor actual position in motor units */ + motorAxisResolution, /**< (double) Number of motor units per engineering unit */ motorAxisEncoderRatio, /**< (double) Number of encoder counts in one motor count (encoder counts/motor counts) */ motorAxisLowLimit, /**< (double) Low soft limit in motor units */ motorAxisHighLimit, /**< (double) High soft limit in motor units */