From dd00ec1e4900d8dcdcca4ca5825ad525bf353009 Mon Sep 17 00:00:00 2001 From: Jakub Delicat Date: Mon, 22 Jan 2024 11:36:55 +0100 Subject: [PATCH] Added decawave Signed-off-by: Jakub Delicat --- compose.decawave.yaml | 14 ++++++++++++++ compose.hokuyo.yaml | 3 +-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 compose.decawave.yaml diff --git a/compose.decawave.yaml b/compose.decawave.yaml new file mode 100644 index 0000000..2ee071c --- /dev/null +++ b/compose.decawave.yaml @@ -0,0 +1,14 @@ +# docker compose -f compose.decawave.yaml up +services: + decawave: + image: delicjusz/decawave + network_mode: host + ipc: host + environment: + - RMW_IMPLEMENTATION=rmw_fastrtps_cpp + - FASTRTPS_DEFAULT_PROFILES_FILE=/fastdds.xml + volumes: + - ./fastdds.xml:/fastdds.xml + devices: + - /dev/decawave + command: ros2 launch decawave_driver decawave.launch.py namespace:=pioneer${PIONEER_ID}/ diff --git a/compose.hokuyo.yaml b/compose.hokuyo.yaml index a3ee29f..2a1c520 100644 --- a/compose.hokuyo.yaml +++ b/compose.hokuyo.yaml @@ -10,8 +10,7 @@ services: volumes: - ./fastdds.xml:/fastdds.xml devices: - # - /dev/hokuyo - - /dev/ttyACM0 + - /dev/hokuyo command: > ros2 run urg_node urg_node_driver --ros-args -r __ns:=/pioneer${PIONEER_ID} -p