Skip to content

Commit db1075b

Browse files
committed
[feat] driver tmcm: add support for 6214
Similar to 3214, but with more axes.
1 parent 25e8494 commit db1075b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/odemis/driver/tmcm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def __str__(self):
9494
REFPROC_FAKE = "FakeReferencing" # was used for simulator when it didn't support referencing
9595

9696
# Model number (int) of devices tested
97-
KNOWN_MODELS = {1140, 3110, 6110, 3214, 1211}
97+
KNOWN_MODELS = {1140, 3110, 6110, 3214, 6214, 1211}
9898
KNOWN_MODELS_CAN = {'PD-1240', 'PD-1240-fake'}
9999
# These models report the velocity/accel in internal units of the TMC429
100100
USE_INTERNAL_UNIT_429 = {1110, 1140, 3110, 6110}

util/tmcmconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,13 @@ OUT_CONFIG_DEFAULT = {
102102
}
103103

104104
# Models which don't support axis param storage
105-
NO_AXIS_STORAGE = {1211, 3214}
105+
NO_AXIS_STORAGE = {1211, 3214, 6214}
106106

107107
# List of axis params which are _not_ present (per model)
108108
MISSING_AXIS_PARAMS = {
109109
1211: {149, 153, 154, 200},
110110
3214: {149, 153, 154, 200},
111+
6214: {149, 153, 154, 200},
111112
1140: {17, 24, 25, 26, 31, 251},
112113
3110: {17, 24, 25, 26, 31, 201, 212, 251},
113114
6110: {17, 24, 25, 26, 31, 201, 212, 251},
@@ -117,6 +118,7 @@ MISSING_AXIS_PARAMS = {
117118
MISSING_GLOBAL_PARAMS = {
118119
1211: {(0, 79), (0, 90)},
119120
3214: {(0, 79), (0, 90)},
121+
6214: {(0, 79), (0, 90)},
120122
1140: {},
121123
3110: {},
122124
6110: {},

0 commit comments

Comments
 (0)