Patrick,<div><br></div><div>You may also need to take a look at <a href="http://www.ros.org/wiki/ROS/EnvironmentVariables#Node_Environment_Variables">http://www.ros.org/wiki/ROS/EnvironmentVariables#Node_Environment_Variables</a></div>
<div><br></div><div>I routinely use the method given by Cedric, but I also have to set ROS_IP and ROS_HOSTNAME because the robot's private network doesn't have DNS configured and, therefore, ROS is unable to resolve any hostnames.</div>
<div><br></div><div>An example setup (robot is assumed to be 192.168.0.150 and remote rviz computer is 192.168.0.201). Both of these sets of variables would need set before roscore, roslaunch and/or rosrun is run on any computer and in all terminals used to start ROS nodes. You don't need to start up a roscore on the remote computer before running rviz. The commands:</div>
<div>On robot:</div><div><ol><li>`export ROS_IP=192.168.0.150`</li><li>`export ROS_HOSTNAME=192.168.0.150`</li><li>`export ROS_MASTER_URI=http://192.168.0.150:11311`</li></ol>On rviz computer:</div><div><ol><li>`export ROS_IP=192.168.0.201`</li>
<li>`export ROS_HOSTNAME=192.168.0.201`</li><li>`export ROS_MASTER_URI=http://192.168.0.150:11311`</li></ol><div>Once completed, you can check that everything is working by first doing `rostopic list` and, if there is output there, `rostopic echo /topic_name` of some topic that is available and should have data (your laser scanner or odometry source are probably good candidates). If you see data output by rostopic echo, everything should be working well. Then just fire up rviz and enjoy your nice, fast framerates. This is a good method for all the ROS visualization tools like rxconsole or rxgraph. Just keep in mind that wireless G may not be all that fast - for example, things will still look laggy if you try to view an uncompressed camera topic or other large message over the wireless link.</div>
<div><br></div><div>- Eric</div><div><br></div></div><div><div><br><div class="gmail_quote">On Sat, Nov 6, 2010 at 12:51 PM, Cedric Pradalier <span dir="ltr"><<a href="mailto:cedric.pradalier@mavt.ethz.ch">cedric.pradalier@mavt.ethz.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
You might want to look at the following page:<br>
<a href="http://www.ros.org/wiki/ROS/Technical%20Overview" target="_blank">http://www.ros.org/wiki/ROS/Technical%20Overview</a><br>
<br>
ROS is designed to be running on multiple platforms. Just set the<br>
ROS_MASTER_URI variable to point to your robot, and rviz will be able to<br>
access all the topics.<br>
<br>
Best,<br>
<div><div></div><div class="h5"><br>
On 11/06/10 16:12, Patrick Goebel wrote:<br>
> Hello,<br>
><br>
> I am running ROS (latest cturtle) on my robot using an onboard 1.6 Ghz<br>
> dual-core Zotac ION-ITX with 4Gb RAM.  This setup is fairly snappy when<br>
> I view RViz through a monitor directly attached to the robot<br>
> motherboard.  However, I'd like to run the Zotac/robot headless and view<br>
> RViz on my desktop.  The robot connects to my local LAN via 802.11g and<br>
> my desktop is hardwired at 100 Mb/s. These are the only two machines on<br>
> the network and I am running the basic navigation stack with a Hokuyo<br>
> laser scanner.<br>
><br>
> The best result I've gotten so far is using a VNC connection from my<br>
> desktop to the robot.  However, updates in RViz are quite sluggish (2-3<br>
> seconds delay).  The second best is to use "ssh -X" from the desktop to<br>
> the robot and display RViz back to the desktop.  This is really, really<br>
> sluggish (3-5 seconds delay).<br>
><br>
> Is there a better way to view the robot data in RViz?<br>
><br>
> Thanks!<br>
> Patrick Goebel<br>
> Behavioral Sciences<br>
> Stanford University<br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
<br>
</div></div><font color="#888888">--<br>
Dr. Cedric Pradalier<br>
<a href="http://www.asl.ethz.ch/people/cedricp" target="_blank">http://www.asl.ethz.ch/people/cedricp</a><br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br></div></div>