Rviz is not launching from roscore running in another computer
I need to publish and subscribe between two computers, so I am running roscore from one host and exporting that host in the terminal from another computer, however, when try to launch Rviz using a launch file or try rosrun rviz rviz, it does not launch and give the following error:
Could not contact Ros Master at http: the_hostname_running_roscore
However, other files are being able to connect to that hose by exporting the host.
Please help.
Is the ROS_HOSTNAME ip the same as the ROS_MASTER_URI ip on the computer running roscore? And on the other computer is the ROS_MASTER_URI ip the same as the computer running roscore while the ROS_HOSTNAME on that second computer is it's own ip?
That was my most common error when I was getting started until I wrote a script to figure that all out for me.