Ros node not subscribing to other computer
I'm running an application on two computers. The ROS_MASTER_URI on both is set to the master, and each ROS_HOSTNAME is set to itself. A node on the master computer subscribes to a topic /CmdController, which multiple nodes publish. However the node will only receive messages sent from other nodes on the master. When running 'rostopic echo /CmdController' on the master the computer it will print the messages sent from the other computer. Also rxgraph, run on the master, will show the nodes run on the other computer publishing /CmdController to the node running 'rostopic echo.' However, the actual connection between the one particular node on the master and any node run on the other computer is not formed. Any idea what would be causing this connection to not be formed?
Don't have enough karma to comment on your answer. But yes, master and slave can ping eachother using either hostname or IP. I just tried setting ROS_IP instead and it looks like that fixed it anyway though. Thanks for the help!