sample for publish/subscribe Int16MultiArray message between nodes

asked 2016-08-01 09:51:49 -0600

hsaadat gravatar image

I have a biotac sensor and I am able to aquire an array of data and I need to send it to another node for some bandpass filtering issues and so on .... As I understood I need to create a node for my sensor to publish the raw aquired data, which is already created and another node to subscribe sensor node's published data.

since the my data are the array of digifts so could you please give a saample of Int16MultiArray message sending and recieving in ros?

Thanks,

edit retag flag offensive close merge delete

Comments

I'm not quite sure I understand your question. Sending and receiving simple happens over subscribing and publishing. As you have your publisher already written, this one should publisht the Int16MultiArray message, thus you only need to subscribe to that in the other node...

mgruhler gravatar image mgruhler  ( 2016-08-02 01:20:33 -0600 )edit