39 double x_max = 2,
double y_min = -2,
double y_max = 2,
40 double resolution = 0.1);
48 public TInsertionOptionsCommon
55 const std::string& section)
override;
57 std::ostream&
out)
const override;
84 double min_x{-2}, max_x{2}, min_y{-2}, max_y{2}, resolution{0.10f};
Gaussian kernel-based estimator (see discussion in mrpt::maps::CRandomFieldGridMap2D) ...
CWirelessPowerGridMap2D(TMapRepresentation mapType=mrKernelDM, double x_min=-2, double x_max=2, double y_min=-2, double y_max=2, double resolution=0.1)
Constructor.
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
void getAs3DObject(mrpt::opengl::CSetOfObjects::Ptr &outObj) const override
Returns a 3D object representing the map.
mrpt::maps::CWirelessPowerGridMap2D::TInsertionOptions insertionOptions
Parameters related with inserting observations into the map:
#define MAP_DEFINITION_START(_CLASS_NAME_)
Add a MAP_DEFINITION_START() ...
TMapRepresentation
The type of map representation to be used, see CRandomFieldGridMap2D for a discussion.
void loadFromConfigFile(const mrpt::config::CConfigFileBase &source, const std::string §ion) override
This method load the options from a ".ini"-like file or memory-stored string list.
CWirelessPowerGridMap2D represents a PDF of wifi concentrations over a 2D area.
Parameters common to any derived class.
This class allows loading and storing values and vectors of different types from a configuration text...
~CWirelessPowerGridMap2D() override
Destructor.
void dumpToTextStream(std::ostream &out) const override
This method should clearly display all the contents of the structure in textual form, sending it to a std::ostream.
TInsertionOptions()
Default values loader.
mrpt::maps::CWirelessPowerGridMap2D::TInsertionOptions insertionOpts
CRandomFieldGridMap2D represents a 2D grid map where each cell is associated one real-valued property...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
mrpt::vision::TStereoCalibResults out
Declares a class that represents any robot's observation.
bool internal_insertObservation(const mrpt::obs::CObservation &obs, const mrpt::poses::CPose3D *robotPose=nullptr) override
Internal method called by insertObservation()
CRandomFieldGridMap2D::TInsertionOptionsCommon * getCommonInsertOptions() override
Get the part of the options common to all CRandomFieldGridMap2D classes.
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
double internal_computeObservationLikelihood(const mrpt::obs::CObservation &obs, const mrpt::poses::CPose3D &takenFrom) override
Internal method called by computeObservationLikelihood()
#define MAP_DEFINITION_END(_CLASS_NAME_)
void internal_clear() override
Erase all the contents of the map.