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

Revision history [back]

click to hide/show revision 1
initial version

If you launch a single roscore prior to loading your launch files, shouldn't they all use the already running roscore?

From wiki.ros.org/roscore:

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

As far as I know, the directory where logfiles end up is determined at the start of roscore (see the runid parameter, and roscpp/Overview/Logging#Output), so all subsequently started nodes' logs should be written to the ~/.ros/log/<runid>/whatever directories.

If you launch a single roscore prior to loading your launch files, shouldn't they all use the already reuse that running roscore? instance?

From wiki.ros.org/roscore:

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

As far as I know, the directory where logfiles end up is determined at the start of roscore (see the runid parameter, and roscpp/Overview/Logging#Output), so all subsequently started nodes' logs should be written to the ~/.ros/log/<runid>/whatever directories.