From 828cbd761dae45094d590d41f02dace8870ac9e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Thu, 21 Sep 2023 09:37:57 +0200 Subject: [PATCH] update --- docker-compose.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 0d72218..8884cb8 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -403,4 +403,22 @@ services: #- /dev/oakd-lite:/dev/oakd-lite # need corresponding udevrules for this to work: # SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666", SYMLINK+="oakd-lite" - /dev/:/dev/ + + # for testing the oak-d-lite camera + depthai: + image: luxonis/depthai:latest + command: > + python3 /depthai/depthai_demo.py + stdin_open: true + tty: true + # Networking and IPC for ROS 2 + #network_mode: host + ipc: host + privileged: true + devices: + #- /dev/oakd-lite:/dev/oakd-lite # need corresponding udevrules for this to work: + environment: + - DISPLAY=${DISPLAY} + - QT_X11_NO_MITSHM=1 + - NVIDIA_DRIVER_CAPABILITIES=all \ No newline at end of file