Go to the documentation of this file.
10 #ifndef CWirelessPowerGridMap2D_H
11 #define CWirelessPowerGridMap2D_H
42 double x_max = 2,
double y_min = -2,
double y_max = 2,
43 double resolution = 0.1);
60 std::ostream& out)
const override;
87 double min_x, max_x, min_y, max_y, resolution;
void internal_clear() override
Erase all the contents of the map.
mrpt::maps::CWirelessPowerGridMap2D::TInsertionOptions insertionOptions
void dumpToTextStream(std::ostream &out) const override
This method should clearly display all the contents of the structure in textual form,...
TInsertionOptions()
Default values loader.
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.
Parameters common to any derived class.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
GLsizei GLsizei GLchar * source
CWirelessPowerGridMap2D represents a PDF of wifi concentrations over a 2D area.
double internal_computeObservationLikelihood(const mrpt::obs::CObservation *obs, const mrpt::poses::CPose3D &takenFrom) override
Internal method called by computeObservationLikelihood()
This class allows loading and storing values and vectors of different types from a configuration text...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
TMapRepresentation
The type of map representation to be used, see CRandomFieldGridMap2D for a discussion.
@ mrKernelDM
Gaussian kernel-based estimator (see discussion in mrpt::maps::CRandomFieldGridMap2D)
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
virtual CRandomFieldGridMap2D::TInsertionOptionsCommon * getCommonInsertOptions() override
Get the part of the options common to all CRandomFieldGridMap2D classes.
void getAs3DObject(mrpt::opengl::CSetOfObjects::Ptr &outObj) const override
Returns a 3D object representing the map
std::shared_ptr< CSetOfObjects > Ptr
bool internal_insertObservation(const mrpt::obs::CObservation *obs, const mrpt::poses::CPose3D *robotPose=nullptr) override
Internal method called by insertObservation()
#define MAP_DEFINITION_START(_CLASS_NAME_)
Add a MAP_DEFINITION_START() ...
Parameters related with inserting observations into the map:
#define MAP_DEFINITION_END(_CLASS_NAME_)
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
CRandomFieldGridMap2D represents a 2D grid map where each cell is associated one real-valued property...
Declares a class that represents any robot's observation.
GLsizei const GLchar ** string
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.
virtual ~CWirelessPowerGridMap2D()
Destructor.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |