Why do I see multiple threads when I do rosrun or roslaunch? [closed]
Any time I run a node, I always see 5 threads like so
My code looks like this:
I'm relatively new to ROS, so apologies ahead of time if I missed something in the docs. There is a lot of it and I am absorbing it as fast as I can manage.
This appears to be a duplicate of #q283529, #q41632 (somewhat) and #q59509.
I'll answer #q283529, as it's older than yours and essentially asks the same question. We should then close your post as a duplicate.
Oh and for future questions: could you please not post screenshots of terminals or source code? It's all text, so it's not needed, and additionally, images cannot be indexed by search engines, reducing the visibility of your question.
In this case, with a screenshot of a terminal running
htop
, it's a slightly exceptional situation, as copy-pasting that as text here would probably not render properly, but in general we try to avoid doing that.