Browse Source

Group depth camera into a single folder

tags/v0.3.9-rc1
haixuantao 1 year ago
parent
commit
6cc835d290
5 changed files with 38 additions and 29 deletions
  1. +4
    -4
      examples/depth_camera/ios-dev.yaml
  2. +16
    -0
      examples/depth_camera/ios.yaml
  3. +2
    -5
      examples/depth_camera/realsense-dev.yaml
  4. +16
    -0
      examples/depth_camera/realsense.yaml
  5. +0
    -20
      examples/realsense/camera.yaml

examples/record3d/camera_rerun.yaml → examples/depth_camera/ios-dev.yaml View File

@@ -1,7 +1,7 @@
nodes:
- id: camera
build: pip install -e ../../node-hub/dora-record3d
path: dora-record3d
build: pip install -e ../../node-hub/dora-ios-lidar
path: dora-ios-lidar
inputs:
tick: dora/timer/millis/20
outputs:
@@ -12,5 +12,5 @@ nodes:
build: pip install -e ../../node-hub/dora-rerun
path: dora-rerun
inputs:
world/camera/image: camera/image
world/camera/depth: camera/depth
image: camera/image
depth: camera/depth

+ 16
- 0
examples/depth_camera/ios.yaml View File

@@ -0,0 +1,16 @@
nodes:
- id: camera
build: pip install dora-ios-lidar
path: dora-ios-lidar
inputs:
tick: dora/timer/millis/20
outputs:
- image
- depth

- id: plot
build: pip install dora-rerun
path: dora-rerun
inputs:
image: camera/image
depth: camera/depth

examples/realsense/camera_rerun.yaml → examples/depth_camera/realsense-dev.yaml View File

@@ -1,15 +1,13 @@
nodes:
- id: camera
build: pip install -e ../../node-hub/dora-pyrealsense
path: dora-pyrealsense
path: sudo
args: dora-pyrealsense
inputs:
tick: dora/timer/millis/20
outputs:
- image
- depth
env:
IMAGE_WIDTH: 640
IMAGE_HEIGHT: 480

- id: plot
build: pip install -e ../../node-hub/dora-rerun
@@ -17,4 +15,3 @@ nodes:
inputs:
image: camera/image
world/camera/depth: camera/depth

+ 16
- 0
examples/depth_camera/realsense.yaml View File

@@ -0,0 +1,16 @@
nodes:
- id: camera
build: pip install dora-pyrealsense
path: dora-pyrealsense
inputs:
tick: dora/timer/millis/20
outputs:
- image
- depth

- id: plot
build: pip install dora-rerun
path: dora-rerun
inputs:
image: camera/image
depth: camera/depth

+ 0
- 20
examples/realsense/camera.yaml View File

@@ -1,20 +0,0 @@
nodes:
- id: camera
build: pip install -e ../../node-hub/dora-pyrealsense
path: dora-pyrealsense
inputs:
tick: dora/timer/millis/20
outputs:
- image
- depth
env:
IMAGE_WIDTH: 640
IMAGE_HEIGHT: 480

- id: plot
build: pip install ../../node-hub/opencv-plot
path: opencv-plot
inputs:
image:
source: camera/image
queue_size: 1

Loading…
Cancel
Save