How to use raw eCAL::CPublisher() to send an array of uint8 (unsigned char)? #1640
Unanswered
daldr-ntml
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Hi @DavidA2014, welcome as new eCAL user :-). First of all, from the eCAL user API logic it doesn't matter if your processes running on the same node or not, it's just about publishing on a topic and subscribing it where ever you prefer. Yes, you can use the raw binary CPublisher::Send API. Here you can find a binary publisher and here the matching subscriber. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am new to eCAL. I want to send inter-process messages which are binary data stored in arrays of uint8 (unsigned char). Publisher and Subscriber are always on the same host and I don't want to use protocol buffers to avoid unnecessary overhead. The target system is 64-bit Ubuntu, using gcc 11.
I guess I need to use the raw eCAL::CPublisher() class. Is there an example that shows its use (send and receive) please?
Beta Was this translation helpful? Give feedback.
All reactions