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
2
2
3
3
## class __ XArmAPI__
4
4
****************************************
@@ -485,6 +485,17 @@ xArm-Python-SDK API Documentation (V1.15.0): class XArmAPI in module xarm.wrappe
485
485
> &ensp ;&ensp ;&ensp ;&ensp ; err_info: [ (servo_id, angle), ...]
486
486
487
487
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
+
488
499
#### def __ get_c60_error_info__ (self):
489
500
490
501
> 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
630
641
631
642
> Get the collision detection with the Six-axis Force Torque Sensor is enable or not
632
643
> 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
634
645
>
635
646
> :return: tuple((code, on_off)), only when code is 0, the returned result is correct.
636
647
> &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
641
652
642
653
> Get the collision rebound distance with the Six-axis Force Torque Sensor
643
654
> 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
645
656
>
646
657
> : param is_radian: the returned value (only Rx/Ry/Rz) is in radians or not, default is self.default_is_radian
647
658
>
@@ -654,7 +665,7 @@ xArm-Python-SDK API Documentation (V1.15.0): class XArmAPI in module xarm.wrappe
654
665
655
666
> Get the collision rebound with the Six-axis Force Torque Sensor is enable or not
656
667
> 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
658
669
>
659
670
> :return: tuple((code, on_off)), only when code is 0, the returned result is correct.
660
671
> &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
665
676
666
677
> Get the collision threshold with the Six-axis Force Torque Sensor
667
678
> 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
669
680
>
670
681
> :return: tuple((code, threshold)), only when code is 0, the returned result is correct.
671
682
> &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
2063
2074
> Note:
2064
2075
> &ensp ;&ensp ;&ensp ;&ensp ; 1. Only available in the new version of BIO Gripper
2065
2076
>
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
2068
2080
>
2069
2081
> :return: code
2070
2082
> &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
2401
2413
2402
2414
> Set whether to enable collision detection with the Six-axis Force Torque Sensor
2403
2415
> 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
2405
2417
> &ensp ;&ensp ;&ensp ;&ensp ; 2. the Six-axis Force Torque Sensor is required (the third party is not currently supported)
2406
2418
> &ensp ;&ensp ;&ensp ;&ensp ; 3. the Six-axis Force Torque Sensor needs to be enabled and set force mode
2407
2419
>
@@ -2415,12 +2427,12 @@ xArm-Python-SDK API Documentation (V1.15.0): class XArmAPI in module xarm.wrappe
2415
2427
2416
2428
> Set the rebound distance of the collision rebound with the Six-axis Force Torque Sensor
2417
2429
> 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
2419
2431
>
2420
2432
> : 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)
2424
2436
> &ensp ;&ensp ;&ensp ;&ensp ; Rx: [ 0.2, 50] (°)
2425
2437
> &ensp ;&ensp ;&ensp ;&ensp ; Ry: [ 0.2, 50] (°)
2426
2438
> &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
2434
2446
2435
2447
> Set whether to enable collision rebound with the Six-axis Force Torque Sensor
2436
2448
> 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
2438
2450
>
2439
2451
> : param on_off: enable or not
2440
2452
>
@@ -2446,7 +2458,7 @@ xArm-Python-SDK API Documentation (V1.15.0): class XArmAPI in module xarm.wrappe
2446
2458
2447
2459
> Set the threshold of the collision detection with the Six-axis Force Torque Sensor
2448
2460
> 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
2450
2462
>
2451
2463
> : param thresholds: collision detection thresholds, [ x(N), y(N), z(N), Rx(Nm), Ry(Nm), Rz(Nm)]
2452
2464
> &ensp ;&ensp ;&ensp ;&ensp ; x: [ 5, 200] (N)
0 commit comments