4b288cb2创建于 2025年11月3日历史提交
nodes:
  - id: sensor-temp
    _unstable_deploy:
      machine: edge1
      working_dir: /Users/nupylot/Public/dora-examples/examples/python-distributed-zenoh
    path: python3
    args: sensor_node.py sensor_temp temperature
    inputs:
      tick: dora/timer/millis/1000
    outputs:
      - data

  - id: sensor-humidity
    _unstable_deploy:
      machine: edge2
      working_dir: /Users/nupylot/Public/dora-examples/examples/python-distributed-zenoh
    path: python3
    args: sensor_node.py sensor_humidity humidity
    inputs:
      tick: dora/timer/millis/1500
    outputs:
      - data

  - id: sensor-pressure
    _unstable_deploy:
      machine: edge3
      working_dir: /Users/nupylot/Public/dora-examples/examples/python-distributed-zenoh
    path: python3
    args: sensor_node.py sensor_pressure pressure
    inputs:
      tick: dora/timer/millis/2000
    outputs:
      - data

  - id: cloud-aggregator
    _unstable_deploy:
      machine: cloud
      working_dir: /Users/nupylot/Public/dora-examples/examples/python-distributed-zenoh
    path: python3
    args: cloud_node.py
    inputs:
      temp_data: sensor-temp/data
      humidity_data: sensor-humidity/data
      pressure_data: sensor-pressure/data
      tick: dora/timer/millis/100