fkie / multimaster_fkie

ROS stack with FKIE packages for multi-robot (discovering, synchronizing and management GUI)
BSD 3-Clause "New" or "Revised" License
267 stars 107 forks source link

Rostopic hz show no messages. #168

Closed OoooL19 closed 2 years ago

OoooL19 commented 2 years ago

Hi after I ran the launch file, I can see the rostopic list but the rostopic list shows no messages. I have checked all the ros_master and ros_ip. I am not sure what cause the problem. image

atiderko commented 2 years ago

Hi

the hostname cpr-a200-0630 can not be resolved on the machine you show the screenshot. The master_sync register the all the topics, but ROS can't establish a connection between publisher and subscriber because he can't resolve the hostname.

You have two options:

  1. add cpr-a200-0630 to /etc/hosts or
  2. set ROS_IP on cpr-a200-0630 before launch ros stuff
OoooL19 commented 2 years ago

Hi

the hostname cpr-a200-0630 can not be resolved on the machine you show the screenshot. The master_sync register the all the topics, but ROS can't establish a connection between publisher and subscriber because he can't resolve the hostname.

You have two options:

  1. add cpr-a200-0630 to /etc/hosts or
  2. set ROS_IP on cpr-a200-0630 before launch ros stuff

I think it works now. Thank you for your help.