Difference between revisions of "Visualizing performance of robot connected via SSH in Rviz on master device"

From youBot wiki
Jump to: navigation, search
 
Line 1: Line 1:
To visualize the robot controlled by other machine you have to change the ROS_MASTER_URI variable, it have to point to other computer.  
+
To visualize the performance of the robot controlled by internal PC on remote computer you have to change the ROS_MASTER_URI variable, it have to point to other computer.  
It can be done by typing in terminal:
+
 
 +
First you have to set the ROS_IP on both computers
 +
 
 +
<pre> export ROS_IP=`hostname -I` </pre>
 +
 
 +
Then you should set ROS_MASTER_URI on the computer with Rviz:
  
 
<pre>export ROS_MASTER_URI=http://youbot:11311</pre>
 
<pre>export ROS_MASTER_URI=http://youbot:11311</pre>

Latest revision as of 17:09, 19 February 2015

To visualize the performance of the robot controlled by internal PC on remote computer you have to change the ROS_MASTER_URI variable, it have to point to other computer.

First you have to set the ROS_IP on both computers

 export ROS_IP=`hostname -I` 

Then you should set ROS_MASTER_URI on the computer with Rviz:

export ROS_MASTER_URI=http://youbot:11311

Now when you run Rviz it will visualize the state of the robot connected via SSH.


Go back to Technical Support Software

Corrections, suggestions, and new documentation should be posted to the Forum.