Can we use a C++ library from within a Zenoh plugin? #124
-
Hi there 👋 Was having an online discussion with @Mallets earlier today and wanted to make sure I understood correctly. Related to some discussions occurring over on how to handle the architecture of our "transport bridge" component (called streamer) that bridges between various transports, e.g. Zenoh, SOME/IP for uProtocol. We were discussing that using C++ code within a Zenoh plugin was not doable, but then it seemed to become it was possible when we clarified a bit further. So I tried to write a little more detail around what we're trying to do. Is the following kind of architecture doable? flowchart TB
subgraph ide0 [zenohd]
main-->ide1
subgraph ide1 [streamer-plugin]
a1[up-streamer-rust]-->ide2
a1[up-streamer-rust]-->ide3
subgraph ide2 [OS thread]
a2[up-client-zenoh-rust]
end
subgraph ide3 [OS thread]
subgraph ide4 [Rust bridge e.g. up-client-someip-rust using cxx]
a3[up-client-someip-cpp]
end
end
end
end
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi @PLeVasseur |
Beta Was this translation helpful? Give feedback.
Correct. An example of such approach is the ROS2 plugin where the C-based CycloneDDS library is used to communicate over DDS. CycloneDDS though does not call anything related to Zenoh.