From 7d0059c5c178fa0681777526b5ba8cb6e7191bf5 Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Sat, 8 Apr 2006 20:12:19 +0000 Subject: [PATCH] Added motorAxisResolution --- motorApp/MotorSrc/drvMotorAsyn.h | 1 + motorApp/MotorSrc/motor_interface.h | 1 + 2 files changed, 2 insertions(+) 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 */