Closed lcbw closed 1 month ago
Hi there, thanks for reaching out! If you could change your linked example to be a usable minimal working example this would greatly help in debugging this from our side.
Looking at your log output I can see
[ros2_control_node-1] [FATAL] [1726174534.067706847] [URPositionHardwareInterface]: Variable 'speed_slider_mask' is currently controlled by another RTDE client. The input recipe can't be used as configured
[ros2_control_node-1] [INFO] [1726174534.067756095] [resource_manager]: Failed to 'configure' hardware 'ur10e'
Since the ur10e (robot1) doesn't come up, its interfaces aren't available, hence the controller cannot get activated.
Could you try fixing the ur10e startup and see if that helps?
Hi there, thank you for your prompt response!
I have just updated https://github.com/lcbw/dual_arm_test/tree/main to be build and tested more easily.
I have checked both the UR10e and the UR5e and both of them have always had the ethernet/ip adapter disabled. Did I misunderstand your recommendation for a solution?
I'm going to close this issue in favor of opening two separate issues that are more focused on the multiple issues I've encountered. Issue - #1111 and #11XX
Affected ROS2 Driver version(s)
Humble
Used ROS distribution.
Humble
Which combination of platform is the ROS driver running on.
Ubuntu Linux with realtime patch
How is the UR ROS2 Driver installed.
From binary packets
Which robot platform is the driver connected to.
UR E-series robot
Robot SW / URSim version(s)
UR5e Polyscope 5.15, UR10e Polyscope 5.11
How is the ROS driver used.
Through the robot teach pendant using External Control URCap
Issue details
Summary
We are attempting to control a UR5e and a UR10e simultaneously with a singular description file and a singular controller manager through the external control URCap, which has been installed on each teach pendant. When launching a file that includes the description and port connection information for both robots, not all of the controllers start up, hardware interfaces for the first robot (UR10e) are labelled as [unavailable] [unclaimed], and only the second robot (UR5e) appears in Rviz.
Issue details
Each of the robots can be controlled separately to execute a simple trajectory using a joint_trajectory_controller with the same launch file and xacro, with the 'single_arm' argument set to true. On the teach pendant, each robot has the external control urcap ver. 1.0.5 installed and takes commands from ROS in remote mode. The robots IP addresses and port numbers are different and are constant throughout testing each robot individually and together.
However, when my launch file (included below in repeat instructions) is ran the robots do not follow the trajectory provided and the following behaviors also occur:
Steps to Reproduce
Please see the controllers.yaml, xacro, and launch files here: https://github.com/lcbw/dual_arm_test
Then, having installed the UR driver, controllers and ROS2 humble from debians and confirming successful control of each robot using the External Control URCap, run the launch file.
Only the joint_state_broadcaster should activate, and nothing should move.
Expected Behavior
I expected all controllers to configure, load, and activate and for the robots to follow the trajectory provided.
Actual Behavior
Only the joint_state_broadcaster should activate, nothing should move, and only the UR5e should be visible in RVIZ, and it will not move.
Workaround Suggestion
If a workaround has been found, you are welcome to share it. I have not found a workaround and would appreciate any insight anyone has on this end. Thank you!
Relevant log output
Accept Public visibility