Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The message that is being send over the topic is of type Blob.

You need to receive the message type Blob by subscribing to the topic. Then in your code you can write something like

int x = blob_message.x;
int y = blob_message.y;

So in summary you need to receive the complete message.