Creating custom msg message vs sending data on topic via string
Hi,
I had a dilemma whether to create a custom message
that has all the variables of a certain node or to convert those variables to a dictionary
and send it as a string
on a ROS topic
.
So my question is which way is better when we compare it with data transmission. Which one will be faster and consume less memory?
Thanks in advance.