Skip to content

Commit

Permalink
Use FastDDS as default middleware (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogs9 authored Jul 1, 2021
1 parent 5f74717 commit 45eadea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ RUN git clone --depth 1 -b main https://github.com/micro-ROS/micro_ros_setup.git
&& . /opt/ros/$ROS_DISTRO/setup.sh \
&& apt update \
&& apt install -y ed python3-pip \
&& apt install -y ros-$ROS_DISTRO-rmw-fastrtps-cpp \
&& apt remove -y ros-$ROS_DISTRO-rmw-cyclonedds-cpp \
&& apt autoremove -y \
&& rosdep update --rosdistro $ROS_DISTRO\
&& rosdep install --from-paths src --ignore-src -y \
&& colcon build \
Expand All @@ -14,6 +17,8 @@ RUN git clone --depth 1 -b main https://github.com/micro-ROS/micro_ros_setup.git

COPY ./micro-ros_entrypoint.sh /micro-ros_entrypoint.sh

ENV RMW_IMPLEMENTATION=rmw_fastrtps_cpp

RUN echo ". /opt/ros/$ROS_DISTRO/setup.bash" >> ~/.bashrc
RUN echo ". /uros_ws/install/setup.bash" >> ~/.bashrc

Expand Down

0 comments on commit 45eadea

Please sign in to comment.