Robotics StackExchange | Archived questions

Running 2 nodelets on different packages

From what I understand, nodelets will run on the same process and therefore have shared memory. If I am running 2 nodelets from 2 different packages, will they still have shared memory? Essentially, I have a node in a package which generates a variable that I have to access in another package. If I make this node a nodelet, will I be able to access this variable from another nodelet in a different package?

Asked by AnaghBenjwal on 2023-07-13 05:22:39 UTC

Comments

I believe this is a duplicate of #q335478 and #q106461.

At least with respect to the question in the title: "[Can I] run 2 nodelets on different packages?"

Could you please check whether that's the case and close your question here as a duplicate if you agree?

If I make this node a nodelet, will I be able to access this variable from another nodelet in a different package?

this seems to be a different question. If this is your actual question, please edit your post to make that clear.

Then you don't need to close your question and it can be answered.

Asked by gvdhoorn on 2023-07-14 03:19:34 UTC

Answers