Zenoh-pico add ROS2 Unix example using CycloneDDS CDR serializer - #165
Zenoh-pico add ROS2 Unix example using CycloneDDS CDR serializer#165PetervdPerk-NXP wants to merge 1 commit into
Conversation
|
Hi @PetervdPerk-NXP I would like to suggest you to move this PR to our repository dedicated to Zenoh-related demos and/or 3rd technology integration (in this case ROS2 and CycloneDDS): https://github.com/eclipse-zenoh/zenoh-demos/ On side note, could you share for what are you using Zenoh (and Zenoh-Pico in specific)? This feedback is important for us to understand the key requirements from our users and to be able to evolve Zenoh towards your needs. |
|
Superseded by eclipse-zenoh/zenoh-demos#8 |
Adds a UNIX example to communicate with ROS2 using the native ROS2 message definitions.
For serialization we use the CycloneDDS CDR serializer, for now we compile some components separately. But ideally we would have to have do decouple some modules from CycloneDDS i.e.
dds_cdrstream.cand turn it into a standalone library that could run also on small RTOS'es (FreeRTOS, Zephyr and more)To use the UNIX example you've to specify the ROS_DISTRO and it will automatically generated the definitions and serializer to communicate on a ROS2 topic. For more information see https://github.com/NXPHoverGames/zenoh-pico/blob/c6b7f07914871dd3c1436717ee959dc0fb169784/examples/unix/ros2/README.md
Furthermore this PR has a soft dependency to this eclipse-cyclonedds/cyclonedds#1564 PR to avoiding that we compile the complete DDS stack.