Skip to content
Discussion options

You must be logged in to vote

Hi @vruetten - I'm assuming you don't have any control over how the header is composed? Is this enforced by the camera data output? Normally I would suggest putting each variable of the metadata into an individual NetMQFrame and then stacking all those into a multipart message. That way the receiving Subscriber can just index the message to get each piece of metadata.

If you need to send the byte array I've attached an example below that may do what you want. On the Publisher side of this workflow I've just recreated what I believe your message looks like from your description, which is a message with 3 frames (topic, data header, image data). For speed here the data header is just the im…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vruetten
Comment options

Answer selected by banchan86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants