ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

What will happen if a 'roscore' has already been run when I run a launch file?

asked 2014-11-19 09:26:24 -0600

somebodyus gravatar image

What will happen if a roscore has already been run when I run a launch file? Does the roslaunch override the old roscore?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2014-11-19 09:36:01 -0600

gvdhoorn gravatar image

updated 2014-11-19 09:36:33 -0600

Nothing spectacular: roslaunch will detect that a roscore instance is already running and use that (instead of starting a new one).

From the roscore wiki page:

NOTE: If you use roslaunch, it will automatically start roscore if it detects that it is not already running.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-11-19 09:26:24 -0600

Seen: 319 times

Last updated: Nov 19 '14