Skip to content

Commit

Permalink
fix: update urls to point to main branch (#68)
Browse files Browse the repository at this point in the history
* fix: update urls to point to main branch

* chore: update to main branch

* fix: adjust examples to point to correct version
  • Loading branch information
diogomatsubara authored Sep 30, 2024
1 parent 9382d72 commit 08f8eb0
Show file tree
Hide file tree
Showing 16 changed files with 35 additions and 35 deletions.
4 changes: 2 additions & 2 deletions content/blog/2021-04-28-ROS2-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ Now:
```
You can see more complete versions of a "teleop" code with various options and arrows key-pressed listener here:
- in Python: https://github.com/eclipse-zenoh/zenoh-demos/tree/master/ROS2/zenoh-python-teleop
- in Rust: https://github.com/eclipse-zenoh/zenoh-demos/tree/master/ROS2/zenoh-rust-teleop
- in Python: https://github.com/eclipse-zenoh/zenoh-demos/tree/main/ROS2/zenoh-python-teleop
- in Rust: https://github.com/eclipse-zenoh/zenoh-demos/tree/main/ROS2/zenoh-rust-teleop
-------
## How do I use zenoh to operate my robot from anywhere in the world ?
Expand Down
2 changes: 1 addition & 1 deletion content/blog/2021-11-09-ros2-zenoh-pico.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ void loop()
zn_write(s, *reskey, (const uint8_t *)buf, twist_serialized_size);
}
```
**Note:** auxiliary structs and serialization functions are missing in the previous snippet. For the full code, including the adaptations for the turtlesim, please check the code under https://github.com/eclipse-zenoh/zenoh-demos/tree/master/ROS2/zenoh-pico-teleop-gyro
**Note:** auxiliary structs and serialization functions are missing in the previous snippet. For the full code, including the adaptations for the turtlesim, please check the code under https://github.com/eclipse-zenoh/zenoh-demos/tree/main/ROS2/zenoh-pico-teleop-gyro
## 3. Setting up the infrastructure and the turtlebot / turtlesim
In order to set up the infrastructure and the turtlebot / turtle in different configurations, follow the steps described in our [previous blog](https://zenoh.io/blog/2021-04-28-ros2-integration/). However, note that Zenoh-pico currently supports client mode only (a lightweight peer mode is coming soon). As such, you might need to deploy at least one Zenoh router to which your microcontroller application will need to connect to. The minimum steps are shown below:
Expand Down
2 changes: 1 addition & 1 deletion content/blog/2022-02-08-dragonbot.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Still, we had to move some rocks along the way:

Finally, DragonBotOne made it all the way to hatch.

All source-code and step-by-step guides can be found in our [GitHub repositories](https://github.com/eclipse-zenoh/zenoh-demos/tree/master/zenoh-dragonbot).
All source-code and step-by-step guides can be found in our [GitHub repositories](https://github.com/eclipse-zenoh/zenoh-demos/tree/main/zenoh-dragonbot).


## Remote Controller: ESP32 with a MPU-6050 accelerometer and gyroscope module
Expand Down
14 changes: 7 additions & 7 deletions content/blog/2022-09-30-zenoh-bahamut.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Last but not least, future extensibility was the third objective for the new API
If you are curious about the philosophy of the new API, you can find the full discussion [here](https://github.com/eclipse-zenoh/roadmap/discussions/23).

## Rust
*Subscriber* -- Full working example available [here](https://github.com/eclipse-zenoh/zenoh/blob/master/examples/examples/z_sub.rs).
*Subscriber* -- Full working example available [here](https://github.com/eclipse-zenoh/zenoh/blob/main/examples/examples/z_sub.rs).

```Rust
let session = zenoh::open(config).res().await.unwrap();
Expand All @@ -51,7 +51,7 @@ while let Ok(sample) = subscriber.recv_async().await {
}
```

*Publisher* -- Full working example available [here](https://github.com/eclipse-zenoh/zenoh/blob/master/examples/examples/z_pub.rs).
*Publisher* -- Full working example available [here](https://github.com/eclipse-zenoh/zenoh/blob/main/examples/examples/z_pub.rs).

```Rust
let session = zenoh::open(config).res().await.unwrap();
Expand All @@ -63,7 +63,7 @@ loop {
```

## Python
*Subscriber* -- Full working example available [here](https://github.com/eclipse-zenoh/zenoh-python/blob/master/examples/z_sub.py).
*Subscriber* -- Full working example available [here](https://github.com/eclipse-zenoh/zenoh-python/blob/main/examples/z_sub.py).

```Python
def listener(sample: Sample):
Expand All @@ -75,7 +75,7 @@ while True:
time.sleep(1.0)
```

*Publisher* -- Full working example available [here](https://github.com/eclipse-zenoh/zenoh-python/blob/master/examples/z_pub.py).
*Publisher* -- Full working example available [here](https://github.com/eclipse-zenoh/zenoh-python/blob/main/examples/z_pub.py).

```Python
session = zenoh.open(conf)
Expand All @@ -86,7 +86,7 @@ while True:
```

## C
*Subscriber* -- Full working example available [here](https://github.com/eclipse-zenoh/zenoh-c/blob/master/examples/z_sub.c).
*Subscriber* -- Full working example available [here](https://github.com/eclipse-zenoh/zenoh-c/blob/main/examples/z_sub.c).

```C
void data_handler(const z_sample_t *sample, const void *arg) {
Expand Down Expand Up @@ -114,7 +114,7 @@ int main(int argc, char **argv) {
}
```
*Publisher* -- Full working example available [here](https://github.com/eclipse-zenoh/zenoh-c/blob/master/examples/z_pub.c).
*Publisher* -- Full working example available [here](https://github.com/eclipse-zenoh/zenoh-c/blob/main/examples/z_pub.c).
```C
int main(int argc, char **argv) {
Expand Down Expand Up @@ -175,7 +175,7 @@ For a more in-depth reading on key expressions, please refer to this [RFC](https
----
# A new configuration file format

A new json5/yaml-based configuration file has been added. This allows configuring various aspects of Zenoh via a simple yet comprehensive file that can be extended as needed in the future. A snippet of the configuration file can be found below while the full configuration file can be found [here](https://github.com/eclipse-zenoh/zenoh/blob/master/DEFAULT_CONFIG.json5).
A new json5/yaml-based configuration file has been added. This allows configuring various aspects of Zenoh via a simple yet comprehensive file that can be extended as needed in the future. A snippet of the configuration file can be found below while the full configuration file can be found [here](https://github.com/eclipse-zenoh/zenoh/blob/main/DEFAULT_CONFIG.json5).

```Json
{
Expand Down
6 changes: 3 additions & 3 deletions content/blog/2023-01-10-zenoh-charmander.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ You can [check here](https://zenoh.io/docs/manual/tls/#mutual-authentication-mtl
----
# MQTT plugin
A [new plugin](https://github.com/eclipse-zenoh/zenoh-plugin-mqtt) is coming into the dragon nest that enables integrating Zenoh with MQTT.
This is a fresh addition to the already existing [DDS plugin](https://github.com/eclipse-zenoh/zenoh-plugin-dds), [REST plugin](https://github.com/eclipse-zenoh/zenoh/tree/master/plugins/zenoh-plugin-rest), and [web server plugin](https://github.com/eclipse-zenoh/zenoh-plugin-webserver).
This is a fresh addition to the already existing [DDS plugin](https://github.com/eclipse-zenoh/zenoh-plugin-dds), [REST plugin](https://github.com/eclipse-zenoh/zenoh/tree/main/plugins/zenoh-plugin-rest), and [web server plugin](https://github.com/eclipse-zenoh/zenoh-plugin-webserver).
The [Zenoh MQTT plugin](https://github.com/eclipse-zenoh/zenoh-plugin-mqtt) converts a Zenoh router into a full-fledged MQTT broker supporting MQTT V3 and V5 clients.
This allows to exploit all the Zenoh routing and storage capabilities from your MQTT client, but also to make Zenoh clients and peers talk with MQTT clients as shown in the figure below!
To test it out just follow the [README](https://github.com/eclipse-zenoh/zenoh-plugin-mqtt).
Expand Down Expand Up @@ -102,7 +102,7 @@ while True:
time.sleep(1)
```

Don’t forget to check out all the other examples for [Rust](https://github.com/eclipse-zenoh/zenoh/tree/master/examples), [Python](https://github.com/eclipse-zenoh/zenoh-python/tree/master/examples), and [C](https://github.com/eclipse-zenoh/zenoh-c/tree/master/examples).
Don’t forget to check out all the other examples for [Rust](https://github.com/eclipse-zenoh/zenoh/tree/main/examples), [Python](https://github.com/eclipse-zenoh/zenoh-python/tree/main/examples), and [C](https://github.com/eclipse-zenoh/zenoh-c/tree/main/examples).

----
# C++ bindings
Expand Down Expand Up @@ -187,7 +187,7 @@ This is the very first release of the C++ bindings so the Zenoh team will highly
This will help in greatly improving its maturity and robustness.

In the future, we are planning to bring C++ bindings also on [Zenoh-Pico](https://github.com/eclipse-zenoh/zenoh-pico) to natively integrate with C++ embedded systems like Arduino.
At the moment you can use [Zenoh-Pico](https://github.com/eclipse-zenoh/zenoh-pico) with the C API on various embedded systems, see [some examples](https://github.com/eclipse-zenoh/zenoh-pico/tree/master/examples/arduino).
At the moment you can use [Zenoh-Pico](https://github.com/eclipse-zenoh/zenoh-pico) with the C API on various embedded systems, see [some examples](https://github.com/eclipse-zenoh/zenoh-pico/tree/main/examples/arduino).

----
# Zenoh-Pico and MISRA-C
Expand Down
8 changes: 4 additions & 4 deletions content/blog/2023-06-05-charmander2.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ And it also comes with a load of various bug fixes and improvements.

[Zenoh Charmander 0.7.0-rc](https://zenoh.io/blog/2023-01-10-zenoh-charmander/#c-bindings) introduced experimental support for [C++ bindings](https://zenoh.io/blog/2023-01-10-zenoh-charmander/#c-bindings), which are built on top of the Zenoh C API. This release introduces the support of [zenoh-pico](https://github.com/eclipse-zenoh/zenoh-pico) in addition to the already supported [zenoh-c](https://github.com/eclipse-zenoh/zenoh-c). This means you can now write your Zenoh C++ application and run it on any embedded platform supported by [zenoh-pico](https://github.com/eclipse-zenoh/zenoh-pico#zenoh-pico-native-c-library-for-constrained-devices)! You can check [here](https://github.com/eclipse-zenoh/zenoh-cpp#library-usage) how to set up zenoh-cpp as a library and switch between zenoh-c and zenoh-pico.

Moreover, this release finally provides the full coverage of the Zenoh stable API, including shared memory support (see [C](https://github.com/eclipse-zenoh/zenoh-c/blob/master/examples/z_pub_shm.c) and [C++](https://github.com/eclipse-zenoh/zenoh-cpp/blob/main/examples/zenohc/z_pub_shm.cxx) examples). The build for zenoh C/C++ projects was also made simpler and more flexible. Now zenoh-c, zenoh-pico and zenoh-cpp can be directly included into the parent CMake project without installation - see examples [here](https://github.com/eclipse-zenoh/zenoh-cpp/tree/main/examples/simple). The full set of C++ examples is available [here](https://github.com/eclipse-zenoh/zenoh-cpp/tree/main/examples/).
Moreover, this release finally provides the full coverage of the Zenoh stable API, including shared memory support (see [C](https://github.com/eclipse-zenoh/zenoh-c/blob/main/examples/z_pub_shm.c) and [C++](https://github.com/eclipse-zenoh/zenoh-cpp/blob/main/examples/zenohc/z_pub_shm.cxx) examples). The build for zenoh C/C++ projects was also made simpler and more flexible. Now zenoh-c, zenoh-pico and zenoh-cpp can be directly included into the parent CMake project without installation - see examples [here](https://github.com/eclipse-zenoh/zenoh-cpp/tree/main/examples/simple). The full set of C++ examples is available [here](https://github.com/eclipse-zenoh/zenoh-cpp/tree/main/examples/).

Stay tuned for an upcoming, detailed blog post on the C++ API that will be published shortly.

## Query payload

The [query payload API](https://zenoh.io/blog/2023-01-10-zenoh-charmander/#query-payload) has been marked stable and added to all Zenoh examples: in Rust ([get](https://github.com/eclipse-zenoh/zenoh/blob/eca888b410a0afb1df939393d4a304b7f926cd5e/examples/examples/z_get.rs#L32) and [queryable](https://github.com/eclipse-zenoh/zenoh/blob/eca888b410a0afb1df939393d4a304b7f926cd5e/examples/examples/z_queryable.rs#L49)), C ([get](https://github.com/eclipse-zenoh/zenoh-c/blob/2779f7ac470b1557e6fd8fd0ebfd04002ee8db2c/examples/z_get.c#L60) and [queryable](https://github.com/eclipse-zenoh/zenoh-c/blob/2779f7ac470b1557e6fd8fd0ebfd04002ee8db2c/examples/z_queryable.c#L32)), C++ ([get](https://github.com/eclipse-zenoh/zenoh-cpp/blob/81e1a69693bb45d4f23236d769ff4f4ad74ddddb/examples/universal/z_get.cxx#L62) and [queryable](https://github.com/eclipse-zenoh/zenoh-cpp/blob/81e1a69693bb45d4f23236d769ff4f4ad74ddddb/examples/universal/z_queryable.cxx#L75)), Python ([get](https://github.com/eclipse-zenoh/zenoh-python/blob/78a3902316f0e99d593ff7a2013ef920e637fa60/examples/z_get.py#L82) and [queryable](https://github.com/eclipse-zenoh/zenoh-python/blob/78a3902316f0e99d593ff7a2013ef920e637fa60/examples/z_queryable.py#L73)), and Zenoh-Pico ([get](https://github.com/eclipse-zenoh/zenoh-pico/blob/master/examples/unix/c11/z_get.c) and [queryable](https://github.com/eclipse-zenoh/zenoh-pico/blob/master/examples/unix/c11/z_queryable.c)). As a reminder, a query has now gained the possibility to carry some user payload that can be received and interpreted by the matching queryables. For example, you can now attach a picture to a query that is analyzed by a queryable running an object detection algorithm as shown in the figure below.
The [query payload API](https://zenoh.io/blog/2023-01-10-zenoh-charmander/#query-payload) has been marked stable and added to all Zenoh examples: in Rust ([get](https://github.com/eclipse-zenoh/zenoh/blob/eca888b410a0afb1df939393d4a304b7f926cd5e/examples/examples/z_get.rs#L32) and [queryable](https://github.com/eclipse-zenoh/zenoh/blob/eca888b410a0afb1df939393d4a304b7f926cd5e/examples/examples/z_queryable.rs#L49)), C ([get](https://github.com/eclipse-zenoh/zenoh-c/blob/2779f7ac470b1557e6fd8fd0ebfd04002ee8db2c/examples/z_get.c#L60) and [queryable](https://github.com/eclipse-zenoh/zenoh-c/blob/2779f7ac470b1557e6fd8fd0ebfd04002ee8db2c/examples/z_queryable.c#L32)), C++ ([get](https://github.com/eclipse-zenoh/zenoh-cpp/blob/81e1a69693bb45d4f23236d769ff4f4ad74ddddb/examples/universal/z_get.cxx#L62) and [queryable](https://github.com/eclipse-zenoh/zenoh-cpp/blob/81e1a69693bb45d4f23236d769ff4f4ad74ddddb/examples/universal/z_queryable.cxx#L75)), Python ([get](https://github.com/eclipse-zenoh/zenoh-python/blob/78a3902316f0e99d593ff7a2013ef920e637fa60/examples/z_get.py#L82) and [queryable](https://github.com/eclipse-zenoh/zenoh-python/blob/78a3902316f0e99d593ff7a2013ef920e637fa60/examples/z_queryable.py#L73)), and Zenoh-Pico ([get](https://github.com/eclipse-zenoh/zenoh-pico/blob/main/examples/unix/c11/z_get.c) and [queryable](https://github.com/eclipse-zenoh/zenoh-pico/blob/main/examples/unix/c11/z_queryable.c)). As a reminder, a query has now gained the possibility to carry some user payload that can be received and interpreted by the matching queryables. For example, you can now attach a picture to a query that is analyzed by a queryable running an object detection algorithm as shown in the figure below.

{{< figure-inline
src="../../img/20230605-blog-zenoh-charmander2/zenoh-queryable-example.png"
Expand Down Expand Up @@ -164,7 +164,7 @@ ROS1 bridge has some limitations which, however, are planned to be completely el
This release introduces the _liveliness_ feature. It allows any Zenoh application to assert and monitor the liveliness of any other Zenoh application in the network. Zenoh applications can declare liveliness tokens associated with some key expressions. Liveliness tokens will be seen as _alive_ by other Zenoh applications while the Zenoh application that declared it is _alive_.

Zenoh applications can query alive tokens with the `get_liveliness` function and subscribe to liveliness changes (apparition/disappearance of liveliness tokens) with the `declare_liveliness_subscriber` function.
This feature is only available in the Rust API and is marked _unstable_: it works as intended but the API may change in the future. More details can be found [here](https://github.com/eclipse-zenoh/roadmap/blob/main/rfcs/ALL/Liveliness.md). Examples can be found [here](https://github.com/eclipse-zenoh/zenoh/blob/master/examples/examples/z_liveliness.rs), [here](https://github.com/eclipse-zenoh/zenoh/blob/master/examples/examples/z_get_liveliness.rs) and [here](https://github.com/eclipse-zenoh/zenoh/blob/master/examples/examples/z_sub_liveliness.rs).
This feature is only available in the Rust API and is marked _unstable_: it works as intended but the API may change in the future. More details can be found [here](https://github.com/eclipse-zenoh/roadmap/blob/main/rfcs/ALL/Liveliness.md). Examples can be found [here](https://github.com/eclipse-zenoh/zenoh/blob/main/examples/examples/z_liveliness.rs), [here](https://github.com/eclipse-zenoh/zenoh/blob/main/examples/examples/z_get_liveliness.rs) and [here](https://github.com/eclipse-zenoh/zenoh/blob/main/examples/examples/z_sub_liveliness.rs).

## Compression (experimental)

Expand All @@ -186,7 +186,7 @@ In the configuration file we can enable or disable the compression as shown belo
}
```

So far the metrics collected on a local environment show promising results. By running the [z_pub_thr & z_sub_thr tests](https://github.com/eclipse-zenoh/zenoh/tree/master/examples#z_pub_thr--z_sub_thr) (which allow us to measure the amount of messages sent per second through Zenoh) on a local environment composed of a Mac with an M2 processor, we see that even for a worst case scenario with batches containing high entropy payloads (resulting in a low compression rate), the amount of messages per second sent through the Zenoh network behaves as well as in the case compression is disabled.
So far the metrics collected on a local environment show promising results. By running the [z_pub_thr & z_sub_thr tests](https://github.com/eclipse-zenoh/zenoh/tree/main/examples#z_pub_thr--z_sub_thr) (which allow us to measure the amount of messages sent per second through Zenoh) on a local environment composed of a Mac with an M2 processor, we see that even for a worst case scenario with batches containing high entropy payloads (resulting in a low compression rate), the amount of messages per second sent through the Zenoh network behaves as well as in the case compression is disabled.

{{< figure-inline
src="../../img/20230605-blog-zenoh-charmander2/compressions_2.png"
Expand Down
4 changes: 2 additions & 2 deletions content/blog/2024-04-30-zenoh-electrode.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ To begin with, the 0.10.0-rc Zenoh-Kotlin release target was limited to JVM. But

Additionally, we now provide packaging, which is key to ease the importing of Zenoh on Kotlin projects. Find them out here on [Github Packages](https://github.com/orgs/eclipse-zenoh/packages?repo_name=zenoh-kotlin), for both JVM and Android targets!

The third important item is that Java joined the party! Indeed, we have forked the Kotlin bindings, making the necessary adjustments to make the bindings fully Java compatible. Checkout the examples! [https://github.com/eclipse-zenoh/zenoh-java/tree/master/examples](https://github.com/eclipse-zenoh/zenoh-java/tree/master/examples)
The third important item is that Java joined the party! Indeed, we have forked the Kotlin bindings, making the necessary adjustments to make the bindings fully Java compatible. Checkout the examples! [https://github.com/eclipse-zenoh/zenoh-java/tree/main/examples](https://github.com/eclipse-zenoh/zenoh-java/tree/main/examples)

Because Zenoh-Kotlin (and now Zenoh-Java) relies on the Zenoh-JNI native library, we need to take into consideration the platforms on top of which the library is going to run.

Expand All @@ -70,7 +70,7 @@ While for JVM we support:
- aarch64-apple-darwin
- x86_64-pc-windows-msvc

Take a look at the [Zenoh demo app](https://github.com/eclipse-zenoh/zenoh-demos/tree/master/zenoh-android/ZenohApp) we have published to see how to use the package:
Take a look at the [Zenoh demo app](https://github.com/eclipse-zenoh/zenoh-demos/tree/main/zenoh-android/ZenohApp) we have published to see how to use the package:

{{< rawhtml >}}

Expand Down
6 changes: 3 additions & 3 deletions content/docs/getting-started/first-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ session.close()

You can also have a look at the examples provided with each client API:

- **Rust**: https://github.com/eclipse-zenoh/zenoh/tree/master/examples
- **Python**: https://github.com/eclipse-zenoh/zenoh-python/tree/master/examples
- **C**: https://github.com/eclipse-zenoh/zenoh-c/tree/master/examples
- **Rust**: https://github.com/eclipse-zenoh/zenoh/tree/main/examples
- **Python**: https://github.com/eclipse-zenoh/zenoh-python/tree/main/examples
- **C**: https://github.com/eclipse-zenoh/zenoh-c/tree/main/examples
4 changes: 2 additions & 2 deletions content/docs/getting-started/quick-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@ Now you can see how to [build your first Zenoh application in Python](../first-a
## Pick your programming language

If you prefer, you could also have a look to the `examples/zenoh` directory we provide in each Zenoh API:
- [Rust examples](https://github.com/eclipse-zenoh/zenoh/tree/master/examples)
- [Python examples](https://github.com/eclipse-zenoh/zenoh-python/tree/master/examples)
- [Rust examples](https://github.com/eclipse-zenoh/zenoh/tree/main/examples)
- [Python examples](https://github.com/eclipse-zenoh/zenoh-python/tree/main/examples)
Loading

0 comments on commit 08f8eb0

Please sign in to comment.