From 74380a9b5078609952fd2d4035aa9fade4219f65 Mon Sep 17 00:00:00 2001 From: Jakub Delicat Date: Mon, 22 Jul 2024 21:09:27 +0200 Subject: [PATCH] removed utils for simulation Signed-off-by: Jakub Delicat --- Dockerfile.gazebo | 2 ++ Dockerfile.hardware | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile.gazebo b/Dockerfile.gazebo index 8a10eaf..2b75955 100644 --- a/Dockerfile.gazebo +++ b/Dockerfile.gazebo @@ -58,6 +58,8 @@ RUN apt-get update --fix-missing && apt-get install -y \ git clone --depth 1 -b jazzy-devel https://github.com/husarion/rosbot_ros.git src && \ vcs import src < src/rosbot/rosbot_hardware.repos && \ vcs import src < src/rosbot/rosbot_simulation.repos && \ + # it is necessary to remove simulation - otherwise rosdep tries to install dependencies + rm -r src/rosbot_utils && \ # Install dependencies rm -rf /etc/ros/rosdep/sources.list.d/20-default.list && \ rosdep init && \ diff --git a/Dockerfile.hardware b/Dockerfile.hardware index 939ebd5..bd85ba4 100644 --- a/Dockerfile.hardware +++ b/Dockerfile.hardware @@ -55,7 +55,7 @@ RUN apt-get update && apt-get install -y \ RUN git clone --depth 1 -b jazzy-devel https://github.com/husarion/rosbot_ros.git src && \ vcs import src < src/rosbot/rosbot_hardware.repos && \ # it is necessary to remove simulation - otherwise rosdep tries to install dependencies - rm -r src/rosbot_gazebo src/rosbot_utils && \ + rm -r src/rosbot_gazebo && \ # without this line (using vulcanexus base image) rosdep init throws error: "ERROR: default sources list file already exists:" rm -rf /etc/ros/rosdep/sources.list.d/20-default.list && \ rosdep init && \