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

Revision history [back]

What we like to do is have the sensor topics exist (or be remapped to) in what appears to be the global namespace, then nest the node launch under a namespace. That's your /location_namespace/ example, without the redundancy.

For example (code untested, but I think it gives you the idea):

<group ns="location"/>
   <node pkg="foo" name="bar" type="baz">
      <remap from="camera/rgb/image_color" to="rgb/image_color"/>
     <remap from="camera/camera_info" to="camera_info"/>
   </node>
</group>