-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathqwenvl2_arm_recorder.yml
108 lines (101 loc) · 2.58 KB
/
qwenvl2_arm_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
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
go_to: arm-interpolation/go_to
save: arm-interpolation/save
env:
ROBOT_IP: 192.168.1.18
- 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
- go_to
- save
- id: camera1 # Run on car
# build: pip install opencv-video-capture
path: opencv-video-capture
_unstable_deploy:
machine: ec7
inputs:
tick: dora/timer/millis/200
outputs:
- image
env:
CAPTURE_PATH: 0
IMAGE_WIDTH: 640
IMAGE_HEIGHT: 480
ENCODING: jpeg
FLIP: VERTICAL
- id: camera2 # Run on car
# build: pip install opencv-video-capture
path: opencv-video-capture
_unstable_deploy:
machine: ec7
inputs:
tick: dora/timer/millis/200
outputs:
- image
env:
CAPTURE_PATH: 2
IMAGE_WIDTH: 640
IMAGE_HEIGHT: 480
ENCODING: jpeg
FLIP: VERTICAL
- 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%
- 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 right, left, forward, backward,stop to move to the red line
LLAMA_FACTORY_ROOT_PATH: /home/peter/Documents/work/LLaMA-Factory