Home | Tutorials | Wiki | Issues
Ask Your Question
0

moving an actor model

asked 2014-11-25 05:05:41 -0600

jdddog gravatar image

Hi

I can't seem to move actors that get added to the world, they always move a tiny bit and get reset back to their original positions (unlike other models such as spheres). I'm thinking the animation resets the pose, but am new to Gazebo so am a bit unsure as to where to start looking. Does anyone have any idea why this would be?

The sdf that I insert into the world is pretty simple:

<sdf version ='1.5'>
    <actor name='actor0'>
        <skin>
            <filename>sitting.dae</filename>
            <scale>1.0</scale>
        </skin>
    </actor>
</sdf>

An image for context:

image description

Thanks for your help!

Jamie

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-11-25 14:06:40 -0600

nkoenig gravatar image

The actor class does reset the pose. If you just want to have a DAE file that you can move around, you can use:

<model name="human">
  <link name="link">
    <visual name="visual">
      <geometry>
        <mesh>
          <uri>file://sitting.dae</uri>
        </mesh>
      </geometry>
    </visual>
  </link>
</model>

I winged the above, so there might be some typos. It also is only a visual with no collision.

edit flag offensive delete link more

Comments

Sweet thanks!

jdddog gravatar imagejdddog ( 2014-11-26 04:04:14 -0600 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-11-25 05:05:41 -0600

Seen: 2,675 times

Last updated: Nov 25 '14