Hi a newbie here
I am wondering what is the best practice regarding the design of data flow through topics. Is it preferable to have a single topic containing all or many of the information provided by a component or rather to have each information its own topic. I will give two examples:
First example: an ambient sensor with temperature, dew point temperature, relative humidity and lots more. Would it preferable to have a single topic with all of them or to use the sensor_msgs defined messages and publish each measure on its own topic?
Second example: a peltier element with hot/cold temperature, current and voltage and device status. Same question.
On the one hand more topics is writing more code and more DDS traffic, on the other hand consumers can listen only to what they are interested in.