is it possible to use a nodelet manager across multiple namespaces?

asked 2020-05-20 19:11:58 -0500

mugetsu gravatar image

I want to launch multiple cameras as nodelets and have them share the same nodelet manager. The idea is that my slam package will also launch as a nodelet under this same manager. It would be very efficient passing the image data to slam this way.

However, cameras usually are launched as individual namespaces. I am not able to get my nodelet manager to work unless all my nodelets are in the same namespaces. It doesn't even work even if the nodelet manager is in a parent namespace and the nodelets are in a child namespace.

is there a way to get past this or is it impossible to achieve what I want here? I've only seen examples so far of nodelet managers for each camera

edit retag flag offensive close merge delete

Comments

I think you just need to remap the topics for the inputs and outputs for each to be correct. Its hard to say without seeing configuration / code, but I want to say from experience, that its just a game of making sure that all the namespaces are remapped for the ins and outs, and maybe using the leading / for global to on inputs to make sure you can get them.

stevemacenski gravatar image stevemacenski  ( 2020-05-20 20:44:39 -0500 )edit