Eficiency of ros topic communication, (specifics, how to improve)

asked 2021-02-24 04:17:50 -0500

madamczyk gravatar image

Hi, I've got some general questions about topics in ROS1. Do you have any tips or tricks on how to tune Linux (Ubuntu 18.04) to act better with topics? I want to reduce message transport time as much as possible.

I know that I can use nodelets to have zero-copy time, but I am made use of nodes instead.

Best regards.

edit retag flag offensive close merge delete

Comments

It depends on your requirements IMHO, if you have some realtime requirements then adding RT-Linux patch would help along with realtime-tools pkg for publishing and on subscription side you could use an option like "TransportHints().tcpNoDelay" (API)

asusrog gravatar image asusrog  ( 2021-02-25 04:56:22 -0500 )edit