UniversalRobots / Universal_Robots_ROS_Driver

Universal Robots ROS driver supporting CB3 and e-Series
Apache License 2.0
741 stars 398 forks source link

Adding extra axis control on the ROS driver #461

Closed akdhandy closed 1 year ago

akdhandy commented 3 years ago

Hello,

I'm trying to add a linear slider onto which my UR5e arm is attached in my lab. I am using this package with the UR5e robot arm in Ubuntu 18.04 + ROS melodic along with a ROS driver for the servo motor controlling the position of the slider. How should I go about passing on the 7DoF solution from MoveIt Planner onto the ur_driver since the driver could take only the 6DoF solution?

Currently we have the arm and the slider working separately through their respective ROS drivers.We have created a simulated environment in which the MoveIt! gave us the 7 DoF solution.I’m not sure how to proceed with these.Any guidance on this would be really helpful!

Thank you!

fmauch commented 2 years ago

For the MoveIt! part I cannot really help you, I'm afraid. However, as you seem to have gotten it running in simulation it seems that MoveIt! is not your problem.

I further assume that you are missing a trajectory action server controlling all 7 actuators?

If that is the case, you should probably create a custom hardware interface using a combined_robot_hw (See this example). The HardwareInterface class of this node should be prepared for getting integrated into a combined interface.

Once this is done, this should be usable together with MoveIt!

gavanderhoorn commented 2 years ago

Out of curiosity: has anyone implemented / experimented with @fmauch's suggestion?

Most (all?) external tracks available for URs seem to come with urcaps which can't guarantee / provide synchronised motion.

The CombinedRobotHW approach could potentially achieve it (although it won't be as good as a native implementation (ie: everything controlled by URControl)).

I'm curious to know whether anyone has tried this and what their experiences were.

aatb-ch commented 2 years ago

We are currently developing such thing, but are also at the same stage, we have a custom hardware interface for a servo drive controlling the track, and have been running trajectories separately by sending the UR and track to each's action servers with identical start times. It's definitely a temporary solution currently as for our use-case we must guarantee coordinated motion or risk severe crashes if one or the other stops during trajectory execution, so we are about to start writing a CombinedRobotHW for it.

Now that I get to think about it, we are also starting to integrate cartesian controllers for our UR10s, how would that behave alongside a CombinedRobotHW (just curious if you have any thoughts) ?

@akdhandy which servo manufacturer, drive, fieldbus, plc are you using?

Indeed all commercial 7-axis linear track solutions are not synchronised so useless for our use-case, we've actually suggested multiple times to UR that it would be fantastic to have native external axis support (track and rotary). We've recently had to use Elite robots for a temporary project in Shanghai (we had lot of reserves about it, basically customer forced us to use these), but were quite amused to see that they supported natively 2 external axises and VNC server out-of-the-box :)

Mohatashem commented 1 year ago

Hello,

Has anyone succeeded in adding a linear axis using CombinedRobotHW?

I have tried to add an external axis to the UR and need some help/suggestions from anyone who has succeeded. I’ve already written a ROS-Driver for the linear axis and am able to control it in ROS. After going through combined_robot_hw, and the example, I was able to implement ‘CombinedRobotHardware’ in a simple simulation joining two linear axes into a 2-DOF planar mechanism.

However, looking at how elaborate the driver’s main node and hardware_interface are, I was wondering how different would it be from the combo_control_node.cpp in the example implementation here?

Do we use the ‘hardware_interface` of the UR as is? Do we need to make changes? What do we need to consider?

I have had difficulty implementing the CombinedRobotHardware for a UR10e + external axis. On launching the bringup, the following error is thrown continuously:

[ERROR] [1671728447.435445624] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! <RTDE Data Pipeline>

My Setup:

What I have so far:

  1. What my terminal looks like:
    
    ... logging to /home/pp1744/.ros/log/2b6e739e-821a-11ed-8127-a0291986156e/roslaunch-pp1744-Precision-5550-3360.log

started roslaunch server http://localhost:41803/

SUMMARY

PARAMETERS

NODES / combined_hardware_interface (zerog_ur_robot_driver/combined_robot_driver_node) controller_spawner (controller_manager/spawner) robot_state_publisher (robot_state_publisher/robot_state_publisher) /combined_hardware_interface/ ur_robot_state_helper (zerog_ur_robot_driver/robot_state_helper)

auto-starting new master process[master]: started with pid [3374] ROS_MASTER_URI=http://localhost:11311/

setting /run_id to 2b6e739e-821a-11ed-8127-a0291986156e process[rosout-1]: started with pid [3397] started core service [/rosout] process[robot_state_publisher-2]: started with pid [3423] process[combined_hardware_interface-3]: started with pid [3426] process[controller_spawner-4]: started with pid [3427] process[combined_hardware_interface/ur_robot_state_helper-5]: started with pid [3437] [INFO] [1671728444.818037306] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: Main thread: SCHED_FIFO OK [INFO] [1671728444.818653894] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: Main thread priority is 99 [INFO] [1671728444.834660291] [/combined_hardware_interface/ur_robot_state_helper] [ros.roscpp]: waitForService: Service [/combined_hardware_interface/dashboard/play] has not been advertised, waiting... Socket created Connected [INFO] [1671728444.852787228] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: Initializing dashboard client [INFO] [1671728444.854995162] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Connected: Universal Robots Dashboard Server

[INFO] [1671728444.862712772] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: Initializing urdriver [INFO] [1671728444.864552008] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Producer thread: SCHED_FIFO OK [INFO] [1671728444.864571267] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Thread priority is 99 [INFO] [1671728445.143164] [/controller_spawner] [rosout]: Controller Spawner: Waiting for service controller_manager/load_controller [INFO] [1671728445.176909335] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Negotiated RTDE protocol version to 2. [INFO] [1671728445.177881484] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Setting up RTDE communication with frequency 502.7500 [INFO] [1671728446.196973440] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Checking if calibration data matches connected robot. [INFO] [1671728446.198286742] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Producer thread: SCHED_FIFO OK [INFO] [1671728446.198357941] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Thread priority is 99 [ERROR] [1671728447.264656979] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: The calibration parameters of the connected robot don't match the ones from the given kinematics config file. Please be aware that this can lead to critical inaccuracies of tcp positions. Use the ur_calibration tool to extract the correct calibration from the robot and pass that into the description. See [https://github.com/UniversalRobots/Universal_Robots_ROS_Driver#extract-calibration-information] for details. [INFO] [1671728447.280428887] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Producer thread: SCHED_FIFO OK [INFO] [1671728447.280460383] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Thread priority is 99 [INFO] [1671728447.281214183] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.hardware_interface]: Loaded ur_robot_driver hardware_interface

[INFO] [1671728447.296604497] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [INFO] [1671728447.297435891] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[INFO] [1671728447.307493440] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [INFO] [1671728447.317425539] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[INFO] [1671728447.327430067] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [INFO] [1671728447.338080817] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[INFO] [1671728447.348108559] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [INFO] [1671728447.358206795] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[INFO] [1671728447.368322238] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [INFO] [1671728447.378350409] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[INFO] [1671728447.388437557] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [INFO] [1671728447.398515456] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[INFO] [1671728447.408599424] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [INFO] [1671728447.418656212] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[ERROR] [1671728447.425451736] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.427423820] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.428743325] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [ERROR] [1671728447.431423571] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.433432297] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.435445624] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.437434066] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.438806328] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[ERROR] [1671728447.439436975] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.441439042] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.443434258] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.445435064] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.447432670] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.448897816] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [ERROR] [1671728447.448927159] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.453444352] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.455427077] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.457436353] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.458976966] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[ERROR] [1671728447.459016881] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.461432346] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.463442906] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.465264285] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.467477974] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.469061969] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [ERROR] [1671728447.469089489] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.473431215] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.475416762] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.477406772] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.479113214] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[ERROR] [1671728447.479159449] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.481446913] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.483451991] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.485458907] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.487439557] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.489196157] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [ERROR] [1671728447.489221699] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.493437543] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.495434465] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.497448299] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.499245398] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[ERROR] [1671728447.499286528] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.501434271] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.503438462] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.505443740] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.507448711] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.509336149] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [ERROR] [1671728447.509361990] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.513437031] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.515430525] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.517469965] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.519419536] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[ERROR] [1671728447.519456617] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.521429669] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.523424900] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.525430745] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.527418613] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.529420006] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [ERROR] [1671728447.529443612] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.533443549] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.535434821] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.537434674] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.539424480] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[ERROR] [1671728447.539462365] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.541434799] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.543430641] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.545435409] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.547428828] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.549439406] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [ERROR] [1671728447.549465355] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.553437149] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.555421836] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.557429569] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.559425181] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[ERROR] [1671728447.559461667] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.561431534] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.563412631] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.565433444] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.567469094] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.569444889] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [ERROR] [1671728447.569469183] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.569566] [/controller_spawner] [rosout]: Controller Spawner: Waiting for service controller_manager/switch_controller [INFO] [1671728447.571287] [/controller_spawner] [rosout]: Controller Spawner: Waiting for service controller_manager/unload_controller [INFO] [1671728447.572743] [/controller_spawner] [rosout]: Loading controller: /ur_driver/controller/cr_joint_state [ERROR] [1671728447.573443053] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.575450489] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.577453125] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.579415897] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[ERROR] [1671728447.579455364] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.581428898] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.583433985] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.585448132] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.587426332] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.589439241] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [ERROR] [1671728447.589465271] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.589843] [/controller_spawner] [rosout]: Loading controller: /ur_driver/controller/ceiling_robot_joint_state [ERROR] [1671728447.593438373] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.595425214] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.597435142] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.599410730] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[ERROR] [1671728447.599456789] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.601429685] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.603439250] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.605477136] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.607478191] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.609439846] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.610095536] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr pos: 2.750 [INFO] [1671728447.610531] [/controller_spawner] [rosout]: Loading controller: /ur_driver/controller/combined_trajectory_controller [ERROR] [1671728447.613442174] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.615448773] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.617477105] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.619444887] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728447.620154999] [/combined_hardware_interface] [ros.zerog_ur_robot_driver]: current cr command: 2.750

[ERROR] [1671728447.621433068] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.623435916] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.625435008] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [ERROR] [1671728447.627430525] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed!

[combined_hardware_interface/ur_robot_state_helper-5] killing on exit [controller_spawner-4] killing on exit [combined_hardware_interface-3] killing on exit [robot_state_publisher-2] killing on exit Interrupt signal (2) received. [INFO] [1671728448.872643] [/controller_spawner] [rosout]: Shutting down spawner. Stopping and unloading controllers... [ERROR] [1671728448.873468230] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [INFO] [1671728448.874079] [/controller_spawner] [rosout]: Stopping all controllers... [ERROR] [1671728448.875451737] [/combined_hardware_interface] [ros.zerog_ur_robot_driver.ur_client_library]: Pipeline producer overflowed! [WARN] [1671728448.970769] [/controller_spawner] [rosout]: Controller Spawner error while taking down controllers: transport error completing service call: unable to receive data from sender, check sender's logs for details [rosout-1] killing on exit [master] killing on exit shutting down processing monitor... ... shutting down processing monitor complete done



2. I am able to load the combined controller for both the robot and the linear axis.
![rqt_trajectory_controller](https://user-images.githubusercontent.com/40743268/209245277-75d9396c-9530-47e5-ae0f-1b7c26a7d530.png)

3. Here is my rqt_graph:
![rqt_graph](https://user-images.githubusercontent.com/40743268/209245304-a2b47496-7225-419d-aefb-6532178340ce.PNG)

4. And here is the robot behaviour (apologies for the vertical filming):

https://user-images.githubusercontent.com/40743268/209245347-8b721bf0-b2a4-490d-92f1-f9c15fa20bbf.mp4

In the video, I was playing with the `rqt_joint_trajectory_controller`. The arm shakes when I try to move a joint on the arm (In another trial, I was able to move the `wrist_3_joint` to a desired position but it kept shaking). The rail joint, however, moves smoothly to the desired position.

# What I’ve done so far:

I created a separate package as shown in the example for `CombinedRobotHW`. I’ve used the `hardware_interface.cpp` along with other files from the `ur_robot_driver` package, required to run the robot successfully. Once I was sure that my package worked fine, and I could control both pieces of hardware from within this package. I proceeded to work towards a combined implementation. I am willing to share the main node of the code if it can help solve the problem.

Any suggestion/nudge in the right direction is appreciated.
Thank you
github-actions[bot] commented 1 year ago

This issue has not been updated for a long time. If no further updates are added, this will be closed automatically. Comment on the issue to prevent automatic closing.

github-actions[bot] commented 1 year ago

This issue has been closed due to inactivity. Feel free to comment or reopen if this is still relevant.