Dear all,
I am running a ROS master on a first PC with a Universal Robot in it. In a second PC I'd just like to see the visualization with Rviz. After exporting the IP address of the master using
export ROS_MASTER_URI=myipadress
The second PC connects to the first one, but I am having trouble to see the robot in the second PC. After adding the robot model in second PC I just get errors in the robot model. It is just shown in a weird position and is coloured white.
Link to screenshot
Sorry for the screenshot picture with my phone, but the PC is right now not connected to the internet anymore, so I couldn't post from there. Image upload native here in ROS answers is not yet available for me. Sorry again.
Did I forget an important step before connectiong or what went wrong here?
Edit/Update:
ROSLISP_PACKAGE_DIRECTORIES=""
ROS_DISTRO="indigo"
ROS_ETC_DIR="/opt/ros/indigo/etc/ros"
ROS_MASTER_URI="160.69.69.100"
ROS_PACKAGE_PATH="/opt/ros/indigo/share:/opt/ros/indigo/stacks"
ROS_ROOT="/opt/ros/indigo/share/ros"
Originally posted by matl on ROS Answers with karma: 13 on 2017-09-08
Post score: 0
Original comments
Comment by gvdhoorn on 2017-09-09:
@matl: please attach the screenshot to your question directly. I've given you enough karma for that.
Comment by gvdhoorn on 2017-09-09:
Please update your question with the values of ROS_IP
, ROS_HOSTNAME
and ROS_MASTER_URI
for each of the involved computers. A simple diagram showing your network layout and configuration would also help.
Most likely you don't have a working DNS, and should set ROS_IP
on all hosts.
Comment by gvdhoorn on 2017-09-10:
Without the other requested information we cannot help you.
Comment by Marq on 2017-09-11:
My best guess is that the second machine does not know where to look for the models of the robot you are trying to load.
On the second PC do you have the Universal Robot package installed or are you using it from source?
Comment by gvdhoorn on 2017-09-11:
The second machine can't subscribe to the /tf
topic properly, that is most likely the problem. The 'white' meshes and 'bunched up' view are typical symptoms of that. that's why there is a request for the ROS_IP
, ROS_HOSTNAME
and ROS_MASTER_URI
on all involved hosts.
Comment by matl on 2017-09-14:
I updated the values above