From 2f9da34b932b904f32e0c6a118a8be1ac7d46f63 Mon Sep 17 00:00:00 2001 From: suchetanrs Date: Sat, 14 Sep 2024 23:58:13 +0530 Subject: [PATCH] Added ROS workspace to Dockerfile to check build status --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bcd7ec1..5dfda67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,4 +56,7 @@ RUN cd /root/ && sudo chmod +x * && ./vscode_install.sh && rm -rf vscode_install RUN apt-get update && apt-get install ros-humble-pcl-ros tmux -y RUN apt-get install ros-humble-nav2-common x11-apps nano -y COPY ORB_SLAM3 /home/orb/ORB_SLAM3 -RUN . /opt/ros/humble/setup.sh && cd /home/orb/ORB_SLAM3 && mkdir build && ./build.sh +RUN . /opt/ros/humble/setup.sh && cd /home/orb/ORB_SLAM3 && mkdir -p build && ./build.sh +COPY orb_slam3_ros2_wrapper /root/colcon_ws/src/orb_slam3_ros2_wrapper +COPY slam_msgs /root/colcon_ws/src/slam_msgs +RUN . /opt/ros/humble/setup.sh && cd /root/colcon_ws/ && colcon build --symlink-install \ No newline at end of file