Nodelet namespace collision warning
Hi all,
I'm implementing a solution based on a collection of nodelets that run together. But for one of these nodelets, I'm getting the following warning every time I try to run it:
Initializing nodelet with 4 worker threads. Warning: class_loader.impl: SEVERE WARNING!!! A namespace collision has occured with plugin factory for class nodelet_package::NodeletName. New factory will OVERWRITE existing one. This situation occurs when libraries containing plugins are directly linked against an executable (the one running right now generating this message). Please separate plugins out into their own library or just don't link against the library and use either class_loader::ClassLoader/MultiLibraryClassLoader to open. at line 212 in /opt/ros/indigo/include/class_loader/class_loader_core.hpp
At runtime, I have a node that loads all these nodelets using nodelet.load() from nodelet/loader.h
I tried to understand and compare this nodelet with the other ones I'm using but I was not able to not guess what is wrong with this specific nodelet. Could anyone give me an example of what circumstances this warning might occur and give me tips on how to investigate this warning and potentially solve it?