generated from husarion/rosbot-autonomy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.sim.webots.yaml
37 lines (33 loc) · 971 Bytes
/
compose.sim.webots.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
x-gpu-config:
&gpu-config
runtime: nvidia
env_file: .env.gpu
services:
rosbot:
image: husarion/webots:humble-2023.0.4-20230809-stable
<<: *gpu-config
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
command: ros2 launch webots_ros2_husarion rosbot_launch.py
navigation:
image: husarion/navigation2:humble-1.1.12-20240123
<<: *gpu-config
volumes:
- ./config/nav2_${CONTROLLER:-rpp}_params.yaml:/params.yaml
- ./maps:/maps
environment:
- SAVE_MAP_PERIOD=${SAVE_MAP_PERIOD}
command: >
ros2 launch /husarion_utils/bringup_launch.py
slam:=${SLAM:-True}
params_file:=/params.yaml
map:=/maps/map.yaml
use_sim_time:=True
rviz:
image: husarion/rviz2:humble-11.2.6-20230809
<<: *gpu-config
depends_on:
navigation: { condition: service_healthy }
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
- ./config/rosbot.rviz:/root/.rviz2/default.rviz