@@ -529,7 +529,7 @@ xArm-Python-SDK API Documentation (V1.17.3): class XArmAPI in module xarm.wrappe
529529
530530> Get the monitor params of the external device
531531> Note:
532- > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.7.110
532+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.7.100
533533>
534534> :return: tuple((code, params)), only when code is 0, the returned result is correct.
535535> &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
@@ -1170,6 +1170,17 @@ xArm-Python-SDK API Documentation (V1.17.3): class XArmAPI in module xarm.wrappe
11701170> Get the timeout of the Robot RS485 (please use get_rs485_timeout replace)
11711171
11721172
1173+ #### def __ get_tgpio_monitor_params__ (self):
1174+
1175+ > Get the monitor params of the TGPIO
1176+ > Note:
1177+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.7.101
1178+ >
1179+ > :return: tuple((code, params)), only when code is 0, the returned result is correct.
1180+ > &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
1181+ > &ensp ;&ensp ;&ensp ;&ensp ; params: [ io_type, frequency]
1182+
1183+
11731184#### def __ get_tgpio_output_digital__ (self, ionum=None):
11741185
11751186> Get the digital value of the specified Tool GPIO output
@@ -2377,7 +2388,7 @@ xArm-Python-SDK API Documentation (V1.17.3): class XArmAPI in module xarm.wrappe
23772388
23782389> Set the monitor params of the external device
23792390> Note:
2380- > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.7.110
2391+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.7.100
23812392> &ensp ;&ensp ;&ensp ;&ensp ; 2. after it is turned on, the position/speed/current information of the external device will be reported through port 30000
23822393> &ensp ;&ensp ;&ensp ;&ensp ; 3. once an error occurs, you need to re call to monitor
23832394>
@@ -2386,8 +2397,7 @@ xArm-Python-SDK API Documentation (V1.17.3): class XArmAPI in module xarm.wrappe
23862397> &ensp ;&ensp ;&ensp ;&ensp ; 1: xArm Gripper
23872398> &ensp ;&ensp ;&ensp ;&ensp ; 2: xArm Gripper G2
23882399> &ensp ;&ensp ;&ensp ;&ensp ; 3: BIO Gripper G2
2389- > &ensp ;&ensp ;&ensp ;&ensp ; 4: Robotiq 2F-85
2390- > &ensp ;&ensp ;&ensp ;&ensp ; 5: Robotiq 2F-140
2400+ > &ensp ;&ensp ;&ensp ;&ensp ; 4: Robotiq 2F-85/Robotiq 2F-140
23912401> : param frequency: the frequency of communication with the external device
23922402>
23932403> : return code
@@ -3397,6 +3407,22 @@ xArm-Python-SDK API Documentation (V1.17.3): class XArmAPI in module xarm.wrappe
33973407> Set the timeout of the Robot RS485 (please use set_rs485_timeout)
33983408
33993409
3410+ #### def __ set_tgpio_monitor_params__ (self, io_type, frequency):
3411+
3412+ > Set the monitor params of the TGPIO
3413+ > Note:
3414+ > &ensp ;&ensp ;&ensp ;&ensp ; 1. only available if firmware_version >= 2.7.101
3415+ > &ensp ;&ensp ;&ensp ;&ensp ; 2. after it is turned on, the information of the TGPIO will be reported through port 30000
3416+ >
3417+ > : param io_type: the type of the TGPIO
3418+ > &ensp ;&ensp ;&ensp ;&ensp ; 0: Turn off monitoring
3419+ > &ensp ;&ensp ;&ensp ;&ensp ; 1: Turn on monitoring
3420+ > : param frequency: the frequency of communication with the TGPIO
3421+ >
3422+ > : return code
3423+ > &ensp ;&ensp ;&ensp ;&ensp ; code: See the [ API Code Documentation] ( ./xarm_api_code.md#api-code ) for details.
3424+
3425+
34003426#### def __ set_timeout__ (self, timeout):
34013427
34023428> Set the timeout of cmd response
0 commit comments