Skip to content

Commit

Permalink
feat(turtlebot3_ws): Sync with latest template
Browse files Browse the repository at this point in the history
  • Loading branch information
j3soon committed Nov 1, 2024
1 parent cef63ed commit 9a57e9e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 3 additions & 1 deletion turtlebot3_ws/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# turtlebot3_ws
# ROS 2 Essentials Workspace

Please visit <https://j3soon.github.io/ros2-essentials/> for documentation.
9 changes: 5 additions & 4 deletions turtlebot3_ws/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ RUN mkdir /home/$USERNAME/.gazebo
# Note that installing Isaac Sim with pip is experimental, keep this in mind when unexpected error occurs
# TODO: Remove the note above when it is no longer experimental
# Ref: https://docs.omniverse.nvidia.com/isaacsim/latest/installation/install_python.html#installation-using-pip
RUN --mount=type=cache,target=/home/user/.cache/pip,sharing=private \
RUN --mount=type=cache,target=/home/$USERNAME/.cache/pip,sharing=private \
if [ "$TARGETARCH" = "amd64" ]; then \
python3 -V | grep "Python 3.10" \
&& pip install isaacsim==4.1.0.0 --extra-index-url https://pypi.nvidia.com \
&& pip install isaacsim-extscache-physics==4.1.0.0 isaacsim-extscache-kit==4.1.0.0 isaacsim-extscache-kit-sdk==4.1.0.0 --extra-index-url https://pypi.nvidia.com; \
&& pip install isaacsim==4.2.0.2 --extra-index-url https://pypi.nvidia.com \
&& pip install isaacsim-extscache-physics==4.2.0.2 isaacsim-extscache-kit==4.2.0.2 isaacsim-extscache-kit-sdk==4.2.0.2 --extra-index-url https://pypi.nvidia.com; \
fi

# Install custom tools
Expand Down Expand Up @@ -148,7 +148,8 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
ros-$ROS_DISTRO-hls-lfcd-lds-driver \
&& sudo rm -rf /var/lib/apt/lists/*

COPY .bashrc /home/$USERNAME/.bashrc
COPY --chown=$USERNAME:$USERNAME \
.bashrc /home/$USERNAME/.bashrc
# TODO: Copy additional files here
ENTRYPOINT []
CMD ["/bin/bash"]

0 comments on commit 9a57e9e

Please sign in to comment.