added amcl

This commit is contained in:
Björn Ellensohn 2023-08-23 08:16:20 +02:00
parent b094d84b14
commit 2eb1abb81c
2 changed files with 16 additions and 2 deletions

View File

@ -175,7 +175,21 @@ services:
localization: localization:
extends: overlay extends: overlay
command: > command: >
ros2 launch cps_rmp220_support robot_mapping_localization.launch.py map_file_name:=/repo/maps/map.yaml ros2 launch cps_rmp220_support robot_mapping_localization.launch.py map:=/repo/maps/map.yaml
# Interactive shell
stdin_open: true
tty: true
# Networking and IPC for ROS 2
network_mode: host
ipc: host
environment:
- ROS_DOMAIN_ID=5
# amcllocalization
amcl:
extends: overlay
command: >
ros2 launch cps_rmp220_support robot_amcl.launch.py map_file_name:=/repo/maps/map.yaml
# Interactive shell # Interactive shell
stdin_open: true stdin_open: true
tty: true tty: true

View File

@ -29,7 +29,7 @@ COPY dependencies.amd64.repos .
RUN echo "Hardware platform is: $(uname -m)" RUN echo "Hardware platform is: $(uname -m)"
RUN uname -a RUN uname -a
RUN echo "update base 22.08.2023-3" RUN echo "update base 23.08.2023"
RUN if [ "$(uname -m)" = "x86_64" ]; then \ RUN if [ "$(uname -m)" = "x86_64" ]; then \
echo "Copying files for linux/amd64"; \ echo "Copying files for linux/amd64"; \