-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-base.yaml
142 lines (134 loc) · 4.92 KB
/
docker-compose-base.yaml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
services:
people-base:
build:
context: ./docker/people
environment:
- DISPLAY
- XAUTHORITY=/tmp/.docker.xauth
- NVIDIA_DRIVER_CAPABILITIES=compute,graphics,utility,video,display
- NVIDIA_VISIBLE_DEVICES=all
- OMP_NUM_THREADS=1
- ROS_LOG_DIR
# CaBot
- CABOT_GAZEBO=${CABOT_GAZEBO:-1}
- CABOT_SITE
- CABOT_SHOW_PEOPLE_RVIZ=${CABOT_SHOW_PEOPLE_RVIZ:-0}
- CABOT_PUBLISH_DETECT_IMAGE=${CABOT_PUBLISH_DETECT_IMAGE:-0}
- CABOT_USE_REALSENSE=${CABOT_USE_REALSENSE:-0}
- CABOT_REALSENSE_SERIAL
- CABOT_CAMERA_NAME
- CABOT_CAMERA_RGB_FPS
- CABOT_CAMERA_DEPTH_FPS
- CABOT_CAMERA_RESOLUTION
- CABOT_DETECT_VERSION=${CABOT_DETECT_VERSION:-3}
- CABOT_DETECT_PEOPLE_CONF_THRES=${CABOT_DETECT_PEOPLE_CONF_THRES:-0.6}
- CABOT_DETECT_PEOPLE_CLEAR_TIME=${CABOT_DETECT_PEOPLE_CLEAR_TIME:-0.2}
- CABOT_LOW_OBSTABLE_DETECT_VERSION=${CABOT_LOW_OBSTABLE_DETECT_VERSION:-0}
- CABOT_HEADLESS
- CABOT_PEOPLE_TRACK_FPS
- RMW_IMPLEMENTATION
- ROS_LOCALHOST_ONLY
- ROS_DOMAIN_ID
- CYCLONEDDS_URI
- CYCLONEDDS_NETWORK_INTERFACE_NAME
- CYCLONEDDS_NETWORK_INTERFACE_AUTODETERMINE # set automatically by launch.sh
volumes:
- /dev:/dev
- /sys/devices:/sys/devices
- /tmp/.X11-unix:/tmp/.X11-unix:rw
- /tmp/.docker.xauth:/tmp/.docker.xauth
privileged: true
devices:
- /dev/dri
cap_add:
- SYS_ADMIN
- NET_ADMIN
network_mode: host
stop_signal: SIGINT
stop_grace_period: 30s
people-nuc-base:
extends:
service: people-base
build:
context: ./docker/people
dockerfile: Dockerfile.nuc
volumes:
- ./cabot-common/cabot_common:/home/developer/people_nuc_ws/src/cabot_common
- ./cabot-common/cabot_msgs:/home/developer/people_nuc_ws/src/cabot_msgs
- ./cabot_people:/home/developer/people_nuc_ws/src/cabot_people
- ./track_people_py:/home/developer/people_nuc_ws/src/track_people_py
- ./track_people_msgs:/home/developer/people_nuc_ws/src/track_people_msgs
- ./track_people_cpp:/home/developer/people_nuc_ws/src/track_people_cpp
command:
- "/launch.sh"
- "-W" # wait roscore
- "-K" # tracking
- "-O" # obstacle
people-all-base:
extends:
service: people-base
volumes:
- ./cabot-common/cabot_common:/home/developer/people_ws/src/cabot_common
- ./cabot-common/cabot_msgs:/home/developer/people_ws/src/cabot_msgs
- ./cabot_people:/home/developer/people_ws/src/cabot_people
- ./track_people_py:/home/developer/people_ws/src/track_people_py
- ./track_people_msgs:/home/developer/people_ws/src/track_people_msgs
- ./track_people_cpp:/home/developer/people_ws/src/track_people_cpp
command:
- "/launch.sh"
# - "/launch-core.sh" # use core dump
- "-W" # wait roscore
# - "-p" # people topic is simulation groundtruth
- "-D" # detection
- "-K" # tracking
- "-O" # obstacle
people-detection-base:
extends:
service: people
command:
- "/launch.sh"
# - "/launch-core.sh" # use core dump
- "-W" # wait roscore
# - "-p" # people topic is simulation groundtruth
- "-D" # detection
- "-a" # no resetrs individually
people-framos-camera-base:
extends:
service: people
build:
context: ./docker/people
dockerfile: Dockerfile.framos
command:
- "/launch.sh"
# - "/launch-core.sh" # use core dump
- "-W" # wait roscore
# - "-p" # people topic is simulation groundtruth
- "-c 2" # use FRAMOS camera
- "-a" # no resetrs individually
people-framos-detection-base:
extends:
service: people
build:
context: ./docker/people
dockerfile: Dockerfile.framos
command:
- "/launch.sh"
# - "/launch-core.sh" # use core dump
- "-W" # wait roscore
# - "-p" # people topic is simulation groundtruth
- "-D" # detection
people:
extends:
service: people-all-base
volumes:
- ./docker/home:/home/developer
people-detection:
extends:
service: people-detection-base
volumes:
- ./docker/home:/home/developer
people-detection-framos:
extends:
service: people-detection-framos-base
volumes:
- ./docker/home:/home/developer