Publishing a Char Array
Hi Friends,
I have a ROS Node which is creating a TCP/IP Connection and I am Sending & Receiving the data from the Server.
I am using a Char buff[110]
to read the data and I want to publish this array on a ROS topic.
How do I publish this character array on the topic and how to Subscribe this in another node.
I tried few examples using std_msgs::UInt8MultiArray
& pusb_back()
but it was not publishing the data.
Kindly help.
Thanks.