From fe938ee010b076f7e0a029bc6ade479b73842ab0 Mon Sep 17 00:00:00 2001 From: Jakub Delicat Date: Tue, 28 Nov 2023 19:23:35 +0100 Subject: [PATCH] changed remove folder Signed-off-by: Jakub Delicat --- Dockerfile.hardware | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.hardware b/Dockerfile.hardware index a42a8a9..ba96bb0 100644 --- a/Dockerfile.hardware +++ b/Dockerfile.hardware @@ -81,9 +81,9 @@ RUN apt-get update && apt-get install -y \ pip3 install pyserial && \ MYDISTRO=${PREFIX:-ros}; MYDISTRO=${MYDISTRO//-/} && \ vcs import src < src/rosbot/rosbot_hardware.repos && \ - cp -r ros2_controllers/diff_drive_controller . && \ - cp -r ros2_controllers/imu_sensor_broadcaster . && \ - rm -rf ros2_controllers && \ + cp -r src/ros2_controllers/diff_drive_controller src/ && \ + cp -r src/ros2_controllers/imu_sensor_broadcaster src/ && \ + rm -rf src/ros2_controllers && \ # it is necessary to remove simulation - otherwise rosdep tries to install dependencies rm -r src/rosbot_gazebo && \ # without this line (using vulcanexus base image) rosdep init throws error: "ERROR: default sources list file already exists:"