diff --git a/Dockerfile.hardware b/Dockerfile.hardware index 161c303..a42a8a9 100644 --- a/Dockerfile.hardware +++ b/Dockerfile.hardware @@ -81,6 +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 && \ # 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:"