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

Revision history [back]

click to hide/show revision 1
initial version

Ok, the reason was pretty obvious. The publisher is located on one machine, and the subscriber (Rviz or Plotjugger or ant other) is located on another remote machine connected through local Wif-Fi network. I expect that the publisher was waiting for a callback from the subscriber, and since the network was slow to pass a message, the publisher was getting slowed down. It actually was confirmed by sending a smaller message in size, which accelerated the publisher.

It was confusing because I didn't close the Rviz on the remote machine when I was testing if local Rviz slowed down the process. And I thought the error message somehow was affecting the speed, but it didn't.

Here's the related question: ros2-image-publisher-slows-down-on-subscription

The question which remains open yet, wtf is this error message about?:) But it's another topic.

Ok, the reason was pretty obvious. The publisher is located on one machine, and the subscriber (Rviz or Plotjugger or ant any other) is located on another remote machine connected through local Wif-Fi network. I expect that the publisher was waiting for a callback from the subscriber, and since the network was slow to pass a message, the publisher was getting slowed down. It actually was confirmed by sending a smaller message in size, which accelerated the publisher.

It was confusing because I didn't close the Rviz on the remote machine when I was testing if local Rviz slowed down the process. And I thought the error message somehow was affecting the speed, but it didn't.

Here's the related question: ros2-image-publisher-slows-down-on-subscription

The question which remains open yet, wtf is this error message about?:) But it's another topic.