-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
58 lines (50 loc) · 1.38 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
version: '3'
services:
simhost: # Must be called simhost
image: uobflightlabstarling/starling-sim-iris-px4-flightarena:latest
command: [ "ros2", "launch", "launch/system.launch.xml" , sim_only:=true]
ports:
- "8080:8080"
# ----------
# Spawn Vehicle 1
gazebo_spawn_1:
image: uobflightlabstarling/starling-sim-iris:latest
command: [ "./spawn_iris.sh" ]
environment:
- "PX4_SIM_HOST=localhost"
- "PX4_INSTANCE=0"
- "IGNORE_FAILURE=true"
depends_on:
- simhost
pid: "host" # Share Process ID Namespace
sitl:
image: uobflightlabstarling/starling-sim-px4-sitl:latest
environment:
- "PX4_SIM_HOST=simhost"
- "PX4_OFFBOARD_HOST=mavros"
- "PX4_INSTANCE=0"
depends_on:
- gazebo_spawn_1
ports:
- "18570:18570/udp"
mavros:
image: uobflightlabstarling/starling-mavros:latest
command: ros2 launch launch/mavros_bridge.launch.xml
environment:
- "MAVROS_TGT_SYSTEM=1"
- "MAVROS_FCU_IP=0.0.0.0"
- "MAVROS_GCS_URL=tcp-l://0.0.0.0:5760"
depends_on:
- sitl
ports:
- "5760:5760"
rosbridge-suite:
image: uobflightlabstarling/rosbridge-suite:latest
ports:
- "9090:9090"
allocator:
image: uobflightlabstarling/starling-allocator:latest
starling-ui-dashly:
image: mickeyli789/starling-ui-dashly:latest
ports:
- "3001:3000"