Gazebo | Ignition | Community
Ask Your Question

LukeT's profile - activity

2018-11-21 13:35:52 -0500 received badge  Famous Question (source)
2018-11-21 13:35:52 -0500 received badge  Notable Question (source)
2018-11-07 08:11:31 -0500 received badge  Popular Question (source)
2018-11-01 10:13:37 -0500 edited question How to set friction model to cone_model in SDF

How to set friction model to cone_model in SDF Hi, My skid steer robot is slipping when it hits 90 degrees, I understan

2018-11-01 10:12:48 -0500 asked a question How to set friction model to cone_model in SDF

How to set friction model to cone_model in SDF Hi, My skid steer robot is slipping when it hits 90 degrees, I understan

2018-03-13 03:03:10 -0500 received badge  Famous Question (source)
2018-03-02 12:14:48 -0500 received badge  Notable Question (source)
2018-03-02 07:29:46 -0500 received badge  Popular Question (source)
2018-03-01 04:37:43 -0500 edited question Fix Gazebo Real Time Factor

Fix Gazebo Real Time Factor Hi, I am currently using Gazebo version 7 with ros kinetic in a Virtual Box vm and I am imp

2018-03-01 04:17:49 -0500 received badge  Organizer (source)
2018-03-01 04:17:32 -0500 edited question Fix Gazebo Real Time Factor

Fix Gazebo Real Time Factor Hi, I am currently using Gazebo version 7 with ros kinetic in a Virtual Box vm and I am imp

2018-03-01 04:17:24 -0500 edited question Fix Gazebo Real Time Factor

Fix Gazebo Real Time Factor Hi, I am currently using Gazebo version 7 with ros kinetic in a Virtual Box vm and I am imp

2018-03-01 04:16:09 -0500 asked a question Fix Gazebo Real Time Factor

Fix Gazebo Real Time Factor Hi, I am currently using Gazebo version 7 with ros kinetic in a Virtual Box vm and I am imp

2017-05-08 03:22:25 -0500 received badge  Famous Question (source)
2017-05-03 08:07:07 -0500 commented question Camera issue when using Virtual Machine

Just a normal camera

2017-05-01 11:45:53 -0500 received badge  Notable Question (source)
2017-05-01 11:45:53 -0500 received badge  Popular Question (source)
2017-04-28 06:36:20 -0500 asked a question Camera issue when using Virtual Machine

Camera issue when using Virtual Machine I am using ROS Kinetic, Gazebo 7.0 on a VirtualBox VM (I had the same issues wit

2016-10-25 04:16:26 -0500 commented question URDF Error No valid hardware interface element found in joint

@GuillaumeB Thanks for the help, that was actually the tutorial I used. However, as I mentioned in the original post I couldn't actually run the code supplied by that tutorial, I received the same errors as the one that I have on my own code. It'd be good if I could get the URDF working eventually, but I think for now it is probably best to make some progress so I will use the single file for now. Thanks again for the help.

2016-10-24 06:37:59 -0500 commented question URDF Error No valid hardware interface element found in joint

I have now created a new model using a single .world file. (I followed this tutorial mostly http://machineawakening.blogspot.co.uk/2015/05/controlling-differential-drive-robot-in.html). I can use the turtlesim teleop key node and I can use twist commands. I just now need to work out how to publish twist command via scripts and process images etc. Do you think it is worth me giving up on the URDF one do you see any future issues with this single file approach?

2016-10-24 06:27:58 -0500 commented question URDF Error No valid hardware interface element found in joint

@GuillaumeB I do have that code in my URDF. I tried adding the additional hardwareInterface but that didn't work. I really thought it had worked but it was just another model that was still appearing in my gazebo. I still get the controller spawner warning and an error stating that a process had died

2016-10-11 05:23:10 -0500 commented question URDF Error No valid hardware interface element found in joint

@GuillaumeB sorry for the slow response. I tried the code but I get the same errors. I have attached my config file

2016-10-04 06:17:43 -0500 received badge  Famous Question (source)
2016-09-14 09:08:16 -0500 received badge  Notable Question (source)
2016-09-13 02:32:15 -0500 received badge  Enthusiast
2016-09-09 04:28:06 -0500 received badge  Popular Question (source)
2016-08-25 02:47:06 -0500 received badge  Editor (source)
2016-08-24 10:31:20 -0500 asked a question 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 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'.

Also:

[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 -------------------------------------------------------------------

I think maybe there is an issue with the way that I have created my joints and the use of the hardwareInterface tags.

In my macros.xacro file I create my joints and link the transmission separately (I repeat this twice for the front and back wheels):

   <joint name="${lr}_front_wheel_hinge" type="continuous">
      <parent link="chassis"/>
      <child link="${lr}_front_wheel"/>
      <origin xyz="${+wheelPos-chassisLength+2*wheelRadius} ${tY*wheelWidth/2+tY*chassisWidth/2} ${wheelRadius}" rpy="0 0 0" />
      <axis xyz="0 1 0" rpy="0 0 0" />
      <limit effort="100" velocity="100"/>
      <joint_properties damping="0.0" friction="0.0"/>
    </joint>
  <transmission name="${lr}_front_trans">
    <type>transmission_interface/SimpleTransmission</type>
    <joint name="${lr}_front_wheel_hinge" /> 
    <actuator name="${lr}_front_Motor"> 
      <hardwareInterface>EffortJointInterface</hardwareInterface>
      <mechanicalReduction>10</mechanicalReduction>
    </actuator> 
  </transmission>

Doing it this way gives the errors mentioned above, but my model in Gazebo appears.

If I try to merge both of these blocks so that there is just one joint tag wrapped by the transmission tags then I get the following error and my model does not appear in Gazebo:

[ERROR] [1473672367.041892175]: Failed to find root link: Two root links found: [footprint] and [left_back_wheel]

I don't understand why I get this error because I have a joint between my chassis base link and the world in my Jaguar4x4.xacro file :

 <link name="footprint" /> 

 <joint name="base_joint" type="fixed">
   <parent link="footprint"/>
   <child link="chassis"/>
 </joint>

I now get a number of errors when trying to combine the joint and transmission blocks, so I imagine that this is not the best way to go?

Edit 2 -------------------------------------------------------------------------

Here is my jaguar4x4_control/config/jaguar4x4_control.yaml file ... (more)