28 class CObservationBeaconRanges;
62 TSequenceBeacons m_beacons;
66 virtual
void internal_clear();
75 virtual
bool internal_insertObservation( const
CObservation *obs, const
CPose3D *robotPose = NULL );
81 void resize(const
size_t N);
84 const
CBeacon& operator [](
size_t i)
const {
111 m_beacons.push_back( m );
115 float compute3DMatchingRatio(
116 const CMetricMap *otherMap,
118 float maxDistForCorr = 0.10f,
119 float maxMahaDistForCorr = 2.0f
133 void loadFromConfigFile(
135 const std::string §ion);
139 void dumpToTextStream(
CStream &out)
const;
158 void loadFromConfigFile(
160 const std::string §ion);
164 void dumpToTextStream(
CStream &out)
const;
216 bool saveToMATLABScript3D(
218 const char *style=
"b",
219 float confInterval = 0.95f )
const;
231 virtual void determineMatching2D(
232 const CMetricMap * otherMap,
246 void computeMatchingWith3DLandmarks(
249 float &correspondencesRatio,
250 std::vector<bool> &otherCorrespondences)
const;
254 void changeCoordinatesReference(
const CPose3D &newOrg );
263 bool isEmpty()
const;
271 void simulateBeaconReadings(
273 const CPoint3D &in_sensorLocationOnRobot,
282 void saveMetricMapRepresentationToFile(
283 const std::string &filNamePrefix )
const;
295 void getAs3DObject ( mrpt::opengl::CSetOfObjectsPtr &outObj )
const;
float MC_thresholdNegligible
Threshold for the maximum difference from the maximun (log) weight in the set of samples for erasing ...
float rangeStd
The standard deviation used for Beacon ranges likelihood (default=0.08m).
const_iterator begin() const
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
A class for storing a map of 3D probabilistic beacons, using a Montecarlo, Gaussian, or Sum of Gaussians (SOG) representation (for range-only SLAM).
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...
std::deque< CBeacon >::const_iterator const_iterator
void push_back(const CBeacon &m)
Inserts a copy of the given mode into the SOG.
float SOG_maxDistBetweenGaussians
A parameter for initializing 2D/3D SOGs.
float SOG_separationConstant
Constant used to compute the std.
float MC_maxStdToGauss
The threshold for the maximum std (X,Y,and Z) before colapsing the particles into a Gaussian PDF (def...
This struct contains data for choosing the method by which new beacons are inserted in the map...
This class allows loading and storing values and vectors of different types from a configuration text...
bool MC_performResampling
If set to false (default), the samples will be generated the first time a beacon is observed...
Declares a virtual base class for all metric maps storage classes.
The class for storing individual "beacon landmarks" under a variety of 3D position PDF distributions...
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
This base provides a set of functions for maths stuff.
#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...
Declares a class that represents any robot's observation.
float MC_afterResamplingNoise
The std.dev.
Parameters for the determination of matchings between point clouds, etc.
With this struct options are provided to the likelihood computations.
A class used to store a 3D point.
std::deque< CBeacon >::iterator iterator
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...
std::deque< CBeacon > TSequenceBeacons
size_t size(const MATRIXLIKE &m, int dim)
A class used to store a 2D pose.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
bool insertAsMonteCarlo
Insert a new beacon as a set of montecarlo samples (default=true), or, if false, as a sum of gaussian...
int64_t TBeaconID
The type for the IDs of landmarks.
const_iterator end() const
float SOG_thresholdNegligible
Threshold for the maximum difference from the maximun (log) weight in the SOG for erasing a given mod...
Declares a class derived from "CObservation" that represents one (or more) range measurements to labe...
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
unsigned int MC_numSamplesPerMeter
Number of particles per meter of range, i.e.
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...