Home - NikolasE/diffusion GitHub Wiki
This project is an attempt to use a simple diffusion equation to simulate liquids on a non-planar surface. It's a ros-node so that the ros environment has to be set up (see ros.org)
Usage: The surface is given by a gray-scale image as given in the imgs-Folder. If no image is given as a parameter, imgs/land_circ.png is used. Initially there is no water on the surface, simulator->setWaterHeight(height,x,y); sets the depth of the water at the given position so that it can flow away from this point.
Visualization: Rviz is used, subscribe to the /simulator_* topics.