|
3 | 3 | ## Overview |
4 | 4 | xArm Python SDK |
5 | 5 |
|
| 6 | +## Caution |
| 7 | +- There is currently no collision detection, so try not to be close during use. |
| 8 | +- During use, people should stay away from the robot arm to avoid accidental injury or damage to other items by the robot arm. |
| 9 | +- Protect the arm before use. |
| 10 | +- Before you exercise, please make sure you don't encounter obstacles. |
| 11 | +- Protect the arm before unlocking the motor. |
| 12 | + |
| 13 | +## Installation |
| 14 | +Install is not necessary, you can run examples without installation.Only Python3 is supported. |
| 15 | +- download |
| 16 | + |
| 17 | + ``` git clone git@github.com:xArm-Developer/xArm-Python-SDK.git``` |
| 18 | +- install |
| 19 | + |
| 20 | + ``` python setup.py install ``` |
| 21 | + |
| 22 | +## Update summary for 0.2.1 |
| 23 | + |
| 24 | +- Added GPIO example |
| 25 | +- Compatible with old reporting protocols using new reporting protocols |
| 26 | +- New tools to convert xArmStudio's app code into Python code |
| 27 | + |
6 | 28 | ## Update summary for 0.2.0 |
7 | 29 |
|
8 | 30 | - Support torque detection |
@@ -37,51 +59,65 @@ xArm Python SDK |
37 | 59 | - Unified return value |
38 | 60 | - Snaps an exception and returns the specified return value |
39 | 61 |
|
40 | | - |
41 | | -## Caution |
42 | | -- There is currently no collision detection, so try not to be close during use. |
43 | | -- During use, people should stay away from the robot arm to avoid accidental injury or damage to other items by the robot arm. |
44 | | -- Protect the arm before use. |
45 | | -- Before you exercise, please make sure you don't encounter obstacles. |
46 | | -- Protect the arm before unlocking the motor. |
47 | | - |
48 | | -## Installation |
49 | | -Install is not necessary, you can run examples without installation. |
50 | | -- download |
51 | | - |
52 | | - ``` git clone git@github.com:xArm-Developer/xArm-Python-SDK.git``` |
53 | | -- install |
54 | | - |
55 | | - ``` python setup.py install ``` |
56 | | - |
57 | 62 | ## Doc |
58 | 63 | - #### [API](doc/api/xarm_api.md) |
59 | 64 | - #### [API Code](doc/api/xarm_api_code.md) |
60 | 65 |
|
61 | 66 | ## Example |
62 | 67 | - #### [xArm](example/wrapper/) |
| 68 | + |
63 | 69 | - ##### 0001-connect-with-serial --> [xarm5](example/wrapper/xarm5/0001-connect_with_serial.py) --- [xarm6](example/wrapper/xarm6/0001-connect_with_serial.py) --- [xarm7](example/wrapper/xarm7/0001-connect_with_serial.py) |
| 70 | + |
64 | 71 | - ##### 0002-connect_with_socket --> [xarm5](example/wrapper/xarm5/0002-connect_with_socket.py) --- [xarm6](example/wrapper/xarm6/0002-connect_with_socket.py) --- [xarm7](example/wrapper/xarm7/0002-connect_with_socket.py) |
| 72 | + |
65 | 73 | - ##### 0003-event_register --> [xarm5](example/wrapper/xarm5/0003-event_register.py) --- [xarm6](example/wrapper/xarm6/0003-event_register.py) --- [xarm7](example/wrapper/xarm7/0003-event_register.py) |
| 74 | + |
66 | 75 | - ##### 0004-handle_error_warn --> [xarm5](example/wrapper/xarm5/0004-handle_error_warn.py) --- [xarm6](example/wrapper/xarm6/0004-handle_error_warn.py) --- [xarm7](example/wrapper/xarm7/0004-handle_error_warn.py) |
| 76 | + |
67 | 77 | - ##### 0005-get_property --> [xarm5](example/wrapper/xarm5/0005-get_property.py) --- [xarm6](example/wrapper/xarm6/0005-get_property.py) --- [xarm7](example/wrapper/xarm7/0005-get_property.py) |
| 78 | + |
68 | 79 | - ##### 0006-get --> [xarm5](example/wrapper/xarm5/0006-get.py) --- [xarm6](example/wrapper/xarm6/0006-get.py) --- [xarm7](example/wrapper/xarm7/0006-get.py) |
| 80 | + |
69 | 81 | - ##### 0007-servo_attach_detach --> [xarm5](example/wrapper/xarm5/0007-servo_attach_detach.py) --- [xarm6](example/wrapper/xarm6/0007-servo_attach_detach.py) --- [xarm7](example/wrapper/xarm7/0007-servo_attach_detach.py) |
| 82 | + |
70 | 83 | - ##### 0008-send_cmd --> [xarm5](example/wrapper/xarm5/0008-send_cmd.py) --- [xarm6](example/wrapper/xarm6/0008-send_cmd.py) --- [xarm7](example/wrapper/xarm7/0008-send_cmd.py) |
| 84 | + |
71 | 85 | - ##### 0009-set_gripper--> [xarm5](example/wrapper/xarm5/0009-set_gripper.py) --- [xarm6](example/wrapper/xarm6/0009-set_gripper.py) --- [xarm7](example/wrapper/xarm7/0009-set_gripper.py) |
| 86 | + |
72 | 87 | - ##### 0101-move_line --> [xarm5](example/wrapper/xarm5/0101-move_line.py) --- [xarm6](example/wrapper/xarm6/0101-move_line.py) --- [xarm7](example/wrapper/xarm7/0101-move_line.py) |
| 88 | + |
73 | 89 | - ##### 0102-move_line --> [xarm5](example/wrapper/xarm5/0102-move_line.py) --- [xarm6](example/wrapper/xarm6/0102-move_line.py) --- [xarm7](example/wrapper/xarm7/0102-move_line.py) |
| 90 | + |
74 | 91 | - ##### 0103-move_line --> [xarm5](example/wrapper/xarm5/0103-move_line.py) --- [xarm6](example/wrapper/xarm6/0103-move_line.py) --- [xarm7](example/wrapper/xarm7/0103-move_line.py) |
| 92 | + |
75 | 93 | - ##### 0104-move_line --> [xarm5](example/wrapper/xarm5/0104-move_line.py) --- [xarm6](example/wrapper/xarm6/0104-move_line.py) --- [xarm7](example/wrapper/xarm7/0104-move_line.py) |
| 94 | + |
76 | 95 | - ##### 0105-relative_move_line --> [xarm5](example/wrapper/xarm5/0105-relative_move_line.py) --- [xarm6](example/wrapper/xarm6/0105-relative_move_line.py) --- [xarm7](example/wrapper/xarm7/0105-relative_move_line.py) |
| 96 | + |
77 | 97 | - ##### 0106-move_arc_line --> [xarm5](example/wrapper/xarm5/0106-move_arc_line.py) --- [xarm6](example/wrapper/xarm6/0106-move_arc_line.py) --- [xarm7](example/wrapper/xarm7/0106-move_arc_line.py) |
| 98 | + |
78 | 99 | - ##### 0107-move_arc_line --> [xarm5](example/wrapper/xarm5/0107-move_arc_line.py) --- [xarm6](example/wrapper/xarm6/0107-move_arc_line.py) --- [xarm7](example/wrapper/xarm7/0107-move_arc_line.py) |
| 100 | + |
79 | 101 | - ##### 0201-move_joint --> [xarm5](example/wrapper/xarm5/0201-move_joint.py) --- [xarm6](example/wrapper/xarm6/0201-move_joint.py) --- [xarm7](example/wrapper/xarm7/0201-move_joint.py) |
| 102 | + |
80 | 103 | - ##### 0202-move_joint --> [xarm5](example/wrapper/xarm5/0202-move_joint.py) --- [xarm6](example/wrapper/xarm6/0202-move_joint.py) --- [xarm7](example/wrapper/xarm7/0202-move_joint.py) |
| 104 | + |
81 | 105 | - ##### 0203-move_joint --> [xarm5](example/wrapper/xarm5/0203-move_joint.py) --- [xarm6](example/wrapper/xarm6/0203-move_joint.py) --- [xarm7](example/wrapper/xarm7/0203-move_joint.py) |
| 106 | + |
82 | 107 | - ##### 0204-move_joint --> [xarm5](example/wrapper/xarm5/0204-move_joint.py) --- [xarm6](example/wrapper/xarm6/0204-move_joint.py) --- [xarm7](example/wrapper/xarm7/0204-move_joint.py) |
| 108 | + |
83 | 109 | - ##### 0205-move_joint --> [xarm5](example/wrapper/xarm5/0205-move_joint.py) --- [xarm6](example/wrapper/xarm6/0205-move_joint.py) --- [xarm7](example/wrapper/xarm7/0205-move_joint.py) |
84 | 110 |
|
| 111 | +- [1001-get_gpio_digital](example/wrapper/common/1001-get_gpio_digital.py) |
| 112 | + |
| 113 | +- [1002-get_gpio_analog](example/wrapper/common/1002-get_gpio_analog.py) |
| 114 | + |
| 115 | +- [1003-set_gpio_digital](example/wrapper/common/1003-set_gpio_digital.py) |
| 116 | + |
| 117 | +- [1004-set_gripper](example/wrapper/common/1004-set_gripper.py) |
| 118 | + |
| 119 | +- [blockly_to_python](example/wrapper/tool/blockly_to_python.py) |
| 120 | + |
85 | 121 |
|
86 | 122 | - #### Import |
87 | 123 | ``` |
|
0 commit comments