Gazebo | Ignition | Community
Ask Your Question
0

Links With Animated .DAE Files Possible?

asked 2016-07-26 17:56:59 -0600

mikec gravatar image

Hi all, I suspect the answer is "no", but I want to make sure before I give up and try something different.

Is it possible to have an animated .dae file with a model attached to it? For example, in the tutorial Make An Animated Model (Actor), the file "walk.dae" is moving in the world. Can I have a camera model (or sensor) attached to part of this model so that the two move together? The tutorial makes the statement "There can't be models nested inside actors, so we're limited to animated meshes, links and joints.". I'm not sure I completely understand this, so I'm asking here.

Can I attach something through a link/joint to the "walk.dae" file so they move together?

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-08-01 14:23:05 -0600

chapulina gravatar image

You can't yet include a model inside another one, but you can copy its links and joints directly under the <actor> tag.

Take the box example world in the tutorial for example and add a camera sensor to the box link:

    <link name="box_link">
      ...
      <sensor name="camera" type="camera">
        <camera>
        </camera>
        <visualize>true</visualize>
      </sensor>
    </link>

And you get a camera that moves with the box, see a video here.

edit flag offensive delete link more

Comments

OK, thank you.

mikec gravatar imagemikec ( 2016-08-05 15:23:13 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-07-26 17:56:59 -0600

Seen: 662 times

Last updated: Aug 01 '16