ros2aria/compose.navigation2.yaml
Jakub Delicat af473e68f0 cyclonedds config
Signed-off-by: Jakub Delicat <jakub.delicat@pwr.edu.pl>
2024-11-15 19:34:32 +01:00

26 lines
813 B
YAML

# docker compose -f compose.navigation2.yaml up
services:
navigation:
image: husarion/navigation2:humble-1.1.16-20240927
network_mode: host
ipc: host
restart: unless-stopped
volumes:
- ./config/nav2_params.yaml:/nav2_params.yaml
- ./maps:/maps
- ./husarion_utils:/husarion_utils
- ./fastdds.xml:/fastdds.xml
- ./cyclonedds.xml:/cyclonedds.xml
environment:
- CYCLONEDDS_URI=file:///cyclonedds.xml
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
- SAVE_MAP_PERIOD=${SAVE_MAP_PERIOD-10}
command: >
ros2 launch /husarion_utils/bringup_launch.py
namespace:=pioneer${PIONEER_ID}
observation_topic:=scan
map:=/maps/map.yaml
params_file:=/nav2_params.yaml
slam:=${SLAM:-False}
use_sim_time:=False