-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose-gnss.yaml
53 lines (52 loc) · 2.35 KB
/
docker-compose-gnss.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
# Copyright (c) 2021 IBM Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
services:
rtk_gnss:
build:
context: ./cabot-navigation/docker/localization
environment:
NTRIP_CLIENT: ${NTRIP_CLIENT}
NTRIP_CLIENT_START_AT_LAUNCH: ${NTRIP_CLIENT_START_AT_LAUNCH:-0}
GNSS_NODE_START_AT_LAUNCH: ${GNSS_NODE_START_AT_LAUNCH:-1}
# rtklib
RTK_STR_IN: ${RTK_STR_IN}
CABOT_SITE: ${CABOT_SITE} # if RTK_STR_IN is not specified, RTK_STR_IN will be loaded from CABOT_SITE
BAUD_UBLOX: ${BAUD_UBLOX:-230400}
# ntrip_client
NTRIP_HOST: ${NTRIP_HOST}
NTRIP_PORT: ${NTRIP_PORT:-2101}
NTRIP_MOUNTPOINT: ${NTRIP_MOUNTPOINT}
NTRIP_AUTHENTIFICATE: ${NTRIP_AUTHENTIFICATE}
NTRIP_USERNAME: ${NTRIP_USERNAME}
NTRIP_PASSWORD: ${NTRIP_PASSWORD}
NTRIP_STR2STR_RELAY_BACK: ${NTRIP_STR2STR_RELAY_BACK:-0}
volumes:
- /dev:/dev
- /sys/devices:/sys/devices
- ./docker/home:/home/developer
- ./cabot-navigation/cabot_sites:/home/developer/loc_ws/src/cabot_sites
# volumes to launch str2str.launch.py
- ./cabot-navigation/cabot-common/cabot_common:/home/developer/loc_ws/src/cabot_common
- ./cabot-navigation/mf_localization:/home/developer/loc_ws/src/mf_localization
privileged: true
network_mode: host
tty: true
stdin_open: true
command: /launch_rtklib.sh