4 releases (2 breaking)
| 0.10.0 | Oct 19, 2025 |
|---|---|
| 0.9.1 | Sep 12, 2025 |
| 0.9.0 | Aug 1, 2025 |
| 0.8.0 | May 27, 2025 |
#440 in Robotics
31 downloads per month
135KB
717 lines
Copper ROS bridge using Zenoh
ONLY SUPPORTS HUMBLE at the moment.
Install the zenoh daemon
cargo install zenohd --all-features
To run the bridge
Launch a zenoh router.
$ RUST_LOG=debug zenohd
The log as debug will help you understand the INSANE mapping between ROS and zenoh.
Then run this example.
$ cd cuexamples/cu_zenoh_ros
$ cargo run --release
Run ROS from Docker (optional)
If you don't have access to a perfect Ubuntu version to run ROS, you can do it from the Docker container given
docker build -t ros-jazzy-zenoh . docker run --rm -it --net=host -v "$PWD":/ros2_ws -w /ros2_ws ros-jazzy-zenoh bash
Display the result.
export RMW_IMPLEMENTATION=rmw_zenoh_cpp
ros2 topic echo /output
Troubleshooting Zenoh
To inspect zenoh, this is suddedly some python stuff, so let's go and make a virtualenv.
python3 -m venv zcli
source zcli/bin/activate
pip install zenoh-cli
Dumping ALL the traffic:
zenoh subscribe -k '0/output/**'
0 is the ROS2 domain output is the name of the topic
It is followed with some mangled things like the RIHS01 an and QOS.
Dependencies
~47–66MB
~1M SLoC