Ask Your Question
0

Is launch file similar to the threading/processing concept in Python?

asked 2020-06-24 16:22:00 -0500

hammerli gravatar image

I know the goal of the launch file is to start multiple nodes at the same time. The nodes inside the launch file can send/receive data through different topics. However, does that mean the launch file achieves the goal of the threading/processing method in python? How the nodes are executed inside the launch file?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-06-24 19:05:22 -0500

Geoff gravatar image

If they are nodes, then each one is an individual process. There will be as many processes as there are nodes.

If they are nodelets, then each is loaded into an existing nodelet manager process as a dynamic library providing a function to call. In this case there will only be one process per nodelet manager.

Here is the place in the roslaunch source relevant to starting node processes.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-06-24 16:22:00 -0500

Seen: 24 times

Last updated: Jun 24