Tools: ros2: correct ros_ws to ros2_ws

ros_ws -> ros2_ws
This commit is contained in:
rushyam 2024-06-21 11:27:31 +05:30 committed by Peter Barker
parent 5919ef69cb
commit 218724a3fe
1 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@ The packages depend on:
#### 1. Create a workspace folder
```bash
mkdir -p ~/ros_ws/src && cd ~/ros_ws/src
mkdir -p ~/ros2_ws/src && cd ~/ros2_ws/src
```
The ROS 2 tutorials contain more details regarding [ROS 2 workspaces](https://docs.ros.org/en/humble/Tutorials/Workspace/Creating-A-Workspace.html).
@ -54,7 +54,7 @@ vcs import --recursive < ros2.repos
#### 3. Update dependencies
```bash
cd ~/ros_ws
cd ~/ros2_ws
source /opt/ros/humble/setup.bash
sudo apt update
rosdep update
@ -72,7 +72,7 @@ ROS_DISTRO=humble
```
```bash
cd ~/ros_ws
cd ~/ros2_ws
colcon build --cmake-args -DBUILD_TESTING=ON
```
@ -92,7 +92,7 @@ must be built from source and additional compiler flags are needed.
#### 1. Create a workspace folder
```bash
mkdir -p ~/ros_ws/src && cd ~/ros_ws/src
mkdir -p ~/ros2_ws/src && cd ~/ros2_ws/src
```
#### 2. Get the `ros2_macos.repos` file
@ -108,7 +108,7 @@ vcs import --recursive < ros2_macos.repos
#### 3. Update dependencies
```bash
cd ~/ros_ws
cd ~/ros2_ws
source /{path_to_your_ros_distro_workspace}/install/setup.zsh
```