-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathqwenvl2_robot_recorder.yml
133 lines (125 loc) · 3.36 KB
/
qwenvl2_robot_recorder.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
nodes:
- id: arm # Run on car
# build: wget -nc https://github.com/dora-rs/gosim-2024/releases/download/v0.0.1/robot # cargo install --git https://github.com/lyon-dora/chongyou-car
path: dora-gen72
_unstable_deploy:
machine: ec7
inputs:
movec: arm-interpolation/movec
movej: arm-interpolation/movej
claw: arm-interpolation/claw
save: arm-interpolation/save
go_to: arm-interpolation/go_to
env:
ROBOT_IP: 192.168.1.18
- id: mickrobot_chassis # Run on car
# build: wget -nc https://github.com/dora-rs/gosim-2024/releases/download/v0.0.1/robot # cargo install --git https://github.com/lyon-dora/chongyou-car
path: robot
_unstable_deploy:
machine: ec7
inputs:
text: dora-qwenvl-recorder/text
- id: keyboard-listener # Run on car
# build: pip install dora-keyboard
path: dora-keyboard
inputs:
tick: dora/timer/millis/10
outputs:
- char
env:
DISPLAY: :1
- id: key-interpolation
path: key_interpolation.py
inputs:
keyboard: keyboard-listener/char
outputs:
- text
- id: arm-interpolation
path: arm_interpolation.py
inputs:
keyboard: dora-qwenvl-recorder/text
outputs:
- movec
- movej
- claw
- save
- go_to
- prompt
- id: camera1 # Run on car
# build: pip install opencv-video-capture
path: opencv-video-capture
_unstable_deploy:
machine: ec7
inputs:
tick: dora/timer/millis/50
outputs:
- image
env:
CAPTURE_PATH: 0
IMAGE_WIDTH: 640
IMAGE_HEIGHT: 480
ENCODING: jpeg
FLIP: BOTH
- id: camera2 # Run on car
# build: pip install opencv-video-capture
path: opencv-video-capture
_unstable_deploy:
machine: ec7
inputs:
tick: dora/timer/millis/50
outputs:
- image
env:
CAPTURE_PATH: 2
IMAGE_WIDTH: 640
IMAGE_HEIGHT: 480
ENCODING: jpeg
- id: plot
# build: |
# wget -nc https://github.com/dora-rs/gosim-2024/releases/download/v0.0.1/rerun
# wget -nc https://github.com/dora-rs/gosim-2024/releases/download/v0.0.1/dora-rerun
path: dora-rerun
inputs:
image_1:
source: camera1/image
queue_size: 1
image_2:
source: camera2/image
queue_size: 1
textlog_vlm: dora-qwenvl-recorder/text
env:
IMAGE_WIDTH: 640
IMAGE_HEIGHT: 480
RERUN_MEMORY_LIMIT: 25%
README: |
To control the robot, use the following keys:
- w: move forward
- s: move backward
- a: move left
- d: move right
- q: stop
- r: open gripper
- t: close gripper
- h: move arm left
- k: move arm right
- y: move arm down
- i: move arm up
- u: move arm forward
- j: move arm backward
- v: go home
- b: save home
- id: dora-qwenvl-recorder
path: llama-factory-recorder
inputs:
image_1:
source: camera1/image
queue_size: 1
image_2:
source: camera2/image
queue_size: 1
ground_truth: key-interpolation/text
outputs:
- text
env:
DEFAULT_QUESTION: Respond with arm left, arm right, arm up, arm down, arm forward, arm backward, open, close, or go home to grab the bottle
LLAMA_FACTORY_ROOT_PATH: /home/peter/Documents/work/LLaMA-Factory