Subscribe topic from library?
Just a small question: is it possible to subscribe to a topic
from within a library, say, like a costmap_2d
layer plugin, and if it is, how is it done?
I've tried to just call NodeHandle::subscribe from the library. The call itself works, however the callback method is never executed.
Thanks a lot!