This code repository is for coverrage of a given environment with obstacles of known size, using Centroidal Voronoi Tessellation. This subscribes the /obstacleList, and publishes the best positions according to the given environment on topic /coverage.
To run the code, prerequisites are :
To run the code following commands (on separate terminals):
$ roslaunch swarm_simulator swarm.launch
$ rosrun swarm_simulator swarm_simulator_node
$ rosrun swarm_coverage voronoi_main [number of agents]