Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug (missing tf2-geometry) in Dockerfile and added setup.bash sourcing #110

Merged
merged 1 commit into from
Apr 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docker/kinetic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ RUN apt-get install software-properties-common apt-utils -y
RUN add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u

# Install required realsense and ROS packages
RUN apt-get install librealsense2-dkms librealsense2-utils librealsense2-dev librealsense2-dbg ros-kinetic-rgbd-launch python-catkin-tools -y
RUN apt-get install librealsense2-dkms librealsense2-utils librealsense2-dev \
librealsense2-dbg ros-kinetic-rgbd-launch ros-kinetic-tf2-geometry-msgs python-catkin-tools -y

# Install ROS dependencies
RUN rosdep update \
Expand All @@ -35,3 +36,7 @@ RUN rosdep update \
RUN catkin config \
--extend /opt/ros/$ROS_DISTRO && \
catkin build

RUN echo "source /home/devel/setup.bash" >> /$HOME/.bashrc

CMD "bash"
6 changes: 5 additions & 1 deletion docker/melodic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/a

# Install required realsense and ROS packages
RUN apt-get update && \
apt-get install librealsense2-dkms librealsense2-utils librealsense2-dev librealsense2-dbg python-catkin-tools -y
apt-get install librealsense2-dkms librealsense2-utils librealsense2-dev librealsense2-dbg ros-melodic-tf2-geometry-msgs python-catkin-tools -y

WORKDIR /home/ros

Expand All @@ -35,3 +35,7 @@ RUN rosdep update \
RUN catkin config \
--extend /opt/ros/$ROS_DISTRO && \
catkin build

RUN echo "source /home/ros/devel/setup.bash" >> /$HOME/.bashrc

CMD "bash"