Robotics StackExchange | Archived questions

Publish a topic only locally?

Is it possible to publish a topic only locally? I have a data structure from an external library that I'd like to make available via ROS to other subscribers in the same node (e.g. when using several nodelets in one node). However, this data structure is very expensive to serialize. So I'd like to make sure that external subscribers (most notably "rosbag record -a") cannot see the topic and cannot subscribe to it.

Asked by tbleher on 2015-11-04 05:09:36 UTC

Comments

Answers