Note
This is a quick copy-paste-observe guide that shows you how to set up and run a Zenoh Bridge.
Please refer to the references below if unclear on what is a Zenoh Bridge.
- Download binaries for Zenoh Bridge.
Release Page: https://github.com/eclipse-zenoh/zenoh-plugin-ros2dds/releases/tag/1.9.0 Asset Name:
zenoh-plugin-ros2dds-1.9.0-aarch64-unknown-linux-gnu-standalone.zip
wget https://github.com/eclipse-zenoh/zenoh-plugin-ros2dds/releases/download/1.9.0/zenoh-plugin-ros2dds-1.9.0-aarch64-unknown-linux-gnu-standalone.zipNote
Last verified working with the above version of Zenoh Bridge
- Unpack the following binary:
unzip zenoh-plugin-ros2dds-1.9.0-aarch64-unknown-linux-gnu-standalone.zip zenoh-bridge-ros2dds- Create the following
config.json5Zenoh Bridge configuration file:
{
plugins: {
ros2dds: {}
},
mode: "client",
connect: {
endpoints: [
"tcp/<INSERT IP ADDRESS OF ZENOH ROUTER HERE>:7447"
]
}
}
Replace
<INSERT IP ADDRESS OF ZENOH ROUTER HERE>with the actual IP address of a Zenoh Router you intend to use. Eg.192.168.100.50
Note
For further details on how to configure, please refer to this template DEFAULT_CONFIG.json5.
- Run Zenoh Bridge manually using the command below:
./zenoh-bridge-ros2dds -c config.json5- What is Zenoh - https://zenoh.io/docs/overview/what-is-zenoh/
- Integrating ROS 2 with Eclipse Zenoh - https://zenoh.io/blog/2021-04-28-ros2-integration/
- Can't teleoperate TB4 with remote PC - turtlebot/turtlebot4#494 (comment)
Optimized Turtlebot4 Zenoh Bridge Configuration
Use the following
.json5configuration file to minimize network bandwidth use by Zenoh Bridge and avoid potential Turtlebot4 Create4 base hardware failure: