Ask Your Question
0

topic_tools, relay

asked 2017-11-25 02:41:25 -0500

asimay_y gravatar image

about topic_tools, relay, will this tool cost more resources than remap? I mean will it copy 1 more data from in_topic to out_topic?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-11-25 17:37:09 -0500

ahendrix gravatar image

Yes; the topic_tools relay node uses more resources than remapping, because it is a separate process that subscribes to the topic, copies the message and publishes it on a new topic.

The resource and performance impact will depend on your data and the computer(s) you're running ROS on. For most systems the resource use is very low, but if you have large messages (tens of megabytes or larger), topics that are published frequently (100Hz or more) or a low latency deadline (5ms or less) then you should measure the performance impact on your system.

edit flag offensive delete link more

Comments

Thank you very much. Dear. and another question I also want to know: so the "remap" can also be used across files and nodes, right? means I defined remap topic at where I want.

asimay_y gravatar image asimay_y  ( 2017-11-25 21:02:01 -0500 )edit

Cool. Thanks

harderthan gravatar image harderthan  ( 2020-02-26 05:08:25 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-11-25 02:41:25 -0500

Seen: 600 times

Last updated: Nov 25 '17