ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It really depends on what you are trying to do, and what your sensor suite looks like.

If your sensors are truly independent, in that any one of them could be used standalone, then I'd suggest making each of them a separate Node. That way, you (or your users) will be able to arbitrarily compose them in different ways.

On the other hand, if the sensors are all tied together, and will always be used together, then you can either create one "mega" node that handles them all, or make one node at the top-level and pass that into each of the constructors for the individual sensors. I'd opt for the "mega" node myself (if they aren't separate they may as well all be handled together), but either way will work.