This commit is contained in:
Björn Ellensohn 2023-09-21 09:37:57 +02:00
parent 08ec65aae2
commit 828cbd761d

View File

@ -403,4 +403,22 @@ services:
#- /dev/oakd-lite:/dev/oakd-lite # need corresponding udevrules for this to work: #- /dev/oakd-lite:/dev/oakd-lite # need corresponding udevrules for this to work:
# SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666", SYMLINK+="oakd-lite" # SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666", SYMLINK+="oakd-lite"
- /dev/:/dev/ - /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