Unable to subscribe to a topic on a different computer
My Ros sytem has 3 computers. One is the server and the other two are robots. All computers have static IPs assigned and are inside same network. I have a script on the server side running to publish a String message on the topic /gripper
. I am able to echo the messages on that topic on my server.
On my two robot i can list the topic with rostopic list
but when i do rostopic echo /gripper
nothing is is logged. If i publish a message on the topic inside the robot terminal, i can see the message on both machines (server and robots).
Why i cannot see the messages published on the ROSCORE machines on my other two robots.
On the Server side i have:
- X86-64 system architecture
- ROS Noetic installed on a Ubuntu 20.04 LTS
- export ROS_IP=192.168.1.150 (on .bashrc)
- export ROS_MASTER_URI=http://192.168.1.150:11311 (on .bashrc)
On Robot 1 i have:
- aarch64 system archtecture (Raspberry PI4)
- ROS melodic installed on a Ubuntu 18.04
- export ROS_IP=192.168.1.170 (on .bashrc)
- export ROS_MASTER_URI=http://192.168.1.150:11311 (on .bashrc)
On Robot 2 i have:
- aarch64 system archtecture (Raspberry PI4)
- ROS melodic installed on a Ubuntu 18.04
- export ROS_IP=192.168.1.180 (on .bashrc)
- export ROS_MASTER_URI=http://192.168.1.150:11311 (on .bashrc)
Please edit your description and provide a url to show us the tutorial you followed to set up this multi-host network. You edit using the "edit" button near the end of the description.
Have you tried to look at the set-up in RQT_Graph?. Often I find, it will clarify if something is "not published" or simply not seen / recognized. rosrun rqt_graph rqt_graph Can you post image of the above
no tutorial has been used, the rqt-graph is available on the url link. https://drive.google.com/file/d/1rkjr...