Ask Your Question
0

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
1

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

The NetworkSetup page has some good information on that.

edit flag offensive delete link more

Comments

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 imageJediHamster ( 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 imagerado0x54 ( 2011-06-23 07:01:13 -0500 )edit
2

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

Comments

Does the robot need to have a web server installed on it (apache, etc) ?
JediHamster gravatar imageJediHamster ( 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: http://answers.ros.org/question/705/set-the-initial-pose-with-rviz
mmwise gravatar imagemmwise ( 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 imageJediHamster ( 2011-06-21 21:24:03 -0500 )edit
can you rostopic echo the topics you want to see on the other computer?
mmwise gravatar imagemmwise ( 2011-06-23 18:10:12 -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

Stats

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

Seen: 6,574 times

Last updated: Jun 23 '11