28 if (
auto* o = dynamic_cast<const mrpt::obs::CObservation2DRangeScan*>(&obs);
51 "Largest distance at which voxels are updated (Default: 15 meters)");
53 maxOccupancyUpdateCertainty,
54 "A value in the range [0.5,1] used for updating voxel with a Bayesian " 55 "approach (default 0.65)");
57 maxFreenessUpdateCertainty,
58 "A value in the range [0.5,1] for updating a free voxel. (default=0 " 59 "means use the same than maxOccupancyUpdateCertainty)");
62 "Specify the decimation of the range scan (default=1: take all)");
bool internal_canComputeObservationLikelihood(const mrpt::obs::CObservation &obs) const override
#define THROW_EXCEPTION(msg)
void saveToConfigFile(mrpt::config::CConfigFileBase &target, const std::string §ion) const override
This method saves the options to a ".ini"-like file or memory-stored string list. ...
uint16_t decimation
Decimation for insertPointCloud() or 2D range scans (Default: 1)
void loadFromConfigFile(const mrpt::config::CConfigFileBase &source, const std::string §ion) override
This method load the options from a ".ini" file.
This class allows loading and storing values and vectors of different types from a configuration text...
double internal_computeObservationLikelihood(const mrpt::obs::CObservation &obs, const mrpt::poses::CPose3D &takenFrom) override
Internal method called by computeObservationLikelihood()
float maxDistanceInsertion
Largest distance at which voxels are updated (Default: 15 meters)
string iniFile(myDataDir+string("benchmark-options.ini"))
float maxFreenessUpdateCertainty
A value in the range [0.5,1] for updating a free voxel.
#define MRPT_LOAD_CONFIG_VAR( variableName, variableType, configFileObject, sectionNameStr)
An useful macro for loading variables stored in a INI-like file under a key with the same name that t...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Declares a class that represents any robot's observation.
float maxOccupancyUpdateCertainty
A value in the range [0.5,1] used for updating voxel with a Bayesian approach (default 0...
#define MRPT_SAVE_CONFIG_VAR_COMMENT(variableName, __comment)