-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
137 lines (127 loc) · 5.14 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
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
# Copyright (C) 2018-2020 LEIDOS.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
# Docker Compose Spec Version
version: '2'
services:
roscore:
image: usdotfhwastol/carma-base:3.8.0
network_mode: host
container_name: roscore
volumes_from:
- container:carma-config:ro
environment:
- ROS_IP=192.168.88.10
volumes:
- /opt/carma/.ros:/home/carma/.ros
- /opt/carma/logs:/opt/carma/logs
restart: always
command: roscore
platform:
image: usdotfhwastol/carma-platform:3.4.2
network_mode: host
container_name: platform
volumes_from:
- container:carma-config:ro
environment:
- ROS_IP=192.168.88.10
- NVIDIA_VISIBLE_DEVICES=all
volumes:
- /opt/carma/logs:/opt/carma/logs
- /opt/carma/.ros:/home/carma/.ros
- /opt/carma/vehicle/calibration:/opt/carma/vehicle/calibration
- /opt/carma/maps:/opt/carma/maps
- /opt/carma/routes:/opt/carma/routes
- /opt/carma/yolo:/opt/carma/yolo
command: bash -c 'export LD_LIBRARY_PATH=$${LD_LIBRARY_PATH}:/usr/local/lib/ && wait-for-it.sh localhost:11311 -- roslaunch /opt/carma/vehicle/config/carma_docker.launch'
lightbar-driver:
image: usdotfhwastol/carma-lightbar-driver:1.2.0
network_mode: host
container_name: lightbar-driver
volumes_from:
- container:carma-config:ro
volumes:
- /opt/carma/logs:/opt/carma/logs
- /opt/carma/.ros:/home/carma/.ros
- /opt/carma/vehicle/calibration:/opt/carma/vehicle/calibration
environment:
- ROS_IP=192.168.88.10
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch /opt/carma/vehicle/config/drivers.launch drivers:=lightbar_driver'
cohda_dsrc_driver:
image: usdotfhwastol/carma-cohda-dsrc-driver:3.4.0
container_name: carma-cohda-dsrc-driver
network_mode: host
volumes_from:
- container:carma-config:ro
environment:
- ROS_IP=192.168.88.10
volumes:
- /opt/carma/logs:/opt/carma/logs
- /opt/carma/.ros:/home/carma/.ros
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch /opt/carma/vehicle/config/drivers.launch drivers:=dsrc_driver'
ssc_controller_driver:
image: usdotfhwastol/carma-ssc-interface-wrapper:2.5.0
container_name: ssc_controller_driver
network_mode: host
privileged: true # Grant access to usb for can data
volumes_from:
- container:carma-config:ro
environment:
- ROS_IP=192.168.88.10
volumes:
- /opt/carma/logs:/opt/carma/logs
- /opt/carma/.ros:/home/carma/.ros
- /opt/carma/vehicle/calibration:/opt/carma/vehicle/calibration
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch /opt/carma/vehicle/config/drivers.launch drivers:=ssc_interface_wrapper'
novatel_gnss_imu_driver:
image: usdotfhwastol/carma-novatel-gps-driver:1.4.0
container_name: novatel-gnss-imu-driver
network_mode: host
volumes_from:
- container:carma-config:ro
environment:
- ROS_IP=192.168.88.10
volumes:
- /opt/carma/logs:/opt/carma/logs
- /opt/carma/.ros:/home/carma/.ros
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch /opt/carma/vehicle/config/drivers.launch drivers:=novatel_gps_driver'
velodyne_lidar_driver:
image: usdotfhwastol/carma-velodyne-lidar-driver:1.5.0
container_name: velodyne-lidar-driver
network_mode: host
volumes_from:
- container:carma-config:ro
environment:
- ROS_IP=192.168.88.10
volumes:
- /opt/carma/logs:/opt/carma/logs
- /opt/carma/.ros:/home/carma/.ros
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch /opt/carma/vehicle/config/drivers.launch drivers:=velodyne_lidar_driver_wrapper'
avt_vimba_camera_driver:
image: usdotfhwastol/carma-avt-vimba-driver:1.3.0
container_name: avt-vimba-camera-driver
network_mode: host
volumes_from:
- container:carma-config:ro
environment:
- ROS_IP=192.168.88.10
volumes:
- /opt/carma/logs:/opt/carma/logs
- /opt/carma/.ros:/home/carma/.ros
- /opt/carma/vehicle/calibration:/opt/carma/vehicle/calibration
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch /opt/carma/vehicle/config/drivers.launch drivers:=avt_vimba_camera'
# TODO DelphiESR Front Driver Node
# TODO Delphi Srr2 Front Left Driver Node
# TODO Delphi Srr2 Front Right Driver Node
# TODO Delphi Srr2 Rear Left Driver Node
# TODO Delphi Srr2 Rear Right Driver Node