Get nodelet running instance
I am new of ROS and nodelet. I understand that we can use nodelet load
to load a nodelet make it running or load with Loader
. And we can do sub-pub
in loaded nodelet.
Is it possible I can get the running nodelet instance somehow? For instance, whether I can use Loader
to load nodelet and return nodelet instance at same time?
I do this because nodelet subscribes a topic and I want to access the variable of the instance directly instead of re-pub a new topic.
Thanks a lot.