[ros-users] Cost of publishing when nobody's subscribing

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: User discussions
日付:  
To: User discussions
題目: [ros-users] Cost of publishing when nobody's subscribing
Does anyone familiar with the details of roscpp or imae_transport know, specifically in the context of no subscribers, (a) how much overhead is there to publish something? and (b) does that overhead scale with the size of the message?

Specifically I am interested in the case of images. Consider three cases:

1) a node publishes an image, and it is shown in image_view
2) a node publishes an image, but it is not shown in image_view or anywhere else
3) a node does not publish an image

Clearly there will be a lot more computation associated with (1) than (3), but what about (2) -- is it closer to (1) or (3) or somewhere close to the middle?

--Nick