@@ -10,7 +10,7 @@ We support Python2, Python3.5 or later.
1010<!-- vim-markdown-toc GFM -->
1111
1212- [ pymycobot] ( #pymycobot )
13- - [ MyCobot / Mypalletizer] ( #mycobot--mypalletizer )
13+ - [ MyCobot / Mypalletizer / MechArm ] ( #mycobot--mypalletizer--mecharm )
1414 - [ Overall status] ( #overall-status )
1515 - [ power_on] ( #power_on )
1616 - [ power_off] ( #power_off )
@@ -229,7 +229,7 @@ We support Python2, Python3.5 or later.
229229<!-- vim-markdown-toc -->
230230</details >
231231
232- # MyCobot / Mypalletizer
232+ # MyCobot / Mypalletizer / MechArm
233233
234234** Import to your project** :
235235
@@ -239,6 +239,15 @@ from pymycobot import MyCobot
239239
240240# for mypalletizer
241241# from pymycobot import MyPalletizer
242+
243+ # for MechArm
244+ # from pymycobot import MechArm
245+
246+ mc = MyCobot(" com10" ,115200 )
247+ # mc = MyPalletizer("com10",115200)
248+ # mc = MechArm("com10",115200)
249+
250+ print (mc.get_angles())
242251```
243252
244253> Note: If no parameter is given, there is no parameter; if no return value is given, there is no return value
@@ -381,7 +390,7 @@ Set command refresh mode
381390
382391- ** Parameters** :
383392
384- - ` radians ` : a list of radian value(` List[float] ` ), length 6 .
393+ - ` radians ` : a list of radian value(` List[float] ` ).
385394 - ` speed ` : (` int ` ) 0 ~ 100
386395
387396- ** Example**
@@ -434,7 +443,7 @@ Set command refresh mode
434443
435444- ** Parameters**
436445
437- - ` coords ` : a list of coords value(` List[float] ` ), length 6 .
446+ - ` coords ` : a list of coords value(` List[float] ` ).
438447 - ` speed ` : (` int ` ) 0 ~ 100
439448 - ` mode ` : (` int ` ): ` 0 ` - angular, ` 1 ` - linear
440449
@@ -457,7 +466,7 @@ Set command refresh mode
457466
458467- ** Parameters**
459468
460- - ` degrees ` : a list of degree value(` List[float] ` ), length 6 .
469+ - ` degrees ` : a list of degree value(` List[float] ` ).
461470 - ` speed ` : (` int ` ) 0 ~ 100
462471 - ` timeout ` : default 7s.
463472
@@ -482,7 +491,7 @@ Set command refresh mode
482491
483492- ** Parameters**
484493
485- - ` data ` : A data list, angles or coords, length 6 .
494+ - ` data ` : A data list, angles or coords.
486495 - ` flag ` : Tag the data type, ` 0 ` - angles, ` 1 ` - coords.
487496
488497- ** Returns**
@@ -593,7 +602,7 @@ Set command refresh mode
593602- ** Description** : Set the six joints of the manipulator to execute synchronously to the specified position.
594603
595604- ** Parameters** :
596- - ` encoders ` : A encoder list, length 6 .
605+ - ` encoders ` : A encoder list.
597606 - ` sp ` : speed 0 - 100
598607
599608### get_encoders
0 commit comments