Universal_Robots_ROS_Driver icon indicating copy to clipboard operation
Universal_Robots_ROS_Driver copied to clipboard

Unable to use effort controllers on the real robot

Open AbdulMughniKUCAR opened this issue 2 years ago • 1 comments

I'm facing this error when trying to run my controllers on the real robot, They work in gazebo by the way.

[ERROR] [1686577035.355803649]: This controller requires a hardware interface of type 'hardware_interface::EffortJointInterface'. Make sure this is registered in the hardware_interface::RobotHW class.

AbdulMughniKUCAR avatar Jun 12 '23 13:06 AbdulMughniKUCAR

Hi @AbdulMughniKUCAR,

I'm not sure the UR robot supports this kind of controller; when you look at the hardware interface code, I think this driver only accepts position or velocity commands.

That being said, your error probably comes from the fact that the default hardware interface in the robot's description file is a PositionJointInterface, but your controller expects an EffortJointInterface.

Disclaimer: I might be wrong, I'm just another user who spent some time looking into similar problems.

cedricgoubard avatar Jun 13 '23 13:06 cedricgoubard