Gazebo | Ignition | Community
Ask Your Question

How can i create sand surface?

asked 2019-11-21 06:46:16 -0500

Kyriakos gravatar image

Hi! I want to create a sand surface in gazebo so i will be able to test a wheel and analyse the soil-wheel interactions. To create the sand interface i thought i can create thousands of tiny spheres as particles of the sand and set the physical properties for those particles. I'm pretty new to gazebo, any ideas how can i do this or any other ideas?

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-11-22 04:53:54 -0500

kumpakri gravatar image

updated 2019-11-22 05:11:15 -0500

I don't think you would be able to simulate the collision with every single sand particle. The computation load would be too much. The practical approach could be to set the physics parameters like friction very high so it statistically simulated the sand surface. And if there is other phenomenon that sand exhibits, then write a plugin to include this phenomenon inside the simulation.

When I simulate 1000 balls of 5 cm in radius, the RT factor on my 8 core computer drops to 0.08.

image description

I spawn the 1000 balls into the simulation by putting following code into the world file (gazebo 7).

<population name="ball_population1">
  <model name="ball">
    <link name="ball_body">
      <collision name="ball_collision">
      <visual name="ball_visual">
  <pose>0 0 1 0 0 0</pose>
    <size>4 4 4</size>

And I had to restart my computer after that.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-11-21 06:46:16 -0500

Seen: 330 times

Last updated: Nov 22 '19