Skip to content

Commit 6af6419

Browse files
authored
docs(ansible): clarify rmw_implementation manual setup and ROS distro selection (#6750)
Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
1 parent 8e74cdb commit 6af6419

1 file changed

Lines changed: 20 additions & 4 deletions

File tree

ansible/roles/rmw_implementation/README.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,29 @@ This role sets up ROS 2 RMW implementation following [this page](https://docs.ro
1111

1212
## Manual Installation
1313

14-
For Universe, the `rosdistro` and `rmw_implementation` variable can also be found in:
15-
[../../playbooks/universe.yaml](../../playbooks/universe.yaml)
14+
## Set up the environment variables
15+
16+
Choose **one** ROS distribution and run the corresponding command.
17+
18+
### ROS 2 Humble
19+
20+
```bash
21+
wget -O /tmp/amd64.env https://raw.githubusercontent.com/autowarefoundation/autoware/main/amd64.env && \
22+
source /tmp/amd64.env
23+
```
24+
25+
### ROS 2 Jazzy
1626

1727
```bash
18-
wget -O /tmp/amd64.env https://raw.githubusercontent.com/autowarefoundation/autoware/main/amd64.env && source /tmp/amd64.env
28+
wget -O /tmp/amd64.env https://raw.githubusercontent.com/autowarefoundation/autoware/main/amd64_jazzy.env && \
29+
source /tmp/amd64.env
30+
```
31+
32+
## Install the RMW implementation
1933

20-
# For details: https://docs.ros.org/en/humble/How-To-Guides/Working-with-multiple-RMW-implementations.html
34+
For details: <https://docs.ros.org/en/humble/How-To-Guides/Working-with-multiple-RMW-implementations.html>
35+
36+
```bash
2137
sudo apt update
2238
sudo apt install ros-${rosdistro}-${rmw_implementation//_/-}
2339

0 commit comments

Comments
 (0)