update
This commit is contained in:
parent
dcdcd37e87
commit
fa7f2dec68
@ -398,29 +398,28 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- ROS_DOMAIN_ID=5
|
- ROS_DOMAIN_ID=5
|
||||||
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
|
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
|
||||||
privileged: true
|
#privileged: true
|
||||||
devices:
|
#devices:
|
||||||
#- /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/
|
||||||
|
device_cgroup_rules:
|
||||||
|
- 'c 189:* rmw'
|
||||||
|
volumes:
|
||||||
|
- /dev/bus/usb:/dev/bus/usb
|
||||||
|
|
||||||
|
|
||||||
# for testing the oak-d-lite camera
|
# for testing the oak-d-lite camera -> works now with cgroup rules
|
||||||
depthai:
|
depthai:
|
||||||
image: luxonis/depthai:latest
|
image: luxonis/depthai:latest
|
||||||
command: >
|
command: >
|
||||||
python3 /depthai/depthai_demo.py
|
python3 /depthai/depthai_demo.py
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
# Networking and IPC for ROS 2
|
|
||||||
#network_mode: host
|
|
||||||
ipc: host
|
|
||||||
#privileged: true
|
|
||||||
device_cgroup_rules:
|
device_cgroup_rules:
|
||||||
- 'c 189:* rmw'
|
- 'c 189:* rmw'
|
||||||
volumes:
|
volumes:
|
||||||
- /dev/bus/usb:/dev/bus/usb
|
- /dev/bus/usb:/dev/bus/usb
|
||||||
#devices:
|
|
||||||
#- /dev/oakd-lite:/dev/oakd-lite # need corresponding udevrules for this to work:
|
|
||||||
environment:
|
environment:
|
||||||
- DISPLAY=${DISPLAY}
|
- DISPLAY=${DISPLAY}
|
||||||
- QT_X11_NO_MITSHM=1
|
- QT_X11_NO_MITSHM=1
|
||||||
|
Loading…
Reference in New Issue
Block a user