diff --git a/.docker/Dockerfile b/.docker/Dockerfile index f6db92fcb5..c2fc2de533 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -55,7 +55,6 @@ RUN --mount=type=cache,target=/root/.ccache/ \ . "/opt/ros/${ROS_DISTRO}/setup.sh" &&\ . "install/setup.sh" &&\ sudo apt update && rosdep install -r --from-paths src --ignore-src --rosdistro $ROS_DISTRO -y && \ - sudo apt install -y ros-${ROS_DISTRO}-rmw-cyclonedds-cpp && \ colcon build \ --cmake-args -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ --ament-cmake-args -DCMAKE_BUILD_TYPE=Release \ @@ -64,6 +63,5 @@ RUN --mount=type=cache,target=/root/.ccache/ \ rm -rf /var/lib/apt/lists/* && \ # Update /ros_entrypoint.sh to source our new workspace sed -i "s#/opt/ros/\$ROS_DISTRO/setup.bash#$ROS_UNDERLAY/install/setup.bash#g" /ros_entrypoint.sh && \ - echo "export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp" >> /root/.bashrc && \ echo "source /opt/ros/${ROS_DISTRO}/setup.bash" >> /root/.bashrc && \ echo "source /root/ws_moveit/install/setup.bash" >> /root/.bashrc diff --git a/doc/tutorials/getting_started/getting_started.rst b/doc/tutorials/getting_started/getting_started.rst index 0f8e90ed59..c879a184cd 100644 --- a/doc/tutorials/getting_started/getting_started.rst +++ b/doc/tutorials/getting_started/getting_started.rst @@ -85,15 +85,6 @@ Optional: add the previous command to your ``.bashrc``: :: not required and often skipped by advanced users who use more than one Colcon workspace at a time, but we recommend it for simplicity. -Switch to Cyclone DDS -^^^^^^^^^^^^^^^^^^^^^ - -As of Sep 26, 2022, the default ROS 2 middleware (RMW) implementation has an issue. As a workaround, switch to Cyclone DDS. (Note: this makes all nodes started using this RMW incompatible with any other nodes not using Cyclone DDS.) :: - - sudo apt install ros-humble-rmw-cyclonedds-cpp - # You may want to add this to ~/.bashrc to source it automatically - export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp - Next Step ^^^^^^^^^ Nice job! Next we will :doc:`Visualize a robot with the interactive motion planning plugin for RViz ` diff --git a/doc/tutorials/quickstart_in_rviz/quickstart_in_rviz_tutorial.rst b/doc/tutorials/quickstart_in_rviz/quickstart_in_rviz_tutorial.rst index 9fdc88ae7e..01d27f6e0c 100644 --- a/doc/tutorials/quickstart_in_rviz/quickstart_in_rviz_tutorial.rst +++ b/doc/tutorials/quickstart_in_rviz/quickstart_in_rviz_tutorial.rst @@ -7,7 +7,8 @@ This tutorial will teach you how to create motion plans in MoveIt using RViz and Getting Started --------------- -If you haven't already done so, make sure you've completed the steps in :doc:`Getting Started ` or our :doc:`Docker Guide `. As of Sep 26, 2022, ensure you have enabled Cyclone DDS as described there. +If you haven't already done so, make sure you've completed the steps in :doc:`Getting Started ` or our :doc:`Docker Guide `. +If you followed the Docker Guide, also follow the :ref:`create_colcon_workspace` guide onwards to set up the tutorials. Step 1: Launch the Demo and Configure the Plugin ------------------------------------------------