xArm-Python-SDK 1.14.7__tar.gz → 1.14.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- xarm_python_sdk-1.14.8/PKG-INFO +21 -0
- xarm_python_sdk-1.14.8/README.rst +7 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/setup.py +2 -2
- xarm_python_sdk-1.14.8/xArm_Python_SDK.egg-info/PKG-INFO +21 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xArm_Python_SDK.egg-info/SOURCES.txt +1 -1
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/tools/blockly/_blockly_base.py +4 -2
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/tools/blockly/_blockly_handler.py +3 -2
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/tools/blockly/_blockly_tool.py +1 -0
- xarm_python_sdk-1.14.8/xarm/version.py +1 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/gpio.py +2 -2
- xarm_python_sdk-1.14.7/PKG-INFO +0 -10
- xarm_python_sdk-1.14.7/README.md +0 -430
- xarm_python_sdk-1.14.7/xArm_Python_SDK.egg-info/PKG-INFO +0 -10
- xarm_python_sdk-1.14.7/xarm/version.py +0 -1
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/LICENSE +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/setup.cfg +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xArm_Python_SDK.egg-info/dependency_links.txt +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xArm_Python_SDK.egg-info/not-zip-safe +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xArm_Python_SDK.egg-info/top_level.txt +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/__init__.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/__init__.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/comm/__init__.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/comm/base.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/comm/serial_port.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/comm/socket_port.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/comm/uxbus_cmd_protocol.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/config/__init__.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/config/x_code.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/config/x_config.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/utils/__init__.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/utils/convert.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/utils/crc16.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/utils/debug_print.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/utils/log.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/version.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/wrapper/__init__.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/wrapper/uxbus_cmd.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/wrapper/uxbus_cmd_ser.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/core/wrapper/uxbus_cmd_tcp.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/tools/__init__.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/tools/blockly/__init__.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/tools/blockly/_blockly_highlight.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/tools/blockly/_blockly_node.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/tools/blockly_tool.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/tools/gcode.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/tools/list_ports.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/tools/modbus_tcp.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/tools/threads.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/tools/utils.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/wrapper/__init__.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/wrapper/studio_api.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/wrapper/xarm_api.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/__init__.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/base.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/base_board.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/code.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/decorator.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/events.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/ft_sensor.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/grammar_async.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/grammar_coroutine.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/gripper.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/modbus_tcp.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/parse.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/record.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/report.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/robotiq.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/servo.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/studio.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/track.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/utils.py +0 -0
- {xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xarm/x3/xarm.py +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: xArm-Python-SDK
|
|
3
|
+
Version: 1.14.8
|
|
4
|
+
Summary: Python SDK for xArm
|
|
5
|
+
Author: Vinman
|
|
6
|
+
Author-email: vinman@ufactory.cc
|
|
7
|
+
License: MIT
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Dynamic: author
|
|
10
|
+
Dynamic: author-email
|
|
11
|
+
Dynamic: description
|
|
12
|
+
Dynamic: license
|
|
13
|
+
Dynamic: summary
|
|
14
|
+
|
|
15
|
+
Python SDK for UFACTORY robotic arm 850, xArm 5/6/7, and Lite6.
|
|
16
|
+
|
|
17
|
+
:Website: https://www.ufactory.cc/
|
|
18
|
+
:Github: https://github.com/xArm-Developer/xArm-Python-SDK
|
|
19
|
+
:Docs: http://docs.api.ufactory.cc
|
|
20
|
+
:Release Note: https://github.com/xArm-Developer/xArm-Python-SDK/blob/master/README.md#update-summary
|
|
21
|
+
:Bug Reports: support@ufactory.cc
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Python SDK for UFACTORY robotic arm 850, xArm 5/6/7, and Lite6.
|
|
2
|
+
|
|
3
|
+
:Website: https://www.ufactory.cc/
|
|
4
|
+
:Github: https://github.com/xArm-Developer/xArm-Python-SDK
|
|
5
|
+
:Docs: http://docs.api.ufactory.cc
|
|
6
|
+
:Release Note: https://github.com/xArm-Developer/xArm-Python-SDK/blob/master/README.md#update-summary
|
|
7
|
+
:Bug Reports: support@ufactory.cc
|
|
@@ -36,8 +36,8 @@ with open(os.path.join(os.getcwd(), ver_path)) as ver_file:
|
|
|
36
36
|
|
|
37
37
|
version = main_ns['__version__']
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
long_description = 'long description for xArm-Python-SDK'
|
|
39
|
+
long_description = open('README.rst').read()
|
|
40
|
+
# long_description = 'long description for xArm-Python-SDK'
|
|
41
41
|
|
|
42
42
|
try:
|
|
43
43
|
with open(os.path.join(os.getcwd(), 'requirements.txt')) as f:
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: xArm-Python-SDK
|
|
3
|
+
Version: 1.14.8
|
|
4
|
+
Summary: Python SDK for xArm
|
|
5
|
+
Author: Vinman
|
|
6
|
+
Author-email: vinman@ufactory.cc
|
|
7
|
+
License: MIT
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Dynamic: author
|
|
10
|
+
Dynamic: author-email
|
|
11
|
+
Dynamic: description
|
|
12
|
+
Dynamic: license
|
|
13
|
+
Dynamic: summary
|
|
14
|
+
|
|
15
|
+
Python SDK for UFACTORY robotic arm 850, xArm 5/6/7, and Lite6.
|
|
16
|
+
|
|
17
|
+
:Website: https://www.ufactory.cc/
|
|
18
|
+
:Github: https://github.com/xArm-Developer/xArm-Python-SDK
|
|
19
|
+
:Docs: http://docs.api.ufactory.cc
|
|
20
|
+
:Release Note: https://github.com/xArm-Developer/xArm-Python-SDK/blob/master/README.md#update-summary
|
|
21
|
+
:Bug Reports: support@ufactory.cc
|
|
@@ -31,6 +31,7 @@ class _BlocklyBase(_BlocklyNode):
|
|
|
31
31
|
self._funcs = {}
|
|
32
32
|
self._define_is_prime_func = False
|
|
33
33
|
self._define_bin_matchs_func = False
|
|
34
|
+
self._vacuum_version = '1'
|
|
34
35
|
|
|
35
36
|
def _get_field_value(self, block):
|
|
36
37
|
field = self._get_node('field', root=block)
|
|
@@ -94,12 +95,13 @@ class _BlocklyBase(_BlocklyNode):
|
|
|
94
95
|
self._define_bin_matchs_func = True
|
|
95
96
|
return 'self._cgpio_digitals_is_matchs_bin(\'{}\')'.format(bin_val)
|
|
96
97
|
elif block.attrib['type'] == 'get_suction_cup':
|
|
97
|
-
return 'self._arm.get_suction_cup()[{}]'.format(1)
|
|
98
|
+
return 'self._arm.get_suction_cup(hardware_version={})[{}]'.format(self._vacuum_version, 1)
|
|
98
99
|
elif block.attrib['type'] == 'check_air_pump_state':
|
|
99
100
|
fields = self._get_nodes('field', root=block)
|
|
100
101
|
state = 1 if fields[0].text == 'ON' else 0
|
|
101
102
|
timeout = float(fields[1].text)
|
|
102
|
-
return 'self._arm.arm.check_air_pump_state({}, timeout={})'.format(state, timeout
|
|
103
|
+
return 'self._arm.arm.check_air_pump_state({}, timeout={}, hardware_version={})'.format(state, timeout,
|
|
104
|
+
self._vacuum_version)
|
|
103
105
|
elif block.attrib['type'] == 'check_bio_gripper_is_catch':
|
|
104
106
|
fields = self._get_nodes('field', root=block)
|
|
105
107
|
timeout = float(fields[0].text)
|
|
@@ -41,6 +41,7 @@ class _BlocklyHandler(_BlocklyBase):
|
|
|
41
41
|
self.is_run_linear_track = False
|
|
42
42
|
self._is_run_blockly = False
|
|
43
43
|
self._listen_counter = False
|
|
44
|
+
self._vacuum_version = '1'
|
|
44
45
|
|
|
45
46
|
def _append_init_code(self, code):
|
|
46
47
|
self._init_code_list.append(code)
|
|
@@ -435,7 +436,7 @@ class _BlocklyHandler(_BlocklyBase):
|
|
|
435
436
|
self._append_main_code(' return', indent + 2)
|
|
436
437
|
|
|
437
438
|
def _handle_get_suction_cup(self, block, indent=0, arg_map=None):
|
|
438
|
-
self._append_main_code('{}self._arm.get_suction_cup()', indent + 2)
|
|
439
|
+
self._append_main_code('{}self._arm.get_suction_cup(hardware_version={})'.format('{}', self._vacuum_version), indent + 2)
|
|
439
440
|
|
|
440
441
|
def _handle_check_air_pump_state(self, block, indent=0, arg_map=None):
|
|
441
442
|
fields = self._get_nodes('field', root=block)
|
|
@@ -463,7 +464,7 @@ class _BlocklyHandler(_BlocklyBase):
|
|
|
463
464
|
wait = False
|
|
464
465
|
fields = self._get_nodes('field', root=block, name='delay')
|
|
465
466
|
delay_sec = fields[0].text if len(fields) > 0 else 0
|
|
466
|
-
self._append_main_code('code = self._arm.set_suction_cup({}, wait={}, delay_sec={})'.format( on, wait, delay_sec), indent + 2)
|
|
467
|
+
self._append_main_code('code = self._arm.set_suction_cup({}, wait={}, delay_sec={}, hardware_version={})'.format( on, wait, delay_sec, self._vacuum_version), indent + 2)
|
|
467
468
|
self._append_main_code('if not self._check_code(code, \'set_suction_cup\'):', indent + 2)
|
|
468
469
|
self._append_main_code(' return', indent + 2)
|
|
469
470
|
|
|
@@ -24,6 +24,7 @@ class BlocklyTool(_BlocklyHandler):
|
|
|
24
24
|
if not self._is_converted:
|
|
25
25
|
self._is_exec = kwargs.get('is_exec', False)
|
|
26
26
|
self._is_ide = kwargs.get('is_ide', False)
|
|
27
|
+
self._vacuum_version = kwargs.get('vacuum_version', '1')
|
|
27
28
|
# highlight_callback: only use pack to run blockly in studio
|
|
28
29
|
self._highlight_callback = kwargs.get('highlight_callback', None)
|
|
29
30
|
# axis_type: Obtain the type of mechanical arm axis for end leveling use
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.14.8'
|
|
@@ -83,14 +83,14 @@ class GPIO(Base):
|
|
|
83
83
|
if self.check_is_simulation_robot():
|
|
84
84
|
return 0, [0, 0] if ionum is None else 0
|
|
85
85
|
if ionum == 2:
|
|
86
|
-
#
|
|
86
|
+
# Only available for Lite6 and 850
|
|
87
87
|
ret = self.arm_cmd.tgpio_addr_r16(0x0A12)
|
|
88
88
|
return ret[0], ret[1] & 0x0001
|
|
89
89
|
else:
|
|
90
90
|
ret = self.arm_cmd.tgpio_get_digital()
|
|
91
91
|
if ret[0] == 0:
|
|
92
92
|
self.tgpio_state['digital'] = ret[1:]
|
|
93
|
-
return ret[0], ret[1:] if ionum is None else ret[ionum+1 if ionum < 3 else ionum]
|
|
93
|
+
return ret[0], ret[1:] if ionum is None else ret[ionum + 1 if ionum < 3 else ionum]
|
|
94
94
|
|
|
95
95
|
@xarm_is_connected(_type='get')
|
|
96
96
|
def get_tgpio_output_digital(self, ionum=None):
|
xarm_python_sdk-1.14.7/PKG-INFO
DELETED
xarm_python_sdk-1.14.7/README.md
DELETED
|
@@ -1,430 +0,0 @@
|
|
|
1
|
-
# xArm-Python-SDK
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
xArm Python SDK
|
|
5
|
-
|
|
6
|
-
## Caution
|
|
7
|
-
- Please keep away from the robot arm to avoid personal injury or equipment damage.
|
|
8
|
-
- Make sure to do a safety assessment before moving to prevent collisions.
|
|
9
|
-
- Protect the arm before unlocking the joint.
|
|
10
|
-
|
|
11
|
-
## Installation
|
|
12
|
-
  you can run examples without installation.Only Python3 is supported.
|
|
13
|
-
- download
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
git clone https://github.com/xArm-Developer/xArm-Python-SDK.git
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
- install
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
python setup.py install
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Doc
|
|
26
|
-
- #### [API Document](doc/api/xarm_api.md)
|
|
27
|
-
|
|
28
|
-
- #### [API Code Document](doc/api/xarm_api_code.md)
|
|
29
|
-
|
|
30
|
-
- #### [UFACTORY ModbusTCP Manual](doc/UF_ModbusTCP_Manual.md)
|
|
31
|
-
|
|
32
|
-
## Update Summary
|
|
33
|
-
- > ### 1.14.7
|
|
34
|
-
- Fixed the problem that single joint or direction movement fails in some cases (valid from firmware 2.5.0)
|
|
35
|
-
- Added standard ModbusTcp client and Gcode client
|
|
36
|
-
- GPIO control supports immediate execution
|
|
37
|
-
- Support new version of vacuum gripper
|
|
38
|
-
- Support the studio-2.5.0 blockly project conversion to python
|
|
39
|
-
|
|
40
|
-
- > ### 1.13.30
|
|
41
|
-
- Supports obtaining unsaved track recording duration
|
|
42
|
-
- Fix the abnormal path of running blockly program in some cases
|
|
43
|
-
- Fix the return format of getting C23 and C38 errors
|
|
44
|
-
- Supports obtaining identification status
|
|
45
|
-
|
|
46
|
-
- > ### 1.13.19
|
|
47
|
-
- Friction identification supports xarm7_mirror model
|
|
48
|
-
- Fix the abnormal return value of blockly conversion robotiq related interface
|
|
49
|
-
|
|
50
|
-
- > ### 1.13.0
|
|
51
|
-
- Compatible with the standard Modbus TCP protocol, providing part of the standard Modbus TCP protocol interface
|
|
52
|
-
|
|
53
|
-
- > ### 1.12.2
|
|
54
|
-
- Support partial Task feedback (requires firmware version greater than or equal to v2.1.0)
|
|
55
|
-
|
|
56
|
-
- > ### 1.11.6
|
|
57
|
-
- Correct the ambiguity that the `set_position_aa` interface is true when both relative and is_tool_coord are true. After the correction, when is_tool_coord is true, relative is invalid (previously is_tool_coord was invalid when relative was true)
|
|
58
|
-
|
|
59
|
-
- > ### 1.11.5
|
|
60
|
-
- Optimization pause time is too long (wait=true)
|
|
61
|
-
- Add common motion api (Enabled after firmware version 1.11.100)
|
|
62
|
-
- The Cartesian motion-related interface adds the motion_type parameter to determine the planning method (Enabled after firmware version 1.11.100)
|
|
63
|
-
|
|
64
|
-
- >### [More](ReleaseNotes.md)
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
## [Example](example/wrapper/)
|
|
68
|
-
|
|
69
|
-
   __Before running the example, please modify the IP in [robot.conf](example/wrapper/robot.conf) to corresponding IP you want to control.__
|
|
70
|
-
|
|
71
|
-
- #### [0000-template](example/wrapper/common/0000-template.py)
|
|
72
|
-
|
|
73
|
-
- ##### [0001-event_register](example/wrapper/common/0001-event_register.py)
|
|
74
|
-
|
|
75
|
-
- ##### [0002-get_property](example/wrapper/common/0002-get_property.py)
|
|
76
|
-
|
|
77
|
-
- ##### [0003-api_get](example/wrapper/common/0003-api_get.py)
|
|
78
|
-
|
|
79
|
-
- ##### [0004-servo_attach_detach](example/wrapper/common/0004-servo_attach_detach.py)
|
|
80
|
-
|
|
81
|
-
- ##### [1001-move_line](example/wrapper/common/1001-move_line.py)
|
|
82
|
-
|
|
83
|
-
- ##### [1002-move_line](example/wrapper/common/1002-move_line.py)
|
|
84
|
-
|
|
85
|
-
- ##### [1003-relative_move_line](example/wrapper/common/1003-relative_move_line.py)
|
|
86
|
-
|
|
87
|
-
- ##### [1004-move_arc_line](example/wrapper/common/1004-move_arc_line.py)
|
|
88
|
-
|
|
89
|
-
- ##### [1005-move_arc_line](example/wrapper/common/1005-move_arc_line.py)
|
|
90
|
-
|
|
91
|
-
- ##### [1006-move_tool_line](example/wrapper/common/1006-move_tool_line.py)
|
|
92
|
-
|
|
93
|
-
- ##### [1007-counter](example/wrapper/common/1007-counter.py)
|
|
94
|
-
|
|
95
|
-
- ##### [1008-move_line_aa](example/wrapper/common/1008-move_line_aa.py)
|
|
96
|
-
|
|
97
|
-
- ##### [1009-cartesian_velocity_control](example/wrapper/common/1009-cartesian_velocity_control.py)
|
|
98
|
-
|
|
99
|
-
- ##### [1010-cartesian_online_trajectory_planning](example/wrapper/common/1010-cartesian_online_trajectory_planning.py)
|
|
100
|
-
|
|
101
|
-
- ##### [2000-joint_velocity_control](example/wrapper/common/2000-joint_velocity_control.py)
|
|
102
|
-
|
|
103
|
-
- ##### [2006-joint_online_trajectory_planning](example/wrapper/common/2006-joint_online_trajectory_planning.py)
|
|
104
|
-
|
|
105
|
-
- ##### 2001-move_joint --> [xarm5](example/wrapper/xarm5/2001-move_joint.py) --- [xarm6](example/wrapper/xarm6/2001-move_joint.py) --- [xarm7](example/wrapper/xarm7/2001-move_joint.py)
|
|
106
|
-
|
|
107
|
-
- ##### 2002-move_joint --> [xarm5](example/wrapper/xarm5/2002-move_joint.py) --- [xarm6](example/wrapper/xarm6/2002-move_joint.py) --- [xarm7](example/wrapper/xarm7/2002-move_joint.py)
|
|
108
|
-
|
|
109
|
-
- ##### 2003-move_joint --> [xarm5](example/wrapper/xarm5/2003-move_joint.py) --- [xarm6](example/wrapper/xarm6/2003-move_joint.py) --- [xarm7](example/wrapper/xarm7/2003-move_joint.py)
|
|
110
|
-
|
|
111
|
-
- ##### 2004-move_joint --> [xarm5](example/wrapper/xarm5/2004-move_joint.py) --- [xarm6](example/wrapper/xarm6/2004-move_joint.py) --- [xarm7](example/wrapper/xarm7/2004-move_joint.py)
|
|
112
|
-
|
|
113
|
-
- ##### 2005-move_arc_joint --> [xarm5](example/wrapper/xarm5/2005-move_arc_joint.py) --- [xarm6](example/wrapper/xarm6/2005-move_arc_joint.py) --- [xarm7](example/wrapper/xarm7/2005-move_arc_joint.py)
|
|
114
|
-
|
|
115
|
-
- ##### [3001-move_circle](example/wrapper/common/3001-move_circle.py)
|
|
116
|
-
|
|
117
|
-
- ##### [3002-record_trajectory](example/wrapper/common/3002-record_trajectory.py)
|
|
118
|
-
|
|
119
|
-
- ##### [3003-playback_trajectory](example/wrapper/common/3003-playback_trajectory.py)
|
|
120
|
-
|
|
121
|
-
- ##### [3004-get_report_data](example/wrapper/common/3004-get_report_data.py)
|
|
122
|
-
|
|
123
|
-
- ##### [3005-task_feedback](example/wrapper/common/3005-task_feedback.py)
|
|
124
|
-
|
|
125
|
-
- ##### [3006-standard_modbus_tcp](example/wrapper/common/3006-standard_modbus_tcp.py)
|
|
126
|
-
|
|
127
|
-
- ##### [5000-set_tgpio_modbus](example/wrapper/common/5000-set_tgpio_modbus.py)
|
|
128
|
-
|
|
129
|
-
- ##### [5001-get_tgpio_digital](example/wrapper/common/5001-get_tgpio_digital.py)
|
|
130
|
-
|
|
131
|
-
- ##### [5002-get_tgpio_analog](example/wrapper/common/5002-get_tgpio_analog.py)
|
|
132
|
-
|
|
133
|
-
- ##### [5003-set_tgpio_digital](example/wrapper/common/5003-set_tgpio_digital.py)
|
|
134
|
-
|
|
135
|
-
- ##### [5004-set_gripper](example/wrapper/common/5004-set_gripper.py)
|
|
136
|
-
|
|
137
|
-
- ##### [5005-get_cgpio_digital_analog](example/wrapper/common/5005-get_cgpio_digital_analog.py)
|
|
138
|
-
|
|
139
|
-
- ##### [5006-set_cgpio_digital_analog](example/wrapper/common/5006-set_cgpio_digital_analog.py)
|
|
140
|
-
|
|
141
|
-
- ##### [5007-set_cgpio_input_output_function](example/wrapper/common/5007-set_cgpio_input_output_function.py)
|
|
142
|
-
|
|
143
|
-
- ##### [5008-get_cgpio_state](example/wrapper/common/5008-get_cgpio_state.py)
|
|
144
|
-
|
|
145
|
-
- ##### [5009-set_bio_gripper](example/wrapper/common/5009-set_bio_gripper.py)
|
|
146
|
-
|
|
147
|
-
- ##### [6001-set_reduced_mode](example/wrapper/common/6001-set_reduced_mode.py)
|
|
148
|
-
|
|
149
|
-
- ##### [6002-set_fense_mode](example/wrapper/common/6002-set_fense_mode.py)
|
|
150
|
-
|
|
151
|
-
- ##### [7001-servo_j](example/wrapper/common/7001-servo_j.py)
|
|
152
|
-
|
|
153
|
-
- ##### [7002-servo_cartesian](example/wrapper/common/7002-servo_cartesian.py)
|
|
154
|
-
|
|
155
|
-
- ##### [7003-servo_cartesian_aa](example/wrapper/common/7003-servo_cartesian_aa.py)
|
|
156
|
-
|
|
157
|
-
- ##### [8000-load_identify_current](example/wrapper/common/8000-load_identify_current.py)
|
|
158
|
-
|
|
159
|
-
- ##### [8001-force_tech](example/wrapper/common/8001-force_tech.py)
|
|
160
|
-
|
|
161
|
-
- ##### [8002-impedance](example/wrapper/common/8002-impedance.py)
|
|
162
|
-
|
|
163
|
-
- ##### [8003-force_control](example/wrapper/common/8003-force_control.py)
|
|
164
|
-
|
|
165
|
-
- ##### [8004-load_identify](example/wrapper/common/8004-load_identify.py)
|
|
166
|
-
|
|
167
|
-
- ##### [8005-read_force_data](example/wrapper/common/8005-read_force_data.py)
|
|
168
|
-
|
|
169
|
-
- ##### [8006-save_force_zero](example/wrapper/common/8006-save_force_zero.py)
|
|
170
|
-
|
|
171
|
-
- ##### [8010-get_ft_sensor_config](example/wrapper/common/8010-get_ft_sensor_config.py)
|
|
172
|
-
|
|
173
|
-
- ##### [9000-set_linear_track](example/wrapper/common/9000-set_linear_track.py)
|
|
174
|
-
|
|
175
|
-
- ##### [blockly_to_python](example/wrapper/tool/blockly_to_python.py)
|
|
176
|
-
|
|
177
|
-
- ##### [get_report_data_with_protocol](example/wrapper/common/get_report_data_with_protocol.py)
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
- #### Import
|
|
181
|
-
```python
|
|
182
|
-
from xarm.wrapper import XArmAPI
|
|
183
|
-
arm = XArmAPI('COM5')
|
|
184
|
-
arm = XArmAPI('192.168.1.113')
|
|
185
|
-
arm = XArmAPI('192.168.1.113', do_not_open=False)
|
|
186
|
-
arm = XArmAPI('192.168.1.113', is_radian=False)
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
- #### Connect/Disconnect
|
|
190
|
-
```python
|
|
191
|
-
arm.connect(...)
|
|
192
|
-
arm.disconnect()
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
- #### Move
|
|
196
|
-
```python
|
|
197
|
-
arm.reset(...)
|
|
198
|
-
arm.set_position(...)
|
|
199
|
-
arm.set_servo_angle(...)
|
|
200
|
-
arm.set_servo_angle_j(...)
|
|
201
|
-
arm.set_servo_cartesian(...)
|
|
202
|
-
arm.move_gohome(...)
|
|
203
|
-
arm.move_circle(...)
|
|
204
|
-
arm.emergency_stop()
|
|
205
|
-
arm.set_position_aa(...)
|
|
206
|
-
arm.set_servo_cartesian_aa(...)
|
|
207
|
-
arm.vc_set_joint_velocity(...)
|
|
208
|
-
arm.vc_set_cartesian_velocity(...)
|
|
209
|
-
```
|
|
210
|
-
|
|
211
|
-
- #### Set
|
|
212
|
-
```python
|
|
213
|
-
arm.set_servo_attach(...)
|
|
214
|
-
arm.set_servo_detach(...)
|
|
215
|
-
arm.set_state(...)
|
|
216
|
-
arm.set_mode(...)
|
|
217
|
-
arm.motion_enable(...)
|
|
218
|
-
arm.set_pause_time(...)
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
- #### Get
|
|
222
|
-
```python
|
|
223
|
-
arm.get_version()
|
|
224
|
-
arm.get_state()
|
|
225
|
-
arm.get_is_moving()
|
|
226
|
-
arm.get_cmdnum()
|
|
227
|
-
arm.get_err_warn_code()
|
|
228
|
-
arm.get_position(...)
|
|
229
|
-
arm.get_servo_angle(...)
|
|
230
|
-
arm.get_position_aa(...)
|
|
231
|
-
arm.get_pose_offset(...)
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
- #### Setting
|
|
235
|
-
```python
|
|
236
|
-
arm.set_tcp_offset(...)
|
|
237
|
-
arm.set_tcp_jerk(...)
|
|
238
|
-
arm.set_tcp_maxacc(...)
|
|
239
|
-
arm.set_joint_jerk(...)
|
|
240
|
-
arm.set_joint_maxacc(...)
|
|
241
|
-
arm.set_tcp_load(...)
|
|
242
|
-
arm.set_collision_sensitivity(...)
|
|
243
|
-
arm.set_teach_sensitivity(...)
|
|
244
|
-
arm.set_gravity_direction(...)
|
|
245
|
-
arm.config_tgpio_reset_when_stop(...)
|
|
246
|
-
arm.config_cgpio_reset_when_stop(...)
|
|
247
|
-
arm.set_report_tau_or_i(...)
|
|
248
|
-
arm.set_self_collision_detection(...)
|
|
249
|
-
arm.set_collision_tool_model(...)
|
|
250
|
-
arm.clean_conf()
|
|
251
|
-
arm.save_conf()
|
|
252
|
-
```
|
|
253
|
-
|
|
254
|
-
- #### Gripper
|
|
255
|
-
```python
|
|
256
|
-
arm.set_gripper_enable(...)
|
|
257
|
-
arm.set_gripper_mode(...)
|
|
258
|
-
arm.set_gripper_speed(...)
|
|
259
|
-
arm.set_gripper_position(...)
|
|
260
|
-
arm.get_gripper_position()
|
|
261
|
-
arm.get_gripper_err_code()
|
|
262
|
-
arm.clean_gripper_error()
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
- #### BIO Gripper
|
|
266
|
-
|
|
267
|
-
```python
|
|
268
|
-
arm.set_bio_gripper_enable(...)
|
|
269
|
-
arm.set_bio_gripper_speed(...)
|
|
270
|
-
arm.open_bio_grippe(...)
|
|
271
|
-
arm.close_bio_gripper(...)
|
|
272
|
-
arm.get_bio_gripper_status()
|
|
273
|
-
arm.get_bio_gripper_error()
|
|
274
|
-
arm.clean_bio_gripper_error()
|
|
275
|
-
```
|
|
276
|
-
|
|
277
|
-
- #### RobotIQ Gripper
|
|
278
|
-
|
|
279
|
-
```python
|
|
280
|
-
arm.robotiq_reset()
|
|
281
|
-
arm.robotiq_set_activate(...)
|
|
282
|
-
arm.robotiq_set_position(...)
|
|
283
|
-
arm.robotiq_open(...)
|
|
284
|
-
arm.robotiq_close(...)
|
|
285
|
-
arm.robotiq_get_status(...)
|
|
286
|
-
```
|
|
287
|
-
|
|
288
|
-
- #### Modbus of the end tools
|
|
289
|
-
|
|
290
|
-
```python
|
|
291
|
-
arm.set_tgpio_modbus_timeout(...)
|
|
292
|
-
arm.set_tgpio_modbus_baudrate(...)
|
|
293
|
-
arm.get_tgpio_modbus_baudrate(...)
|
|
294
|
-
arm.getset_tgpio_modbus_data(...)
|
|
295
|
-
```
|
|
296
|
-
|
|
297
|
-
- #### GPIO
|
|
298
|
-
|
|
299
|
-
```python
|
|
300
|
-
# Tool GPIO
|
|
301
|
-
arm.get_tgpio_digital(...)
|
|
302
|
-
arm.set_tgpio_digital(...)
|
|
303
|
-
arm.get_tgpio_analog(...)
|
|
304
|
-
arm.set_tgpio_digital_with_xyz(...)
|
|
305
|
-
# Controller GPIO
|
|
306
|
-
arm.get_cgpio_digital(...)
|
|
307
|
-
arm.get_cgpio_analog(...)
|
|
308
|
-
arm.set_cgpio_digital(...)
|
|
309
|
-
arm.set_cgpio_analog(...)
|
|
310
|
-
arm.set_cgpio_digital_input_function(...)
|
|
311
|
-
arm.set_cgpio_digital_output_function(...)
|
|
312
|
-
arm.get_cgpio_state()
|
|
313
|
-
arm.set_cgpio_digital_with_xyz(...)
|
|
314
|
-
arm.set_cgpio_analog_with_xyz(...)
|
|
315
|
-
```
|
|
316
|
-
|
|
317
|
-
- #### Linear Track
|
|
318
|
-
|
|
319
|
-
```python
|
|
320
|
-
arm.get_linear_track_pos()
|
|
321
|
-
arm.get_linear_track_status()
|
|
322
|
-
arm.get_linear_track_error()
|
|
323
|
-
arm.get_linear_track_is_enabled()
|
|
324
|
-
arm.get_linear_track_on_zero()
|
|
325
|
-
arm.get_linear_track_sci()
|
|
326
|
-
arm.get_linear_track_sco()
|
|
327
|
-
|
|
328
|
-
arm.clean_linear_track_error(...)
|
|
329
|
-
arm.set_linear_track_enable(...)
|
|
330
|
-
arm.set_linear_track_speed(...)
|
|
331
|
-
arm.set_linear_track_back_origin(...)
|
|
332
|
-
arm.set_linear_track_pos(...)
|
|
333
|
-
arm.set_linear_track_stop(...)
|
|
334
|
-
```
|
|
335
|
-
|
|
336
|
-
- #### FT Sensor
|
|
337
|
-
```python
|
|
338
|
-
arm.set_impedance(...)
|
|
339
|
-
arm.set_impedance_mbk(...)
|
|
340
|
-
arm.set_impedance_config(...)
|
|
341
|
-
arm.config_force_control(...)
|
|
342
|
-
arm.set_force_control_pid(...)
|
|
343
|
-
arm.ft_sensor_set_zero(...)
|
|
344
|
-
arm.ft_sensor_iden_load(...)
|
|
345
|
-
arm.ft_sensor_cali_load(...)
|
|
346
|
-
arm.ft_sensor_enable(...)
|
|
347
|
-
arm.ft_sensor_app_set(...)
|
|
348
|
-
arm.ft_sensor_app_get(...)
|
|
349
|
-
arm.get_ft_sensor_data(...)
|
|
350
|
-
arm.get_ft_senfor_config(...)
|
|
351
|
-
arm.get_ft_sensor_error(...)
|
|
352
|
-
```
|
|
353
|
-
|
|
354
|
-
- #### Other
|
|
355
|
-
```python
|
|
356
|
-
arm.set_pause_time(...)
|
|
357
|
-
arm.system_control(...)
|
|
358
|
-
arm.clean_error()
|
|
359
|
-
arm.clean_warn()
|
|
360
|
-
arm.set_counter_reset()
|
|
361
|
-
arm.set_counter_increase(...)
|
|
362
|
-
```
|
|
363
|
-
|
|
364
|
-
- #### Register/Release
|
|
365
|
-
```python
|
|
366
|
-
arm.register_report_callback(...)
|
|
367
|
-
arm.register_report_location_callback(...)
|
|
368
|
-
arm.register_connect_changed_callback(callback)
|
|
369
|
-
arm.register_state_changed_callback(callback)
|
|
370
|
-
arm.register_mode_changed_callback(callback)
|
|
371
|
-
arm.register_mtable_mtbrake_changed_callback(callback)
|
|
372
|
-
arm.register_error_warn_changed_callback(callback)
|
|
373
|
-
arm.register_cmdnum_changed_callback(callback)
|
|
374
|
-
arm.register_temperature_changed_callback(callback)
|
|
375
|
-
arm.register_count_changed_callback(callback)
|
|
376
|
-
arm.release_report_callback(callback)
|
|
377
|
-
arm.release_report_location_callback(callback)
|
|
378
|
-
arm.release_connect_changed_callback(callback)
|
|
379
|
-
arm.release_state_changed_callback(callback)
|
|
380
|
-
arm.release_mode_changed_callback(callback)
|
|
381
|
-
arm.release_mtable_mtbrake_changed_callback(callback)
|
|
382
|
-
arm.release_error_warn_changed_callback(callback)
|
|
383
|
-
arm.release_cmdnum_changed_callback(callback)
|
|
384
|
-
arm.release_temperature_changed_callback(callback)
|
|
385
|
-
arm.release_count_changed_callback(callback)
|
|
386
|
-
```
|
|
387
|
-
|
|
388
|
-
- #### Property
|
|
389
|
-
```python
|
|
390
|
-
arm.connected
|
|
391
|
-
arm.default_is_radian
|
|
392
|
-
arm.version
|
|
393
|
-
arm.position
|
|
394
|
-
arm.last_used_position
|
|
395
|
-
arm.tcp_speed_limit
|
|
396
|
-
arm.tcp_acc_limit
|
|
397
|
-
arm.last_used_tcp_speed
|
|
398
|
-
arm.last_used_tcp_acc
|
|
399
|
-
arm.angles
|
|
400
|
-
arm.joint_speed_limit
|
|
401
|
-
arm.joint_acc_limit
|
|
402
|
-
arm.last_used_angles
|
|
403
|
-
arm.last_used_joint_speed
|
|
404
|
-
arm.last_used_joint_acc
|
|
405
|
-
arm.tcp_offset
|
|
406
|
-
arm.state
|
|
407
|
-
arm.mode
|
|
408
|
-
arm.joints_torque
|
|
409
|
-
arm.tcp_load
|
|
410
|
-
arm.collision_sensitivity
|
|
411
|
-
arm.teach_sensitivity
|
|
412
|
-
arm.motor_brake_states
|
|
413
|
-
arm.motor_enable_states
|
|
414
|
-
arm.has_err_warn
|
|
415
|
-
arm.has_error
|
|
416
|
-
arm.has_warn
|
|
417
|
-
arm.error_code
|
|
418
|
-
arm.warn_code
|
|
419
|
-
arm.cmd_num
|
|
420
|
-
arm.device_type
|
|
421
|
-
arm.axis
|
|
422
|
-
arm.gravity_direction
|
|
423
|
-
arm.gpio_reset_config
|
|
424
|
-
arm.count
|
|
425
|
-
arm.temperatures
|
|
426
|
-
arm.voltages
|
|
427
|
-
arm.currents
|
|
428
|
-
arm.cgpio_states
|
|
429
|
-
```
|
|
430
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '1.14.7'
|
|
File without changes
|
|
File without changes
|
{xarm_python_sdk-1.14.7 → xarm_python_sdk-1.14.8}/xArm_Python_SDK.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|