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