Open Payday02 opened 1 week ago
Running the driver in a VM can significantly slow down things / increase delays. I'm not saying, it is not possible to get this somehow reliable, but I expect that this would need some tweaking. It will also be very important how the network adapter is routed to the VM. If possible, I would suggest making the physical NIC available in the VM to reduce possible delays at this stage.
Affected ROS2 Driver version(s)
humble
Used ROS distribution.
Humble
Which combination of platform is the ROS driver running on.
Linux in a virtual machine
How is the UR ROS2 Driver installed.
Build the driver from source and using the UR Client Library from binary
Which robot platform is the driver connected to.
UR E-series robot
Robot SW / URSim version(s)
latest
How is the ROS driver used.
Through the robot teach pendant using External Control URCap
Issue details
Summary
Though I can ping my robot at the IP address I specify, the ros drivers are unable to correctly read the stream from the robot and therefore will not let me send movement commands from moveit2.
Issue details
My UR3e is connected to the computer through a ethernet to usb-c dongle, which is then routed into my VM running ubuntu 22.04. I am able to launch the drivers with URSim and successfully plan movements with moveit2, but run into this issue when I try to connect the drivers with my physical arm. I have tested and I am able to ping the arm at various IPs set in the teach pendant though the robot always says it is Not connected to network even though the static address settings work. I have ensured that all utilized ports are not in use by anything else and moveit is receiving robot position data so some communication is happening. I am also able to see the ready to receive commands message when I start the URCap external control program on the teach pendant but it throws the following when I try to then send a command:
Steps to Reproduce
Connect robot to computer as described above
ros2 launch ur_robot_driver ur_control.launch.py ur_type:=ur3e robot_ip:=192.168.100.101 launch_rviz:=false
Expected Behavior
Normal driver activation
Actual Behavior
Failed to read from stream, reconnecting in X seconds... messages as seen in log output
Relevant log output
Accept Public visibility