Skip to content

Commit a8b91db

Browse files
committed
Add the MyArmM parameter
1 parent 9483531 commit a8b91db

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

pymycobot/error.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,14 +342,21 @@ def calibration_parameters(**kwargs):
342342
"coords_min": [-272, -272, -36, -180, -180, -180],
343343
"coords_max": [272, 272, 408.9, 180, 180, 180]
344344
},
345-
"MyArmM": {
346-
"servo_id": [1, 2, 3, 4, 5, 6, 7, 8],
347-
"joint_id": [1, 2, 3, 4, 5, 6, 7],
345+
"MyArm": {
346+
"id": [1, 2, 3, 4, 5, 6, 7, 8],
348347
"angles_min": [-160, -70, -170, -113, -170, -115, -180],
349348
"angles_max": [160, 115, 170, 75, 170, 115, 180],
350349
"coords_min": [-310, -310, -140, -180, -180, -180],
351350
"coords_max": [310, 310, 480, 180, 180, 180]
352351
},
352+
"MyArmM": {
353+
"joint_id": [1, 2, 3, 4, 5, 6, 7],
354+
"servo_id": [1, 2, 3, 4, 5, 6, 7, 8],
355+
"angles_min": [-170, -83, -90, -155, -91, -153, -118],
356+
"angles_max": [170, 83, 84, 153, 88, 153, 2],
357+
"encoders_min": [137, 1163, 1035, 1013, 248, 979, 220, 706],
358+
"encoders_max": [4004, 2945, 3079, 3026, 3724, 2994, 3704, 2048]
359+
},
353360
"MyArmSocket": {
354361
"id": [1, 2, 3, 4, 5, 6, 7, 8],
355362
"angles_min": [-160, -70, -170, -113, -170, -115, -180],

0 commit comments

Comments
 (0)