Smoke simulation in simulator_gazebo
Hi all,
I am making an smoke animation in blender 2.5 using its particle system. Currently i am using ros electric on ubuntu 10.04 and simulator_gazebo stack.
My ist question is whether it is possible to import that animation correctly in simulatorgazebo? if not then migrating to gazeborospkgs with Hydro or Groovy will help me to achieve this objective?
Second, Is there any other good approach to achieve this functionality for example simulating particles inside simulatorgazebo without using any other models(.dae, .stl) etc?
Last, I will prefer some solution sticking to same distro of ros but can migrate too.
Thanks alot.
(P.S detailed answer will be appreciated since my conceptual grasp on the topic is very less and limited)
You only want to visualize the smoke? You could try to animate it , check out this tutorial: `http://gazebosim.org/wiki/Tutorials/intermediate/animated_characters` it currently only works with an older version of gazebo
You could try to write a Gui-Plugin (http://gazebosim.org/wiki/Tutorials/1.3/plugins/systemguiplugin) to make it work using an Ogre ParticlePlugin. There is a smoke simulation in the Ogre/Samples https://bitbucket.org/sinbad/ogre/src/51da63f2a9cd/Samples/Smoke?at=v1-9
But this would only do a visualisation there would be no collisions with your robots.
I don't think you can easily port ParticleSystems from Blender to Gazebo, but I might be wrong in this point.
@Andrei No visualization is less important in my case. I want something which reacts to Laser Range sensor and when density is decrease or increase difference could be seen in Laser readings. So visualization is not important even a set of particles just floating will do the trick without any smoke like look. question is how to simulate it? Thanks
Currently there is no particle simulation in Gazebo, you could make one by spawning multiple spheres and controlling them via plugins (computing forces between them etc), but that will take a lot of CPU time, and the simulation will get really slow. I am also currently having a project to integrate particles in Gazebo, but the project is not even close to being complete, (here are some videos:
http://vimeo.com/user16219305
) there is no real interaction yet with the gazebo objects.Isn't there any option to add some noise to the scanner? And maybe then you could hack it to give an area where the laser will be noisy
Thanks alot. That is very impressive work in video. So hopefully my last question what could be the smart way to spawn multiple spheres which are static not moving? no need of simulation and plugins. I can make an assumption that smoke is uniformly distributed at specific place in environment and is not evaporating any more? and i can experiment with increasing or decreasing the density of these spheres and check the laser range behaviour.