Why do my gazebo walking actors gets stuck once they reach the edge of the grid? [closed]

asked 2020-06-01 02:59:01 -0500

entropyboi gravatar image

updated 2020-06-01 04:22:50 -0500

gvdhoorn gravatar image

I have been trying to follow this tutorial http://gazebosim.org/tutorials?tut=ac... and import my actors into an office building world. However, the actors will walk pass walls and hit the edge of the grid, not moving any further even though the ground plane still stretch much further below them.

Sadly I don't have enough points to upload a picture, but the code is below

 <actor name="actor2">
      <pose>0 -30 -40 0 0 0</pose>
      <skin>
        <filename>walk.dae</filename>
        <scale>1.0</scale>
      </skin>
      <animation name="walking">
        <filename>walk.dae</filename>
        <scale>1.000000</scale>
        <interpolate_x>true</interpolate_x>
      </animation>
      <plugin name="actor1_plugin" filename="libActorPlugin.so">
        <target>0 -45 -55</target>
        <target_weight>1.15</target_weight>
        <obstacle_weight>1.8</obstacle_weight>
        <animation_factor>5.1</animation_factor>
        <ignore_obstacles>
          <model>cafe</model>
          <model>ground_plane</model>
        </ignore_obstacles>
     </plugin>
   </actor>

I try to set the pose much further from the origin as the world is very large 50mx50m. I have a very poor understanding of how pose work so that might be a reason.

I also try to use this plugin below, to resolve the issue of actor walking through walls. However, I could not compile the plugin, and it will return an error stating serviceim cannot be a namespace. Any help is appreciated as I am truly at a loss.

https://bitbucket.org/osrf/servicesim...

edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: http://answers.gazebosim.org by gvdhoorn
close date 2020-06-01 04:22:57.552869