generated from husarion/rosbot-mapping
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.pc.yaml
43 lines (40 loc) · 1.17 KB
/
compose.pc.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
services:
rviz:
# image: husarion/rviz2:galactic-22-11-15
image: husarion/rviz2:galactic
network_mode: host
ipc: host
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
- ./config/rosbot.rviz:/root/.rviz2/default.rviz
environment:
- DISPLAY=${DISPLAY:?err}
- LIBGL_ALWAYS_SOFTWARE=1
- ROS_DISCOVERY_SERVER=${ROSBOT_IP:?err}:11811
joy2twist:
image: husarion/joy2twist:humble-22-11-17
network_mode: host
ipc: host
devices:
- /dev/input
volumes:
- ./config/joy2twist.yaml:/joy2twist.yaml
environment:
- ROS_DISCOVERY_SERVER=${ROSBOT_IP:?err}:11811
command: >
ros2 launch joy2twist gamepad_controller.launch.py
joy2twist_params_file:=/joy2twist.yaml
mapping:
image: husarion/slam-toolbox:humble
container_name: slam-toolbox
network_mode: host
ipc: host
volumes:
- ./config/slam_toolbox_params.yaml:/slam_params.yaml
- ./maps:/maps
environment:
- ROS_DISCOVERY_SERVER=${ROSBOT_IP:?err}:11811
command: >
ros2 launch slam_toolbox online_sync_launch.py
slam_params_file:=/slam_params.yaml
use_sim_time:=${USE_SIM_TIME:-False}