Skip to content

Commit

Permalink
Group depth camera into a single folder
Browse files Browse the repository at this point in the history
  • Loading branch information
haixuanTao committed Jan 22, 2025
1 parent a33fb95 commit 394febb
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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 changes: 16 additions & 0 deletions examples/depth_camera/ios.yaml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
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
path: dora-rerun
inputs:
image: camera/image
world/camera/depth: camera/depth

16 changes: 16 additions & 0 deletions examples/depth_camera/realsense.yaml
Original file line number Diff line number Diff line change
@@ -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
20 changes: 0 additions & 20 deletions examples/realsense/camera.yaml

This file was deleted.

0 comments on commit 394febb

Please sign in to comment.