File size: 1,027 Bytes
c641eb7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
nodes:
   ### Camera
  - id: plot_bot
    operator:
      python: ../operators/plot.py
      inputs:
        image: webcam/image
        position: robot/position

  - id: robot
    operator:
      python:  ../operators/robot.py
      inputs:
        tick: dora/timer/millis/750
        planning_control: planning/control
      outputs:
        - control_reply
        - position

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

  - id: policy
    operator:
      python: ../operators/policy.py
      inputs: 
        init: dora/timer/millis/750
        goal_reached: planning/goal_reached
      outputs:
        - go_to
        - reloaded

  - id: planning
    operator:
      python: ../operators/planning_op.py
      inputs:
        position: robot/position
        control_reply: robot/control_reply
        set_goal: policy/go_to
        image: 
          source: webcam/image
          queue_size: 1
      outputs:
        - control
        - goal_reached