UniversalRobots / Universal_Robots_ROS_Driver

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

UR10e robot vibrates and makes noise during teleoperation via Twist Controller #693

Open shrutichakraborty opened 7 months ago

shrutichakraborty commented 7 months ago

Hello all, I am using a UR10e robot with ros1 noetic, I have installed the drivers for the robot and I am teleoperating the robot by sending twist commands through the ros_controllers_cartesian/TwistController. However, the robot vibrates a lot and makes noise. I have tried the same with a UR10 robot to verify the source of this issue and the UR10 robot does not make any noise or vibrate, rather it smoothly follows the teleop. Could anyone point to what the issue could be?

One of the sources could be an issue in the controller parameters (gain values of the PID), but on the ur10e_controllers.yaml file there are no PID parameters specified. If anyone could provide a background on how the twist controller works that would be great. For instance does it have an integrator within to send position commands to the robot?Also, where could I find the tuneable parameters for the twist_controller?

Thanks!

RobertWilbrandt commented 7 months ago

I'll try reproducing this on our UR10e within the next days.

You can find informations on the twist controller here. The controller basically only forwards the twist to the hardware interface, which sends the command to the hardware. All control is performed on the robot itself, so i find it surprising that there are instabilities. The only parameter is defined here and should be tunable through dynamic reconfigure.

shrutichakraborty commented 7 months ago

I'll try reproducing this on our UR10e within the next days.

You can find informations on the twist controller here. The controller basically only forwards the twist to the hardware interface, which sends the command to the hardware. All control is performed on the robot itself, so i find it surprising that there are instabilities. The only parameter is defined here and should be tunable through dynamic reconfigure.

Hi @RobertWilbrandt, thanks a lot! It would be great if you could test the same. I have noticed on my setup on bth ur10 and ur10e, only default joint values are specified and no twist gain is explicitly mentioned. The twist gain from the link seems to be a multiplicative constant. What is the purpose of multiplying the input twist with this gain and what effect does it have physically on the system?

I have also tested a second ur10e robot and it too makes noise and vibrates, so it seems to me to be an issue on the twist controller of ur10e robots? Has anyone else experienced the same?

Hytac commented 7 months ago

Same issue here with ur10e and ros2 humble.