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

Limit access to topics?

asked 2015-01-17 17:04:48 -0600

noobalot gravatar image

updated 2015-01-17 23:44:35 -0600

Is this possible? I have topics that I want to share in my own subsystem, but don't want exposed to external nodes because it's really not data that they should be using.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2015-01-18 03:06:41 -0600

tfoote gravatar image

There is no way to limit access to a specific topic. For this sort of limitation a common approach is to isolate the network with the internal subsystem and run the "public" master and use some of the multi-master tools to expose the specific topics you wish available on the public master.

edit flag offensive delete link more
0

answered 2015-01-17 21:28:47 -0600

The topics will only be transferred to nodes that request them. If they are not requested, data is not sent. All this is handled by the rosmaster.

edit flag offensive delete link more

Comments

I guess my concern is a node can still request something that's meant to be "internal" data.

noobalot gravatar image noobalot  ( 2015-01-17 23:45:32 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-01-17 17:04:48 -0600

Seen: 569 times

Last updated: Jan 18 '15