-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
94 lines (87 loc) · 2.07 KB
/
docker-compose.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
version: '3.8'
services:
master:
image: sskorol/rosmaster:0.0.1
network_mode: host
command:
- roscore
bridge:
image: sskorol/rosmaster:0.0.1
network_mode: host
environment:
- ROS_MASTER_URI=http://localhost:11311
depends_on:
- master
command:
- roslaunch
- --wait
- rosbridge_server
- rosbridge_websocket.launch
backend:
image: sskorol/minipupper-be:0.0.1
network_mode: host
build: ./backend
volumes:
- /dev/bus/usb:/dev/bus/usb
device_cgroup_rules:
- 'c 189:* rmw'
environment:
- PYTHONUNBUFFERED=1
frontend:
image: sskorol/minipupper-fe:0.0.2
network_mode: host
build: ./frontend
environment:
- REACT_APP_ROSBRIDGE_SERVER_IP=$HOST_IP
- REACT_APP_ROSBRIDGE_SERVER_PORT=9090
- REACT_APP_RECONNECTION_TIMER=1000
- REACT_APP_BE_URL=http://$HOST_IP:8080
depends_on:
- bridge
- backend
servo:
image: sskorol/minipupper-core:0.0.3
privileged: true
network_mode: host
depends_on:
- master
- teleop
- smoother
volumes:
- ./calibration_settings.yaml:/root/minipupper_ws/src/servo_interface/config/calibration_settings.yaml
- /sys/class/pwm/pwmchip0:/sys/class/pwm/pwmchip0
- /sys/class/gpio:/sys/class/gpio
environment:
- PYTHONUNBUFFERED=1
- ROS_MASTER_URI=http://localhost:11311
command:
- roslaunch
- --wait
- mini_pupper
- no.smoother.bringup.launch
smoother:
image: sskorol/minipupper-core:0.0.3
network_mode: host
depends_on:
- master
environment:
- ROS_MASTER_URI=http://localhost:11311
command:
- roslaunch
- --wait
- champ_bringup
- velocity_smoother.launch
teleop:
image: sskorol/minipupper-core:0.0.3
network_mode: host
environment:
- PYTHONUNBUFFERED=1
- ROS_MASTER_URI=http://localhost:11311
depends_on:
- master
- bridge
- smoother
command:
- rosrun
- teleop_legged_robots
- teleop_legged_robots.py