-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (41 loc) · 1.18 KB
/
Copy pathdocker-compose.yml
File metadata and controls
46 lines (41 loc) · 1.18 KB
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
version: '3.3'
networks:
ros:
driver: bridge
services:
# ROS MASTER (ROSCORE)
rosmaster:
image: ros:melodic-ros-core
command: "roscore"
networks:
- ros
restart: always
# # # HEIFU Simulation
simulation:
build:
context: ./SimulationDocker
args:
GITHASH: ${TODAY}
CPU_CORE: ${CPU_CORE}
image: heifu_simulation:latest
networks:
- ros
environment:
- "ROS_MASTER_URI=http://rosmaster:11311"
tty: true
command: "roslaunch simulation_bringup heifu_simulation.launch argLaunchGazeboGUI:=false argOutputIP:='wpManager' argOutputPort:='14550' --wait"
# command: "sim_vehicle.py -v ArduCopter -m '--out wpManager:14550'"
# Waypoints Manager
wpManager:
build:
context: ./ControlDocker
args:
GITHASH: ${TODAY} #git log --pretty=format:'%h' -n 1)
CPU_CORE: ${CPU_CORE}
image: heifu:latest
networks:
- ros
environment:
- "ROS_MASTER_URI=http://rosmaster:11311"
command: "roslaunch bev_uav_bringup bev_uav_bringup.launch argSimulation:=true --wait"
#command: "roslaunch mavros apm.launch argNamespace:='heifu0' fcu_url:='udp://:14550@' --wait"