ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org

Directory structure

Hi,
In the page “https://github.com/ros2/ros2/wiki/Ament-Tutorial” there are the following lines:

Create directory structure
To make the basic structure in the directory ~/example_ament_ws:
mkdir ~/ros2_ws
mkdir ~/ros2_ws/src
cd ~/ros2_ws

I don’t understand.
Should I make: “~/example_ament_ws/ros2_ws” and “~/example_ament_ws/ros2_ws/src”?
or, if I make: “~/ros2_ws” and “~/ros2_ws/src” what is the porpose of “~/example_ament_ws”?
Thanks in advance.
Luis Vital

This looks like an oversight when the tutorial was moved from its previous location. I fixed and simplified the steps in https://github.com/ros2/ros2/wiki/Ament-Tutorial/_compare/d14e9cd473f0a22c68beed79ec0d3406526cf3e9...7b1019405b100c6958dd86945669c5110ac55d67