Closed yanjunyangmonash closed 3 years ago
You should be able to ping the YuMi from your ubuntu virtual machine. If that's not the case, there's something wrong with your network setup.
At first sight, I believe the robot_ip
you specified is not the IP address of the robot.
You can find the YuMi IP address by looking in the menus on the TeachPendant.
A link that might help is the following: https://github.com/kth-ros-pkg/yumi/wiki/Network-setup
Thanks for your reply. Do you mean the IP address shown here? But this cannot be connected
Yes that's what I mean. Why do you think it cannot be connected?
When I used ping 192.168.125.1
, I have this
When I used this IP to launch the example, it gave the error
[ WARN] [1614094475.928211959]: Failed to establish RWS connection to the robot controller (attempt 1/5), reason: 'Failed to collect general system info'
[ WARN] [1614094475.930099608]: Failed to establish RWS connection to the robot controller (attempt 1/5), reason: 'Failed to collect general system info'
[ WARN] [1614094478.931692261]: Failed to establish RWS connection to the robot controller (attempt 2/5), reason: 'Failed to collect general system info'
[ WARN] [1614094478.934344559]: Failed to establish RWS connection to the robot controller (attempt 2/5), reason: 'Failed to collect general system info'
[ WARN] [1614094481.937202967]: Failed to establish RWS connection to the robot controller (attempt 3/5), reason: 'Failed to collect general system info'
[ WARN] [1614094481.938101305]: Failed to establish RWS connection to the robot controller (attempt 3/5), reason: 'Failed to collect general system info'
You can always try to fiddle with your VM network settings by e.g. going to Devices > Network > Network settings and choose a Bridged Adapter instead of NAT. I'm not an expert in VM networking so I don't know what the implications are of doing this, but it's another path that might result in a solution for you.
Hi @robberthofmanfm, you are correct. I changed the network settings and also did something else to make it work
Seeing as you opened #15, I believe we can close this one.
I tried to build the connection between ROS and Robotstudio using a PC running Robotstudio and a virtual machine running Ubuntu18.04+ROS melodic
When I reproduced example 3, I met the same problem described in https://github.com/ros-industrial/abb_robot_driver/issues/13
Below are the commands sequence I used to run the example
ipconfig
, but didn't make it staticsudo ifconfig ens33 192.168.125.50
ping 192.168.0.55
192.168.125.50
roslaunch abb_robot_bringup_examples ex3_rws_and_egm_yumi_robot.launch robot_ip:=192.168.0.55
When I execute the command
rosservice call /yumi/rws/sm_addin/start_egm_joint "{}"
The output gave the errorNo data from the UdpUc device
.Is there anyone could give me some hints or instructions?