How does a ros node handle multiple subscribers?

asked 2022-03-15 01:41:09 -0600

kidpaul gravatar image

Does the node deal with these subscribers (or publishers) sequentially (i.e., first comes, first serves), or does it parallelize them? This question just popped out from my head while I was dealing with callbacks of multiple subscribers which try to access and modify same variable simultaneously and I'm not sure about this even after reading I appreciate if someone can explain to me.

edit retag flag offensive close merge delete