Is there a (preferred) syntax for designing ROS applications?
Im writing a program for a robot that uses a camera to analyse its environment and determine its position using the data of the image.
I have the following sets of nodes for it;
Camera-node -(subscribed)-> imageAnalyse-node -(subscribed)-> locationDetermine-node
Is it fine if I merge the the imageAnalyse-node and locationDetermine-node to a single node since the output of the imageAnalyse will only be used for the locationDetermine-node, even thought that means it will be a single node with a lot of code in it compared to the other nodes??
It doesn't have any advantage splitting these notes and it makes the performance of my application worse (speed-wise)