diff options
| author | TeroK <tero.k@granitedevices.fi> | 2014-01-16 15:49:12 -0800 |
|---|---|---|
| committer | TeroK <tero.k@granitedevices.fi> | 2014-01-16 15:49:12 -0800 |
| commit | cfc6ec66763661a6257ac860be7d31cc5868a640 (patch) | |
| tree | aa3f5b5d1e3381c62ca1f85b0fa71a98724e8ad4 /simplemotion_defs.h | |
| parent | 2ad7a9271d4336a988b78caf13252da3e0ff0f5a (diff) | |
| download | SimpleMotionV2-cfc6ec66763661a6257ac860be7d31cc5868a640.tar.gz SimpleMotionV2-cfc6ec66763661a6257ac860be7d31cc5868a640.zip | |
fix control mode numbers CM_TORQUE etc
Diffstat (limited to 'simplemotion_defs.h')
| -rw-r--r-- | simplemotion_defs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/simplemotion_defs.h b/simplemotion_defs.h index cc00b95..6abd046 100644 --- a/simplemotion_defs.h +++ b/simplemotion_defs.h @@ -230,9 +230,9 @@ //#define CFG_INPUT_FILTER_LEN 30
#define SMP_CONTROL_MODE 559
//control mode choices:
- #define CM_TORQUE 2
- #define CM_VELOCITY 1
- #define CM_POSITION 0
+ #define CM_TORQUE 3
+ #define CM_VELOCITY 2
+ #define CM_POSITION 1
#define SMP_INPUT_MULTIPLIER 560
#define SMP_INPUT_DIVIDER 561
#define SMP_INPUT_REFERENCE_MODE 562
|
