Ask Your Question

How to run Rviz remotely

asked 2011-06-21 04:32:18 -0500

I assume that it's possible run run Rviz on a machine other than the one running the robot. If so, how to I set the master address (the IP address of the robot) which Rviz should be subscribing to ?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2011-06-23 00:40:49 -0500

The NetworkSetup page has some good information on that.

edit flag offensive delete link more


Awesome. Setting ROS_IP and ROS_HOSTNAME on the remote computer fixed the problem. I notice that setting the 2D Pose Estimate using Rviz no longer works though.
JediHamster gravatar image JediHamster  ( 2011-06-23 02:50:32 -0500 )edit
You should only set one. ROS_IP and ROS_HOSTNAME are optional environment variable that sets the declared network address of a ROS Node or tool. The options are mutually exclusive
rado0x54 gravatar image rado0x54  ( 2011-06-23 07:01:13 -0500 )edit

answered 2011-06-21 04:39:44 -0500

arebgun gravatar image

You need to set the ROS_MASTER_URI environment variable, see this page for details.

edit flag offensive delete link more


Does the robot need to have a web server installed on it (apache, etc) ?
JediHamster gravatar image JediHamster  ( 2011-06-21 08:25:59 -0500 )edit
you just need to be able to ping between the machines. you might also need to set the ROS_IP of the robot. Additionally you will need to sync the two machines or else you will have this problem:
mmwise gravatar image mmwise  ( 2011-06-21 09:13:22 -0500 )edit
A can connect, but it seems that no data is being broadcast from the robot ("No messages received"). Is there anything I need to do with the parameter files to enable broadcasting of the map, for example?
JediHamster gravatar image JediHamster  ( 2011-06-21 21:24:03 -0500 )edit
can you rostopic echo the topics you want to see on the other computer?
mmwise gravatar image mmwise  ( 2011-06-23 18:10:12 -0500 )edit

got the same issues, ping works, but they cannot see eachother's topic/services

phil123456 gravatar image phil123456  ( 2020-02-09 05:14:38 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-06-21 04:32:18 -0500

Seen: 10,721 times

Last updated: Jun 23 '11