Home | Tutorials | Wiki | Issues
Ask Your Question
0

How to add collision properties to an actor

asked 2016-02-10 05:14:10 -0500

Manuel gravatar image

Hello,

I'm trying to add collision properties to this simple actor in Gazebo 5. It works nice, but keeps going through objects. Maybe I'm missing something. Any ideas? This is my world file:

<world name="actor_world">  
<actor name="actor1">       
     <skin>
        <filename>moonwalk.dae</filename>
        <scale>1.0</scale>
     </skin>
     <pose>0 0 0 0 0 0</pose>
     <link name="actor_link">
        <pose>-0 0 0 0 0 0</pose>
        <collision name="actor_collision">
          <pose>0 0 0 0 0 0</pose>
          <geometry>
            <mesh>
                <uri>mesh://moonwalk.dae</uri>
            </mesh>
          </geometry>
        </collision>
    </link>
     <animation name="walking">
        <filename>walk.dae</filename>
        <scale>1.000000</scale>
        <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="walking">
            <waypoint>
              <time>0.000000</time>
              <pose>0.000000 0.000000 0.000000 0.000000 0.000000 0.000000</pose>
           </waypoint>
           <waypoint>
              <time>10.000000</time>
              <pose>5.000000 0.000000 0.000000 0.000000 0.000000 0.000000</pose>
           </waypoint>
        </trajectory>
    </script>
</actor>  </world>

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-02-12 10:23:40 -0500

nkoenig gravatar image

The actor model is currently only an animation, and does not interact with the physics or collision engine. You can create an issue for this feature here.

edit flag offensive delete link more

Comments

Ok, I see. Thanks!

Manuel gravatar imageManuel ( 2016-02-12 10:56:31 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-02-10 05:13:27 -0500

Seen: 648 times

Last updated: Feb 12 '16