File size: 1,243 Bytes
533dd7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
nodes:
  - id: plot
    custom:
      source: dora-rerun
      inputs:
        image: webcam/image
        textlog_whisper: whisper/text
      envs:
        IMAGE_WIDTH: 1280
        IMAGE_HEIGHT: 720
        IMAGE_DEPTH: 3
        RERUN_MEMORY_LIMIT: 10%

  - id: policy
    operator:
      python: ../operators/policy.py
      inputs: 
        init: llm/init
        reached_kitchen: robot/reached_kitchen
        reached_living_room: robot/reached_living_room
        reached_office: robot/reached_office
      outputs:
        - go_to
  
  - id: llm
    operator:
      python: ../operators/llm_op.py
      inputs:
        text: whisper/text
      outputs:
        - init
  
  - id: robot
    custom:
      source: /home/peter/miniconda3/envs/robomaster/bin/python
      args: ../operators/robot_minimize.py 
      inputs:
        # control: idefics2/control
        go_to: policy/go_to
      outputs:
        - reached_kitchen
        - reached_living_room
        - reached_office

  - id: webcam
    custom:
      source: ../operators/opencv_stream.py
      outputs:
        - image

  - id: whisper
    custom:
      source: ../operators/whisper_op.py
      inputs:
        audio: dora/timer/millis/1000
      outputs:
        - text