URDF Error: No valid hardware interface element found in joint [closed]

asked 2016-08-26 02:36:06 -0500

LukeT gravatar image

Dear all,

I am fairly new to ROS and Gazebo.

I am using ros-kinetic and gazebo7.3 on Ubuntu 16.04. I have been following this tutorial ( http://www.generationrobots.com/blog/.. .) and have adapted it slightly for my own vehicle (4 wheels instead of 2, skid drive plugin instead of diff drive).

I receive errors when running roslaunch on my own project, and I get the same errors when using the same command on the project provided at the above link. I assume that means that I am missing something in ros or Gazebo.


roslaunch jaguar4x4_gazebo jaguar4x4_world.launch

gives the following errors (repeated for each joint and trans):

[ERROR] [1472045218.311147687, 0.142000000]: No valid hardware interface element found in joint 'left_back_wheel_hinge'.

[ERROR] [1472045218.311359894, 0.142000000]: Failed to load joints for transmission 'left_back_trans'.


[ERROR] [1472045218.646822285, 0.365000000]: Exception thrown while initializing controller leftfrontWheel_effort_controller. Could not find resource 'left_front_wheel_hinge' in 'hardware_interface::EffortJointInterface'. [ERROR] [WallTime: 1472045219.647578] [1.363000] Failed to load leftfrontWheel_effort_controller [INFO] [WallTime: 1472045219.647938] [1.363000] Loading controller: leftbackwheel_effort_controller [ERROR] [WallTime: 1472045220.651591] [2.366000] Failed to load leftbackwheel_effort_controller

This error is repeated for each of the 4 wheels.

I have seen similar error messages posted on this site, the solutions don’t seem to fix mine.

(1). http://answers.gazebosim.org/question...

I already use the hardwareInterface tags

(2). I have already installed ros_control

edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: http://answers.gazebosim.org by 130s
close date 2016-09-12 14:05:39.143968


Closing since it seems Gazebo issue, not ROS. Please ask on its forum.

130s gravatar image 130s  ( 2016-09-12 14:05:28 -0500 )edit

Also you seem to ask on robotics.stackexchange.com too.

130s gravatar image 130s  ( 2016-09-12 14:08:41 -0500 )edit

ROS/Gazebo users may not actively watch that site and I think answers.ros.org and answers.gazebo.org are the BEST places for each framework specific question -- you get more response in general, and these are where newer users search.

130s gravatar image 130s  ( 2016-09-12 14:08:56 -0500 )edit

@130s Sorry, I thought URDF was more of a ROS issue. I posted on robotics.stackexchange.com because it seems to get more views.

LukeT gravatar image LukeT  ( 2016-09-13 02:44:09 -0500 )edit

No problem, it's not as simple :) I still think it's the best appropriate to be asked on Gazebo forum since Gazebo supports URDF too and it's the site the most knowledgeable people for Gazebo keep watching.

130s gravatar image 130s  ( 2016-09-13 05:32:31 -0500 )edit