26 namespace utils {
class CStringList; }
52 enum TTypePDF { pdfMonteCarlo = 0, pdfGauss, pdfSOG };
107 void getAs3DObject( mrpt::opengl::CSetOfObjectsPtr &outObj )
const;
120 void bayesianFusion(
const CPointPDF &p1,
const CPointPDF &p2,
const double &minMahalanobisDistToDrop = 0)
MRPT_OVERRIDE;
130 void generateObservationModelDistribution(
131 const
float &sensedRange,
132 mrpt::poses::CPointPDFSOG &outPDF,
134 const
mrpt::poses::CPoint3D &sensorPntOnRobot,
135 const
mrpt::poses::CPoint3D ¢erPoint =
mrpt::poses::CPoint3D(0,0,0),
136 const
float &maxDistanceFromCenter = 0
145 static
void generateRingSOG(
146 const
float &sensedRange,
147 mrpt::poses::CPointPDFSOG &outPDF,
149 const
mrpt::poses::CPoint3D &sensorPnt,
151 bool clearPreviousContentsOutPDF = true,
152 const
mrpt::poses::CPoint3D ¢erPoint =
mrpt::poses::CPoint3D(0,0,0),
153 const
float &maxDistanceFromCenter = 0
mrpt::poses::CPointPDFParticles m_locationMC
The individual PDF, if m_typePDF=pdfMonteCarlo (publicly accesible for ease of use, but the CPointPDF interface is also implemented in CBeacon).
int64_t TBeaconID
The type for the IDs of landmarks.
The virtual base class which provides a unified interface for all persistent objects in MRPT...
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
Declares a class that represents a Probability Density function (PDF) of a 3D point ...
void saveToTextFile(const std::string &file, mrpt::math::TMatrixTextFileFormat fileFormat=mrpt::math::MATRIX_FORMAT_ENG, bool appendMRPTHeader=false, const std::string &userHeader=std::string()) const
Save matrix to a text file, compatible with MATLAB text format (see also the methods of matrix classe...
mrpt::poses::CPointPDFSOG m_locationSOG
The individual PDF, if m_typePDF=pdfSOG (publicly accesible for ease of use, but the CPointPDF interf...
A class for storing a list of text lines.
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
Eigen::Matrix< typename MATRIX::Scalar, MATRIX::ColsAtCompileTime, MATRIX::ColsAtCompileTime > cov(const MATRIX &v)
Computes the covariance matrix from a list of samples in an NxM matrix, where each row is a sample...
A class for storing a map of 3D probabilistic beacons, using a Montecarlo, Gaussian, or Sum of Gaussians (SOG) representation (for range-only SLAM).
CMatrixFixedNumeric< double, 3, 3 > CMatrixDouble33
TTypePDF m_typePDF
Which one of the different 3D point PDF is currently used in this object: montecarlo, gaussian, or a sum of gaussians.
GLsizei const GLchar ** string
A class used to store a 3D point.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
TBeaconID m_ID
An ID for the landmark (see details next...) This ID was introduced in the version 3 of this class (2...
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
Declares a class that represents a Probability Distribution function (PDF) of a 3D point (x...
A probability distribution of a 2D/3D point, represented as a set of random samples (particles)...
The class for storing individual "beacon landmarks" under a variety of 3D position PDF distributions...
A gaussian distribution for 3D points.
mrpt::poses::CPointPDFGaussian m_locationGauss
The individual PDF, if m_typePDF=pdfGauss (publicly accesible for ease of use, but the CPointPDF inte...