URDF Error: No valid hardware interface element found in joint
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.
Running:
roslaunch jaguar4x4gazebo jaguar4x4world.launch
gives the following errors (repeated for each joint and trans):
[ERROR] [1472045218.311147687, 0.142000000]: No valid hardware interface element found in joint 'leftbackwheel_hinge'.
[ERROR] [1472045218.311359894, 0.142000000]: Failed to load joints for transmission 'leftbacktrans'.
Also:
[ERROR] [1472045218.646822285, 0.365000000]: Exception thrown while initializing controller leftfrontWheeleffortcontroller. Could not find resource 'leftfrontwheelhinge' in 'hardwareinterface::EffortJointInterface'. [ERROR] [WallTime: 1472045219.647578] [1.363000] Failed to load leftfrontWheeleffortcontroller [INFO] [WallTime: 1472045219.647938] [1.363000] Loading controller: leftbackwheeleffortcontroller [ERROR] [WallTime: 1472045220.651591] [2.366000] Failed to load leftbackwheeleffortcontroller
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.
I already use the hardwareInterface tags
(2). I have already installed ros_control
Asked by LukeT on 2016-08-26 02:36:06 UTC
Comments
Closing since it seems Gazebo issue, not ROS. Please ask on its forum.
Asked by 130s on 2016-09-12 14:05:28 UTC
Also you seem to ask on robotics.stackexchange.com too.
Asked by 130s on 2016-09-12 14:08:41 UTC
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.
Asked by 130s on 2016-09-12 14:08:56 UTC
@130s Sorry, I thought URDF was more of a ROS issue. I posted on robotics.stackexchange.com because it seems to get more views.
Asked by LukeT on 2016-09-13 02:44:09 UTC
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.
Asked by 130s on 2016-09-13 05:32:31 UTC