ROS Message Best Practices
Hey there guys,
I am quite new to ROS and have not been involved in bigger projects. However I am confronted with creating one on my own. Working through the tutorials and some literature some of my biggest questions are nowhere to be answered, or at least I don't know how to find them. They are basic (best practice) questions, hopefully you are not too annoyed to answer them :)
I am dealing with a lot of images. A node that is processing an image and adds a slice of information to it (like depth or pose), will I define a new message including the image and the additional informations? Or will I define a message, publishing the additional informations and recombine "image + additional data" in an subsequent node?
First way sounds wrong because of duplicated data, second way sounds annoying by always checking if message id of image is matching the corresponding id of the additional data. Do I miss a basic ros principle?
Thansk for your answer in advance, beste regards
Alex