You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/cross-platform/zenoh-multinode-ros2/2_zenoh-install.md
+16-15Lines changed: 16 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Install and build Zenoh on Arm devices
2
+
title: Get started with Zenoh on Raspberry Pi and Arm Linux
3
3
4
4
weight: 3
5
5
@@ -9,40 +9,40 @@ layout: learningpathall
9
9
10
10
## Set up Zenoh on Arm devices
11
11
12
+
This section shows how to install and build the open-source Eclipse Zenoh protocol on Arm-based devices like Raspberry Pi.
12
13
13
-
The following instructions have been verified on both Raspberry Pi 4 and 5 devices, but you can implement them on any Arm Linux device. These steps show how to install Zenoh on Raspberry Pi and other Arm-based Linux platforms.
14
+
The following instructions have been verified on Raspberry Pi 4 and 5, but you can use any Arm Linux device. These steps apply to Raspberry Pi and other Arm-based Linux platforms.
14
15
15
16
Before building Zenoh, make sure your system has the necessary development tools and runtime libraries.
16
17
17
18
### Install the Rust development environment
18
19
19
-
First, install the [Rust](https://www.rust-lang.org/) environment, since the core of Zenoh is developed using Rust to keep it safe and efficient.
20
+
First, install the [Rust](https://www.rust-lang.org/) environment. The core of Zenoh is developed in Rust for performance and safety.
Near the end of the installation you will see the success message:
28
+
Near the end of the installation, you should see the message:
28
29
29
30
```output
30
31
Rust is installed now. Great!
31
32
```
32
-
33
-
Make sure to source the environment to add Rust to your shell environment:
33
+
Source your shell environment to activate Rust:
34
34
35
35
```bash
36
36
source"$HOME/.cargo/env"
37
37
```
38
38
39
-
You can learn more using the [Rust install guide](/install-guides/rust/) for Arm Linux.
39
+
For more information, see the [Rust Install Guide](/install-guides/rust/) for Arm Linux.
40
40
41
41
### Install ROS 2
42
42
43
43
[Robot Operating System](https://www.ros.org/) is a set of software libraries and tools that help you build robot applications. ROS provides everything from drivers to state-of-the-art algorithms, as well as developer tools. It is completely open-source.
44
44
45
-
If your use case involves ROS 2 integration, you should install ROS 2 before proceeding with Zenoh-related development. Follow the [ROS2 installation guide](/install-guides/ros2/) to install ROS 2 on your Arm platforms.
45
+
If you plan to use Zenoh alongside ROS 2, for example, to bridge DDS-based nodes, you should install ROS 2 before proceeding. See the [ROS2 Installation Guide](/install-guides/ros2/) to install ROS 2 on your Arm platforms.
Copy file name to clipboardExpand all lines: content/learning-paths/cross-platform/zenoh-multinode-ros2/3_zenoh-multinode.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Set up a multi-node environment
2
+
title: Containerize and deploy Zenoh across multiple Raspberry Pi devices
3
3
4
4
weight: 4
5
5
@@ -15,7 +15,7 @@ If you’ve already installed Zenoh on an Arm Cortex-A or Neoverse platform as s
15
15
16
16
However, to streamline deployment across multiple devices and ensure repeatability, this section demonstrates how to package Zenoh into a Docker image for batch rollout and scalable testing.
17
17
18
-
This containerized approach not only simplifies deployment on Raspberry Pi, but also integrates seamlessly with Arm cloud platforms such as AWS Graviton Arm Cortex-A Linux or Arm Virtual Hardware—enabling a consistent cloud-to-edge development and validation workflow.
18
+
This containerized approach not only simplifies deployment on Raspberry Pi, but also integrates seamlessly with Arm cloud platforms such as AWS Graviton Arm Cortex-A Linux or Arm Virtual Hardware, enabling a consistent cloud-to-edge development and validation workflow.
19
19
20
20
In this session, you’ll use Raspberry Pi boards to simulate a scalable distributed environment. The same workflow applies to any Arm Linux system, including cloud instances and virtual hardware.
21
21
@@ -108,6 +108,9 @@ You can pull it directly using:
108
108
```bash
109
109
docker pull odinlmshen/zenoh-node
110
110
```
111
+
{{% notice Tip %}}
112
+
Once built, you can reuse this Docker image across multiple Arm-based nodes, including Raspberry Pi, AWS Graviton, and Arm Virtual Hardware.
113
+
{{% /notice %}}
111
114
112
115
### Transfer the Docker image to the other Raspberry Pi
113
116
@@ -130,7 +133,10 @@ Option 2: Push the image to a container registry such as Docker Hub
130
133
131
134
You can also push the image to Docker Hub or GitHub Container Registry and pull it on the second device.
132
135
133
-
### Run the Docker Image
136
+
137
+
138
+
139
+
### Run the Docker image
134
140
135
141
Once the image is successfully loaded on the second device, you can run the container to start the Zenoh environment.
136
142
@@ -144,8 +150,8 @@ The Zenoh example binaries are now available within this container, allowing you
144
150
145
151
You’re now ready to run and test Zenoh communication flows across distributed edge devices.
146
152
147
-
The following examples are written in Rust and precompiled in your container image. They're fully interoperable and can be used to demonstrate Zenoh's key capabilities across devices. The
148
-
Rust binaries are already available under: `$ZENOH_LOC/target/release/examples/` directory.
153
+
The following examples are written in Rust and precompiled in your container image. They're fully interoperable and can be used to demonstrate Zenoh's key capabilities across devices. The Rust binaries are available in the `$ZENOH_LOC/target/release/examples/` directory. If you haven't set `ZENOH_LOC`, they can be found under `~/zenoh/target/release/examples/`.
154
+
149
155
150
156
The following sections illustrate the procedures to run the Zenoh examples so as to demonstrate the primary capabilities of Zenoh:
151
157
- Basic pub/sub – for real-time message distribution
0 commit comments