#include <target.hpp>
Public Member Functions | |
| void | addGaussian (const Gaussian &g) |
| Adds gaussian to list. More... | |
| void | deleteGaussian (unsigned int idx) |
| Remove gaussian from list. More... | |
| double | evaluate (const vec &pt, const vec &trans) const |
| Evaluate the list of gaussians. More... | |
| vec | fill (const vec &trans, const mat &phi_grid) const |
| Evaluate the target distribution. More... | |
| visualization_msgs::MarkerArray | markers (const std::string &frame) const |
| Visualize target distribution. More... | |
| Target () | |
| Constructor. More... | |
| Target (const GaussianList &gaussians) | |
| Constructor. More... | |
Private Attributes | |
| GaussianList | gaussians_ |
Target distribution.
Definition at line 110 of file target.hpp.
| ergodic_exploration::Target::Target | ( | ) |
Constructor.
Definition at line 50 of file target.cpp.
| ergodic_exploration::Target::Target | ( | const GaussianList & | gaussians | ) |
Constructor.
| gaussians | - list of target gaussians |
Definition at line 54 of file target.cpp.
| void ergodic_exploration::Target::addGaussian | ( | const Gaussian & | g | ) |
| void ergodic_exploration::Target::deleteGaussian | ( | unsigned int | idx | ) |
Remove gaussian from list.
| idx | - index of gaussian to remove |
Definition at line 63 of file target.cpp.
| double ergodic_exploration::Target::evaluate | ( | const vec & | pt, |
| const vec & | trans | ||
| ) | const |
Evaluate the list of gaussians.
| pt | - point [x y] |
| trans | - translation from map frame to fourier domain |
the translation is used to translate the mean into the fourier domain
Definition at line 68 of file target.cpp.
| vec ergodic_exploration::Target::fill | ( | const vec & | trans, |
| const mat & | phi_grid | ||
| ) | const |
Evaluate the target distribution.
| trans | - translation from map frame to fourier domain |
| phi_grid | - discretization of fourier domain |
the translation is used to translate the mean into the fourier domain
Definition at line 78 of file target.cpp.
| visualization_msgs::MarkerArray ergodic_exploration::Target::markers | ( | const std::string & | frame | ) | const |
Visualize target distribution.
| frame | - target frame |
Definition at line 91 of file target.cpp.
|
private |
Definition at line 160 of file target.hpp.