ROS communication works only in one direction
Hi,
I'm using ROS Kinetic and I have a strange issue.
I want to run one node in a Docker container on my pc and one node on a RaspberryPi. The problem is that if I publish messages from the pc, no message is received on the Raspberry. Interestingly if I publish from the Raspberry I receive messages on the pc.
I tried to run the ROS master both on the pc as well as on the Raspberry.
In the .bashrc
file of both devices I have the following lines
export ROS_MASTER_URI=http://masterhost:11311
export ROS_HOSTNAME=localhost
Where localhost
is the ip address of the specific device and masterhost
is equal to the localhost of the device running the master.
Do you know why this could happen?