Bringing up a node through roslaunch from a remote machine and through local roslaunch gives different publishing rates

asked 2016-09-28 12:54:40 -0500

prarobo gravatar image

updated 2016-09-28 14:30:43 -0500

I have two machines A and B. I want to start node N on machine B. Node N publishes topic T.

case 1: Use launch file in machine A to remotely launch node N on machine B. case 2: Ssh in to machine B and launch node N on machine B locally.

I assumed both these cases were identical with regards to the ROS system. However I am seeing significant differences and I would like some help understanding them.

When I do a rostopic hz on topic T, I see different results between case 1 and case 2

case 1: 6 hz on B, 5 hz on A
case 2: 14 hz on B, 13 hz on A

I understand that small variations between rostopic hz numbers between machines A and B could be due to my network loads. I don't understand the big drop in hz values between case 1 and case 2.

Any help would be great. Thanks.

edit retag flag offensive close merge delete


I am experiencing the same case. Was there any insight with regards to this? I'm thinking of automating my launching script through ssh bash scripts instead if no solution is found.

sacco22 gravatar image sacco22  ( 2019-10-02 09:52:29 -0500 )edit