Skip to content

Commit ddb5734

Browse files
committed
更新320pi拖动示教脚本使用
1 parent dbfa163 commit ddb5734

File tree

2 files changed

+11
-8
lines changed
  • 10-ApplicationBasePython/10.1_320_PI-ApplicationPython
  • resources/10-ApplicationBasePython

2 files changed

+11
-8
lines changed

10-ApplicationBasePython/10.1_320_PI-ApplicationPython/4_drag.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Drag to teach
22

3-
Trajectory recording (including adaptive gripper) and playback can be realized.
3+
Trajectory recording and playback can be realized.
44

5-
> Python version drag and teach only supports Pi and Jetson Nano versions in 280, 270, and 320 models.
5+
> Python version drag and teach only supports Pi and Jetson Nano versions in 280, 270, 260, myArm 300 and 320 models.
66
77
## Instructions:
88

@@ -15,21 +15,24 @@ Trajectory recording (including adaptive gripper) and playback can be realized.
1515
<img src="../../resources/10-ApplicationBasePython/drag.png" style="zoom:100%;" />
1616

1717
After the file is run:
18-
- 3.1 Select robot port
19-
- 3.2 Enter the baud rate, the default is 1000000
18+
- 3.1 Select robot type
19+
- 3.2 Select robot port
20+
- 3.3 Enter the baud rate, the default is 1000000
2021
| machine type | Serial number | baud rate |
2122
|:---------:| :--------:|:--------:|
2223
|270 PI| /dev/ttyAMA0|1000000|
2324
|280 PI| /dev/ttyAMA0|1000000|
2425
|320 PI| /dev/ttyAMA0|115200|
2526
|280 Jetson Nano| /dev/ttyTHS1|1000000|
26-
- 3.3 Choose whether debugging is required, debugging is not enabled by default
27-
- 3.4 Finally, enter the function selection list, and the function selection is realized through the keyboard keys:
27+
|260 PI| /dev/ttyAMA0|1000000|
28+
|myArm 300 PI| /dev/ttyAMA0|115200|
29+
- 3.4 Choose whether debugging is required, debugging is not enabled by default
30+
- 3.5 Finally, enter the function selection list, and the function selection is realized through the keyboard keys:
2831
- `q`: quit
2932
- `r`: start recording
3033
- `c`: stop recording
31-
- `p`: play once
32-
- `P`: loop / stop playback
34+
- `p`: (lowercase letters) play once
35+
- `P`: (uppercase letters) loop / stop playback
3336
- `s`: Save this recording information, it will save the recording information to the record.txt file in the same directory as `drag_trial_teaching.py`
3437
- `l`: will load the information in the record.txt file in the same directory as `drag_trial_teaching.py`
3538
- `f`: relax all joints of the robot arm
-116 KB
Loading

0 commit comments

Comments
 (0)