Skip to content

Commit 078bd93

Browse files
author
vinman
committed
fix example
1 parent 4abc398 commit 078bd93

17 files changed

+227
-411
lines changed

README.md

Lines changed: 53 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,28 @@
33
## Overview
44
xArm Python SDK
55

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+
628
## Update summary for 0.2.0
729

830
- Support torque detection
@@ -37,51 +59,65 @@ xArm Python SDK
3759
- Unified return value
3860
- Snaps an exception and returns the specified return value
3961

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-
5762
## Doc
5863
- #### [API](doc/api/xarm_api.md)
5964
- #### [API Code](doc/api/xarm_api_code.md)
6065

6166
## Example
6267
- #### [xArm](example/wrapper/)
68+
6369
- ##### 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+
6471
- ##### 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+
6573
- ##### 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+
6675
- ##### 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+
6777
- ##### 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+
6879
- ##### 0006-get --> [xarm5](example/wrapper/xarm5/0006-get.py) --- [xarm6](example/wrapper/xarm6/0006-get.py) --- [xarm7](example/wrapper/xarm7/0006-get.py)
80+
6981
- ##### 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+
7083
- ##### 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+
7185
- ##### 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+
7287
- ##### 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+
7389
- ##### 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+
7491
- ##### 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+
7593
- ##### 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+
7695
- ##### 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+
7797
- ##### 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+
7899
- ##### 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+
79101
- ##### 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+
80103
- ##### 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+
81105
- ##### 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+
82107
- ##### 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+
83109
- ##### 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)
84110

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+
85121

86122
- #### Import
87123
```

example/core/main.py

Lines changed: 0 additions & 172 deletions
This file was deleted.

0 commit comments

Comments
 (0)