Skip to content

Commit bd15adc

Browse files
final
1 parent 27d020f commit bd15adc

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

content/learning-paths/cross-platform/zenoh-multinode-ros2/5_zenoh-ex2-storagequery.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Building on the previous pub/sub example, you’ll now run a lightweight Zenoh d
1616
This pattern is ideal for robotics and IIoT scenarios where devices intermittently connect or request snapshots of remote state.
1717

1818
For example, in a warehouse or factory:
19-
- Robots can periodically publish position, temperature, or battery level
20-
- A central system or peer node can later query these values on demand
19+
- Robots can periodically publish position, temperature, or battery level.
20+
- A central system or peer node can later query these values on demand.
2121

2222
Unlike Pub/Sub, which requires live, real-time message exchange, Zenoh's storage and query model enables asynchronous access to data that was published earlier, even if the original publisher is no longer online.
2323

@@ -77,7 +77,7 @@ If you have more than two Raspberry Pi devices, you can run the `z_get` command
7777

7878
This example shows how Zenoh's storage with query model supports asynchronous data access and resilient state-sharing—critical capabilities in robotics and industrial IoT systems where network connectivity may be intermittent or system components loosely coupled.
7979

80-
## What's next
80+
## What's next?
8181

8282
Now that you've seen how Zenoh handles pub/sub and storage-based queries, you're ready to build reactive and intelligent edge nodes.
8383

content/learning-paths/cross-platform/zenoh-multinode-ros2/6_zenoh-ex3-queryable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ This model enables edge-based intelligence, such as:
7070

7171
Queryable is a key feature for data-in-use scenarios, allowing fine-grained, on-demand compute inside your Zenoh-powered architecture.
7272

73-
## What's next
73+
## What's next?
7474

7575
In the next example, you'll extend this queryable pattern to support **runtime parameters**, such as battery level and temperature, allowing each node to return a calculated health score on demand.
7676

content/learning-paths/cross-platform/zenoh-multinode-ros2/7_zenoh-querycomp.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Instead of streaming data continuously, robots expose a queryable endpoint that
2222

2323
This saves bandwidth and enables lightweight edge-side decision-making.
2424

25-
### Create a new Zenoh rust project
25+
## Create a new Zenoh rust project
2626

2727
On any Raspberry Pi:
2828

@@ -40,7 +40,7 @@ tokio = { version = "1", features = ["full"] }
4040
url = "2"
4141
```
4242

43-
### Implement the queryable node
43+
## Implement the queryable node
4444

4545
Next, log in to the other Raspberry Pi.
4646

@@ -109,7 +109,7 @@ You can extend this queryable pattern to respond to other real-time diagnostics,
109109

110110
This design pattern enables efficient, on-demand data exchange with minimal bandwidth usage. This is ideal for edge computing scenarios where resources and connectivity are constrained.
111111

112-
### Battery health estimation formula
112+
## Battery health estimation formula
113113

114114
The health score is calculated using the following logic:
115115

@@ -129,7 +129,7 @@ For example, if `battery = 88` and `temp = 32`, then:
129129
- Temperature offset = (32 - 25) / 2 = 3
130130
- Health = 88 - 3 = 85%
131131

132-
### Build and run
132+
## Build and run
133133

134134
```bash
135135
cd $HOME/zenoh/zenoh_battery_estimator
@@ -143,7 +143,7 @@ After the build process, you will see:
143143
Finished `release` profile [optimized] target(s) in 1m 22s
144144
```
145145

146-
### Query it with parameters
146+
## Query it with parameters
147147

148148
Run it on the Raspberry Pi you used for the build run:
149149

0 commit comments

Comments
 (0)