Mesh skeleton not found in Actor .dae file

asked 2021-11-27 12:34:37 -0500

kimmcg gravatar image

updated 2021-11-28 00:48:09 -0500

Hi!

I've been trying to use the actor functionality in Ignition Fortress gazebo with my own .dae mesh, currently just a simple box version. The model of the box is in IGN_GAZEBO_RESOURCE_PATH and I added the following to my world sdf file (I've only replaced the direct path here in the snippet)

 <actor name="actor_box">
  <skin>
    <filename>"direct-path-to-model"/meshes/simplebox.dae</filename>
    <scale>1.0</scale>
  </skin>
  <animation name="nothing">
    <filename>"direct-path-to-model"/meshes/simplebox.dae</filename>
    <interpolate_x>true</interpolate_x>
  </animation>
  <script>
    <loop>true</loop>
    <delay_start>0.000000</delay_start>
    <auto_start>true</auto_start>
    <trajectory id="0" type="nothing" tension="0.6">
      <waypoint>
        <time>0</time>
        <pose>3 4 1.0 0 0 0</pose>
      </waypoint>
  </actor>

From this I get the following error:

GUI] [Err] [SceneManager.cc:770] Mesh skeleton in ["direct-path-to-model"/simplebox.dae] not found.

Seems that unlike the older version of gazebo, where it is possible to animate a simple box, I can not animate objects without a mesh skeleton in ignition gazebo, however adding an Armeture (animation skeleton) in Blender does not to add the right element to .dae file.

Is anybody familiar with this and perhaps have have some pointers for me to look at?

edit retag flag offensive close merge delete