Ask Your Question
0

Node on ROS_MASTER -> loosing connection [closed]

asked 2015-05-28 12:22:21 -0500

canellac gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by canellac
close date 2015-05-29 09:26:30.788904

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-05-28 12:34:37 -0500

ahendrix gravatar image

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

edit flag offensive delete link more

Comments

Thanks for the quick answer. I already assumed this behavior, but I wanted to have confirmation as I need it for my bachelor thesis.

canellac gravatar image canellac  ( 2015-05-28 13:02:35 -0500 )edit

Question Tools

Stats

Asked: 2015-05-28 12:22:21 -0500

Seen: 730 times

Last updated: May 28 '15