ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I think it's perfectly fine to have both functions within the same node. You could (and should) however try to keep the implementation separated. One class each for ImageAnalysis and Localization can be used together in the node but with a well defined interface. This will be better for code quality and help you when you have to break up the node in the future.