Robotics StackExchange | Archived questions

How to add collision properties to an actor

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!

Asked by Manuel on 2016-02-10 06:13:27 UTC

Comments

Answers

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.

Asked by nkoenig on 2016-02-12 11:23:40 UTC

Comments

Ok, I see. Thanks!

Asked by Manuel on 2016-02-12 11:56:31 UTC