From a8fab056d607e901d94ceebbeeb33730cd5a458f Mon Sep 17 00:00:00 2001 From: RyuYamamoto Date: Sat, 4 May 2024 18:43:34 +0900 Subject: [PATCH] update Docker file --- Dockerfile | 3 ++- entrypoint.sh | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7ae1dc6..5648a8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,7 @@ RUN mkdir -p ${HOME}/.gazebo/models && \ tar xvzf /tmp/ground_plane -C ${HOME}/.gazebo/models RUN git clone https://github.com/RyuYamamoto/navyu.git +RUN git clone https://github.com/CIT-Autonomous-Robot-Lab/emcl2_ros2.git WORKDIR ../ RUN apt update && apt install -y python3-rosdep2 python3-colcon-common-extensions RUN rosdep update @@ -40,7 +41,7 @@ RUN apt install -y \ ros-humble-nav2-bringup RUN source /opt/ros/humble/setup.bash && \ rosdep install -iry --from-paths src --rosdistro humble && \ - colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release --packages-up-to navyu + colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release --packages-up-to navyu emcl2 ENV NVIDIA_DRIVER_CAPABILITIES graphics,compute,utility ENV GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/ros2_ws/src/navyu/navyu_simulator/world diff --git a/entrypoint.sh b/entrypoint.sh index 3056039..8731ae4 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,6 +6,5 @@ tmux send-keys 'source install/setup.bash && ros2 launch navyu_simulator navyu_s tmux split-window -h; -tmux send-keys 'source install/setup.bash' ENTER; -tmux send-keys ' ros2 launch navyu_navigation navigation2_bringup.launch.py' +tmux send-keys 'source install/setup.bash && ros2 launch navyu_navigation navyu_bringup.launch.py localization:=true' ENTER; tmux attach-session