-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathqwenvl2_car_recorder.yml
110 lines (104 loc) · 2.82 KB
/
qwenvl2_car_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
nodes:
- 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
build: wget -nc https://raw.githubusercontent.com/lyon-dora/dora_mickrobot/refs/heads/main/key_interpolation.py
path: key_interpolation.py
inputs:
keyboard: keyboard-listener/char
outputs:
- text
- 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%
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
- f: move arm left
- g: move arm right
- h: move arm down
- y: move arm up
- v: go home
- b: save home
- id: dora-qwenvl-recorder
build: |
git clone https://github.com/hiyouga/LLaMA-Factory LLaMA-Factory
pip install llama-factory-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: LLaMA-Factory