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)
Looking To Run Zenoh Bridge Detached?
It would get very cumbersome and inefficient if you have to start Zenoh Bridge manually for multiple Turtlebot4s in your fleet. Therefore, follow the steps below to run Zenoh Bridge as a boot-persistent service daemon:
Instructions π
nano ~/.config/systemd/user/zenoh-bridge.servicesystemctl --user daemon-reload systemctl --user enable zenoh-bridge.serviceVerify β
It should show that its status to be
active.