1- xArm-Python-SDK API Documentation (V1.15.0 ): class XArmAPI in module xarm.wrapper.xarm_api
1+ xArm-Python-SDK API Documentation (V1.15.1 ): class XArmAPI in module xarm.wrapper.xarm_api
22
33## class __ XArmAPI__
44****************************************
@@ -485,6 +485,17 @@ xArm-Python-SDK API Documentation (V1.15.0): class XArmAPI in module xarm.wrappe
485485> &ensp ;&ensp ;&ensp ;&ensp ; err_info: [ (servo_id, angle), ...]
486486
487487
488+ #### def __ get_c54_error_info__ (self):
489+
490+ > Get (Six-axis Force Torque Sensor) collision error (C54) info
491+ > Note:
492+ > &ensp ;&ensp ;&ensp ;&ensp ; Only available if firmware_version >= 2.6.103
493+ >
494+ > :return: tuple((code, err_info)), only when code is 0, the returned result is correct.
495+ > &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
496+ > &ensp ;&ensp ;&ensp ;&ensp ; err_info: [ dir, tau threshold, actual tau]
497+
498+
488499#### def __ get_c60_error_info__ (self):
489500
490501> Get linear speed limit error (C60) info
@@ -630,7 +641,7 @@ xArm-Python-SDK API Documentation (V1.15.0): class XArmAPI in module xarm.wrappe
630641
631642> Get the collision detection with the Six-axis Force Torque Sensor is enable or not
632643> Note:
633- > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.5.109
644+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.6.103
634645>
635646> :return: tuple((code, on_off)), only when code is 0, the returned result is correct.
636647> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
@@ -641,7 +652,7 @@ xArm-Python-SDK API Documentation (V1.15.0): class XArmAPI in module xarm.wrappe
641652
642653> Get the collision rebound distance with the Six-axis Force Torque Sensor
643654> Note:
644- > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.5.109
655+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.6.103
645656>
646657> : param is_radian: the returned value (only Rx/Ry/Rz) is in radians or not, default is self.default_is_radian
647658>
@@ -654,7 +665,7 @@ xArm-Python-SDK API Documentation (V1.15.0): class XArmAPI in module xarm.wrappe
654665
655666> Get the collision rebound with the Six-axis Force Torque Sensor is enable or not
656667> Note:
657- > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.5.109
668+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.6.103
658669>
659670> :return: tuple((code, on_off)), only when code is 0, the returned result is correct.
660671> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
@@ -665,7 +676,7 @@ xArm-Python-SDK API Documentation (V1.15.0): class XArmAPI in module xarm.wrappe
665676
666677> Get the collision threshold with the Six-axis Force Torque Sensor
667678> Note:
668- > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.5.109
679+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.6.103
669680>
670681> :return: tuple((code, threshold)), only when code is 0, the returned result is correct.
671682> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
@@ -2063,8 +2074,9 @@ xArm-Python-SDK API Documentation (V1.15.0): class XArmAPI in module xarm.wrappe
20632074> Note:
20642075> &ensp ;&ensp ;&ensp ;&ensp ; 1. Only available in the new version of BIO Gripper
20652076>
2066- > : param mode: 0: bio gripper opening and closing mode
2067- > &ensp ;&ensp ;&ensp ;&ensp ;&ensp ;&ensp ;&ensp ;&ensp ;&ensp ;&ensp ;&ensp ;&ensp ;&ensp ; 1: position loop mode
2077+ > : param mode: mode
2078+ > &ensp ;&ensp ;&ensp ;&ensp ; 0: bio gripper opening and closing mode
2079+ > &ensp ;&ensp ;&ensp ;&ensp ; 1: position loop mode
20682080>
20692081> :return: code
20702082> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
@@ -2401,7 +2413,7 @@ xArm-Python-SDK API Documentation (V1.15.0): class XArmAPI in module xarm.wrappe
24012413
24022414> Set whether to enable collision detection with the Six-axis Force Torque Sensor
24032415> Note:
2404- > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.5.109
2416+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.6.103
24052417> &ensp ;&ensp ;&ensp ;&ensp ; 2. the Six-axis Force Torque Sensor is required (the third party is not currently supported)
24062418> &ensp ;&ensp ;&ensp ;&ensp ; 3. the Six-axis Force Torque Sensor needs to be enabled and set force mode
24072419>
@@ -2415,12 +2427,12 @@ xArm-Python-SDK API Documentation (V1.15.0): class XArmAPI in module xarm.wrappe
24152427
24162428> Set the rebound distance of the collision rebound with the Six-axis Force Torque Sensor
24172429> Note:
2418- > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.5.109
2430+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.6.103
24192431>
24202432> : param distances: collision rebound distance, [ x(mm), y(mm), z(mm), Rx(° or rad), Ry(° or rad), Rz(° or rad)]
2421- > &ensp ;&ensp ;&ensp ;&ensp ; x: [ 2, 200 ] (mm)
2422- > &ensp ;&ensp ;&ensp ;&ensp ; y: [ 2, 200 ] (mm)
2423- > &ensp ;&ensp ;&ensp ;&ensp ; z: [ 2, 200 ] (mm)
2433+ > &ensp ;&ensp ;&ensp ;&ensp ; x: [ 2, 500 ] (mm)
2434+ > &ensp ;&ensp ;&ensp ;&ensp ; y: [ 2, 500 ] (mm)
2435+ > &ensp ;&ensp ;&ensp ;&ensp ; z: [ 2, 500 ] (mm)
24242436> &ensp ;&ensp ;&ensp ;&ensp ; Rx: [ 0.2, 50] (°)
24252437> &ensp ;&ensp ;&ensp ;&ensp ; Ry: [ 0.2, 50] (°)
24262438> &ensp ;&ensp ;&ensp ;&ensp ; Rz: [ 0.2, 50] (°)
@@ -2434,7 +2446,7 @@ xArm-Python-SDK API Documentation (V1.15.0): class XArmAPI in module xarm.wrappe
24342446
24352447> Set whether to enable collision rebound with the Six-axis Force Torque Sensor
24362448> Note:
2437- > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.5.109
2449+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.6.103
24382450>
24392451> : param on_off: enable or not
24402452>
@@ -2446,7 +2458,7 @@ xArm-Python-SDK API Documentation (V1.15.0): class XArmAPI in module xarm.wrappe
24462458
24472459> Set the threshold of the collision detection with the Six-axis Force Torque Sensor
24482460> Note:
2449- > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.5.109
2461+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.6.103
24502462>
24512463> : param thresholds: collision detection thresholds, [ x(N), y(N), z(N), Rx(Nm), Ry(Nm), Rz(Nm)]
24522464> &ensp ;&ensp ;&ensp ;&ensp ; x: [ 5, 200] (N)
0 commit comments