-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (51 loc) · 1.45 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
version: '2'
services:
autonode:
build: .
image: ghcr.io/constructiverealities/cr-dai-tools:develop
network_mode: host
command: /opt/ros/noetic/bin/depthai-daemon /opt/ros/noetic/bin/autonode
privileged: true
devices:
- '/dev:/dev'
volumes:
- '/dev:/dev'
- '~/.local/share/cr-dai-tools:/root/.local/share/cr-dai-tools'
environment:
- DEPTHAI_LEVEL="debug"
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- CR_TOF_FILTER_CONFIG_OZT0358
- DEPTHAI_DEVICE_BINARY
- CR_OZT0358_FPS
- CR_MTP006_FPS
- DEPTHAI_LEVEL
restart: on-failure
ui:
image: osrf/ros:noetic-desktop-full
network_mode: host
environment:
- 'DISPLAY=${DISPLAY}'
volumes:
- '/tmp/.X11-unix:/tmp/.X11-unix'
- '~/.Xauthority:/root/.Xauthority'
- './perspectives:/host/perspectives'
command: rosrun rqt_gui rqt_gui --perspective-file /host/perspectives/Default.perspective
opencv-ui:
build: .
image: ghcr.io/constructiverealities/cr-dai-tools/build:develop
network_mode: host
environment:
- 'DISPLAY=${DISPLAY}'
volumes:
- '/tmp/.X11-unix:/tmp/.X11-unix'
- '~/.Xauthority:/root/.Xauthority'
command: /opt/ros/noetic/bin/depthai-daemon /opt/ros/noetic/bin/example-ui
roscore:
image: osrf/ros:noetic-desktop-full
network_mode: host
command: roscore
demo:
extends: autonode
depends_on:
- roscore
- ui