Having trouble with Gazebo9 actor: turtle won't move!

asked 2019-10-14 06:36:46 -0600

kestrel1311 gravatar image


I asked here before to get help on using heightmap. Thanks to that, now I have a beach environment for turtle detection simulation. I am planning to spawn about 20 to 40 turtles on this beach, but it will be very painful to designate trajectory for each turtle nor it will be fun to simulate detecting turtles using Fixed-Wing UAV. I am trying to randomize turtle's behavior, so I was trying to use actor plugin in Gazebo Tutorial. When I spawn the turtle model just with pose, it works fine. However, whenever I try adding plugin to the model, it does this: image description

So now I am wondering why this turtle is just facing downwards when 1) I told it to take pose 0 0 3.14, and 2) it should have been spawned on the land not hovering over the water. I was following the tutorial, but I cannot figure out which part is exactly wrong. What am I missing here?

This is how I currently set up my code: image description

Thank you

edit retag flag offensive close merge delete