0
$\begingroup$

Rosanswers logo

Hi,

I am currently developing a security framework for a robot. The control software as well as the security framework run on the ros master as different nodes with the security node publishing the message to stop the robot to a certain topic (control node subscribes to this topic). My question is how does ROS behave if the master loses the network connection. As both are running on the same machine, would they still be able to communicate?

I assume that they would still be able to do so, but I wasn't able to find anything in the official documentation.

Thanks in advance


Originally posted by canellac on ROS Answers with karma: 3 on 2015-05-28

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

In short, ROS topics are TCP connections directly between nodes, and they will stay connected even if the rosmaster process stops.

For a longer explanation, read the ROS Technical Overview and watch my ROSCon presentation from 2013: slides and video


Originally posted by ahendrix with karma: 47576 on 2015-05-28

This answer was ACCEPTED on the original site

Post score: 2


Original comments

Comment by canellac on 2015-05-28:
Thanks for the quick answer. I already assumed this behavior, but I wanted to have confirmation as I need it for my bachelor thesis.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.