From 463cfc847f1d3077b80f18cfb5f0f85423ee2ca4 Mon Sep 17 00:00:00 2001 From: Philipp Caspers <117186241+philipp-caspers@users.noreply.github.com> Date: Fri, 18 Oct 2024 09:40:27 +0200 Subject: [PATCH] chore: Stop the container via SIGINT This is a workaround for the `special` signal handling of ros2 launch. See https://github.com/ros2/launch/issues/666 for details. --- compose.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/compose.yaml b/compose.yaml index 41b849a..bf384ad 100644 --- a/compose.yaml +++ b/compose.yaml @@ -3,6 +3,7 @@ services: image: ghcr.io/vorausrobotik/voraus-ros-bridge:main command: ros2 launch voraus-ros-bridge voraus-ros-bridge.launch.py network_mode: host + stop_signal: SIGINT environment: - AMENT_PREFIX_PATH=/root/voraus-ros-bridge/install/voraus-ros-bridge:/opt/ros/humble - ROS_NAMESPACE=robot1