How to simulate (floating) particles ?

asked 2015-11-16 05:16:01 -0500

tejas gravatar image

This is what I am trying to do:
I want to create a sphere and put a large number of tiny particles in it in a floating state. When the sphere moves in any direction, the particles should be hitting the walls of the sphere in the opposite direction due to inertia.

However, I am not able to figure out how to insert such particles in gazebo. I have the sphere and gravity in place.

If particles aren't possible, then alternatively, if there is a way to put some liquid that does the above task then that shall work fine too.

Can someone please tell me how to accomplish this task. I haven't been able to find any pointers on this whatsoever. I am new to gazebo and stuck at this point; no solution found since days.

edit retag flag offensive close merge delete


How about adding small spheres as particles?

AndreiHaidu gravatar imageAndreiHaidu ( 2015-11-16 08:16:30 -0500 )edit

And to make the small spheres float, the [buoyancy plugin](

chapulina gravatar imagechapulina ( 2015-11-16 11:03:42 -0500 )edit

From what I have seen, cpu usage increases very fast with every new sphere spawned, which is weird for such a primitive geometric form.

mehdi gravatar imagemehdi ( 2019-07-31 12:56:41 -0500 )edit