1- xArm-Python-SDK API Documentation (V1.14.0 ): class XArmAPI in module xarm.wrapper.xarm_api
1+ xArm-Python-SDK API Documentation (V1.14.2 ): class XArmAPI in module xarm.wrapper.xarm_api
22
33## class __ XArmAPI__
44****************************************
@@ -686,13 +686,15 @@ xArm-Python-SDK API Documentation (V1.14.0): class XArmAPI in module xarm.wrappe
686686> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
687687
688688
689- #### def __ close_lite6_gripper__ (self):
689+ #### def __ close_lite6_gripper__ (self, sync=True ):
690690
691691> Close the gripper of Lite6 series robotic arms
692692> Note:
693693> &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 1.10.0
694694> &ensp ;&ensp ;&ensp ;&ensp ; 2. this API can only be used on Lite6 series robotic arms
695695>
696+ > : param sync: whether to execute in the motion queue, set to False to execute immediately(default is True)
697+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.4.101
696698> :return: code
697699> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
698700
@@ -1853,13 +1855,15 @@ xArm-Python-SDK API Documentation (V1.14.0): class XArmAPI in module xarm.wrappe
18531855> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
18541856
18551857
1856- #### def __ open_lite6_gripper__ (self):
1858+ #### def __ open_lite6_gripper__ (self, sync=True ):
18571859
18581860> Open the gripper of Lite6 series robotic arms
18591861> Note:
18601862> &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 1.10.0
18611863> &ensp ;&ensp ;&ensp ;&ensp ; 2. this API can only be used on Lite6 series robotic arms
18621864>
1865+ > : param sync: whether to execute in the motion queue, set to False to execute immediately(default is True)
1866+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.4.101
18631867> :return: code
18641868> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
18651869
@@ -2476,12 +2480,14 @@ xArm-Python-SDK API Documentation (V1.14.0): class XArmAPI in module xarm.wrappe
24762480> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
24772481
24782482
2479- #### def __ set_cgpio_analog__ (self, ionum, value):
2483+ #### def __ set_cgpio_analog__ (self, ionum, value, sync=True ):
24802484
24812485> Set the analog value of the specified Controller GPIO
24822486>
24832487> : param ionum: 0 or 1
24842488> : param value: value
2489+ > : param sync: whether to execute in the motion queue, set to False to execute immediately(default is True)
2490+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.4.101
24852491> :return: code
24862492> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
24872493
@@ -2498,13 +2504,16 @@ xArm-Python-SDK API Documentation (V1.14.0): class XArmAPI in module xarm.wrappe
24982504> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
24992505
25002506
2501- #### def __ set_cgpio_digital__ (self, ionum, value, delay_sec=None):
2507+ #### def __ set_cgpio_digital__ (self, ionum, value, delay_sec=None, sync=True ):
25022508
25032509> Set the digital value of the specified Controller GPIO
25042510>
25052511> : param ionum: 0~ 15
25062512> : param value: value
25072513> : param delay_sec: delay effective time from the current start, in seconds, default is None(effective immediately)
2514+ > : param sync: whether to execute in the motion queue, set to False to execute immediately(default is True)
2515+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.4.101
2516+ > &ensp ;&ensp ;&ensp ;&ensp ; 2. only available if delay_sec <= 0
25082517> :return: code
25092518> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
25102519
@@ -2758,7 +2767,7 @@ xArm-Python-SDK API Documentation (V1.14.0): class XArmAPI in module xarm.wrappe
27582767> Set the gripper enable
27592768>
27602769> : param enable: enable or not
2761- > &ensp ; Note: such as code = arm.set_gripper_enable(True) #turn on the Gripper
2770+ > &ensp ;& ensp ;& ensp ;& ensp ; Note: such as code = arm.set_gripper_enable(True) #turn on the Gripper
27622771> :return: code
27632772> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
27642773
@@ -2768,7 +2777,7 @@ xArm-Python-SDK API Documentation (V1.14.0): class XArmAPI in module xarm.wrappe
27682777> Set the gripper mode
27692778>
27702779> : param mode: 0: location mode
2771- > &ensp ; Note: such as code = arm.set_gripper_mode(0)
2780+ > &ensp ;& ensp ;& ensp ;& ensp ; Note: such as code = arm.set_gripper_mode(0)
27722781> :return: code
27732782> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
27742783
@@ -3455,13 +3464,16 @@ xArm-Python-SDK API Documentation (V1.14.0): class XArmAPI in module xarm.wrappe
34553464> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
34563465
34573466
3458- #### def __ set_tgpio_digital__ (self, ionum, value, delay_sec=None):
3467+ #### def __ set_tgpio_digital__ (self, ionum, value, delay_sec=None, sync=True ):
34593468
34603469> Set the digital value of the specified Tool GPIO
34613470>
34623471> : param ionum: 0 or 1
34633472> : param value: value
34643473> : param delay_sec: delay effective time from the current start, in seconds, default is None(effective immediately)
3474+ > : param sync: whether to execute in the motion queue, set to False to execute immediately(default is True)
3475+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.4.101
3476+ > &ensp ;&ensp ;&ensp ;&ensp ; 2. only available if delay_sec <= 0
34653477> :return: code
34663478> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
34673479
@@ -3553,7 +3565,7 @@ xArm-Python-SDK API Documentation (V1.14.0): class XArmAPI in module xarm.wrappe
35533565> &ensp ;&ensp ;&ensp ;&ensp ;&ensp ;&ensp ;&ensp ;&ensp ; code >= 0: the last_used_tcp_speed/last_used_tcp_acc will be modified
35543566
35553567
3556- #### def __ set_vacuum_gripper__ (self, on, wait=False, timeout=3, delay_sec=None):
3568+ #### def __ set_vacuum_gripper__ (self, on, wait=False, timeout=3, delay_sec=None, sync=True ):
35573569
35583570> Set vacuum gripper state
35593571>
@@ -3563,6 +3575,9 @@ xArm-Python-SDK API Documentation (V1.14.0): class XArmAPI in module xarm.wrappe
35633575> : param wait: wait or not, default is False
35643576> : param timeout: wait time, unit: second , default is 3s
35653577> : param delay_sec: delay effective time from the current start, in seconds, default is None(effective immediately)
3578+ > : param sync: whether to execute in the motion queue, set to False to execute immediately(default is True)
3579+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.4.101
3580+ > &ensp ;&ensp ;&ensp ;&ensp ; 2. only available if delay_sec <= 0
35663581> :return: code
35673582> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
35683583
@@ -3593,13 +3608,15 @@ xArm-Python-SDK API Documentation (V1.14.0): class XArmAPI in module xarm.wrappe
35933608> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
35943609
35953610
3596- #### def __ stop_lite6_gripper__ (self):
3611+ #### def __ stop_lite6_gripper__ (self, sync=True ):
35973612
35983613> Stop the gripper of Lite6 series robotic arms
35993614> Note:
36003615> &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 1.10.0
36013616> &ensp ;&ensp ;&ensp ;&ensp ; 2. this API can only be used on Lite6 series robotic arms
36023617>
3618+ > : param sync: whether to execute in the motion queue, set to False to execute immediately(default is True)
3619+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.4.101
36033620> :return: code
36043621> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
36053622
0 commit comments