Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zcemycl committed Jan 31, 2025
1 parent e502801 commit dd72f63
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/containers/docker/ros-simulation/Dockerfile.old
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM osrf/ros:noetic-desktop-full

SHELL [ "/bin/bash", "-c" ]

ENV NVIDIA_VISIBLE_DEVICES \
${NVIDIA_VISIBLE_DEVICES:-all}
ENV NVIDIA_DRIVER_CAPABILITIES \
Expand All @@ -15,6 +17,7 @@ RUN apt-get install ros-noetic-joy ros-noetic-control-toolbox \
# ros-noetic-ignition-math6-vendor \
# ignition ignition-launch-cli ignition-tools \
ros-noetic-gazebo-plugins ros-noetic-rgbd-launch -y
RUN apt-get install build-essential -y
WORKDIR /
RUN mkdir -p catkin_ws/src/
WORKDIR /catkin_ws/src/
Expand All @@ -24,9 +27,11 @@ RUN git clone https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git
RUN echo "export TURTLEBOT3_MODEL=burger" > ~/.bashrc
RUN echo "source /opt/ros/noetic/setup.bash" > ~/.bashrc
RUN echo "source /catkin_ws/devel/setup.bash" > ~/.bashrc
RUN pip install rospkg
RUN /bin/bash -c 'source /opt/ros/noetic/setup.bash; \
cd /catkin_ws/; catkin_make; source /catkin_ws/devel/setup.bash'
RUN pip3 install rospkg

RUN source /opt/ros/noetic/setup.bash && \
cd /catkin_ws/ && \
catkin_init_workspace
# WORKDIR /opt/ros/noetic
# RUN . setup.bash
# WORKDIR /catkin_ws
Expand Down
Empty file modified src/containers/docker/ros-simulation/run_algo.sh
100644 → 100755
Empty file.
Empty file modified src/containers/docker/ros-simulation/run_gazebo.sh
100644 → 100755
Empty file.
Empty file modified src/containers/docker/ros-simulation/run_rviz.sh
100644 → 100755
Empty file.

0 comments on commit dd72f63

Please sign in to comment.