diff --git a/examples/record3d/camera_rerun.yaml b/examples/depth_camera/ios-dev.yaml similarity index 56% rename from examples/record3d/camera_rerun.yaml rename to examples/depth_camera/ios-dev.yaml index 2e3672bb..076b2463 100644 --- a/examples/record3d/camera_rerun.yaml +++ b/examples/depth_camera/ios-dev.yaml @@ -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 diff --git a/examples/depth_camera/ios.yaml b/examples/depth_camera/ios.yaml new file mode 100644 index 00000000..db918474 --- /dev/null +++ b/examples/depth_camera/ios.yaml @@ -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 diff --git a/examples/realsense/camera_rerun.yaml b/examples/depth_camera/realsense-dev.yaml similarity index 78% rename from examples/realsense/camera_rerun.yaml rename to examples/depth_camera/realsense-dev.yaml index 6212ba2d..2d08329a 100644 --- a/examples/realsense/camera_rerun.yaml +++ b/examples/depth_camera/realsense-dev.yaml @@ -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 - diff --git a/examples/depth_camera/realsense.yaml b/examples/depth_camera/realsense.yaml new file mode 100644 index 00000000..2e692857 --- /dev/null +++ b/examples/depth_camera/realsense.yaml @@ -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 diff --git a/examples/realsense/camera.yaml b/examples/realsense/camera.yaml deleted file mode 100644 index ecffab45..00000000 --- a/examples/realsense/camera.yaml +++ /dev/null @@ -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