Coverage Control Library
Loading...
Searching...
No Matches
coverage_algorithm.cpp File Reference

Program to test the CVT-based (Lloyd's) coverage control algorithms. More...

#include <CoverageControl/algorithms/clairvoyant_cvt.h>
#include <CoverageControl/coverage_system.h>
#include <CoverageControl/parameters.h>
#include <CoverageControl/typedefs.h>
#include <CoverageControl/world_idf.h>
#include <iostream>
#include <memory>
#include <string>
+ Include dependency graph for coverage_algorithm.cpp:

Go to the source code of this file.

Typedefs

typedef CoverageControl::ClairvoyantCVT CoverageAlgorithm
 

Functions

int main (int argc, char **argv)
 

Detailed Description

Program to test the CVT-based (Lloyd's) coverage control algorithms.

This program is used to execute CVT-based (Lloyd's) coverage control algorithms. The environment can be initialized with default parameters. The program can also take in a parameter file, a position file and an IDF file. The position file contains the initial positions of the robots and the IDF file contains the location of the features of interest. The program then runs the coverage control algorithm and outputs the final objective value.

./coverage_algorithm [parameter_file] [<position_file> <idf_file>]

Definition in file coverage_algorithm.cpp.

Typedef Documentation

◆ CoverageAlgorithm

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 44 of file coverage_algorithm.cpp.