Main MRPT website > C++ reference for MRPT 1.9.9
CObservation2DRangeScanWithUncertainty.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #ifndef CObservation2DRangeScanWithUncertainty_H
10 #define CObservation2DRangeScanWithUncertainty_H
11 
13 #include <vector>
14 
15 namespace mrpt
16 {
17 namespace obs
18 {
19 /** A 2D range scan plus an uncertainty model for each range.
20  * \sa mrpt::maps::COccupancyGridMap2D::laserScanSimulatorWithUncertainty()
21  */
23 {
24  public:
25  /** The observation with the mean ranges in the scan field */
27  /** The same ranges than in rangeScan.scan[], for convenience as an Eigen
28  * container, and with `double` precision */
29  Eigen::VectorXd rangesMean;
30  /** The covariance matrix for all the ranges in rangeScan.scan[] */
31  Eigen::MatrixXd rangesCovar;
32 
33  struct TEvalParams
34  {
35  /** (Default: 0.5) Probability of having an outlier (dynamic obstacles,
36  * not mapped) in each scan ray. */
37  double prob_outliers;
38  /** (Default: 0.3) Conditional probability: how many of the "no return"
39  * ranges come from a failure to detect a real obstacle. */
40  double prob_lost_ray;
41  /** (Default: 1.0m) Maximum std deviation of overall uncertainty for a
42  * range prediction to be considered as reliable for evaluation */
44  /** (Default: -20) Minimum log-likelihood of a single ray */
46 
47  TEvalParams();
48  };
49 
50  /** Returns a measure of the likelihood of a given scan, compared to this
51  * scan variances */
53  const CObservation2DRangeScan& otherScan,
54  const TEvalParams& params) const;
55 };
56 
57 } // End of namespace
58 } // End of namespace
59 #endif
mrpt::obs::CObservation2DRangeScanWithUncertainty::TEvalParams::prob_outliers
double prob_outliers
(Default: 0.5) Probability of having an outlier (dynamic obstacles, not mapped) in each scan ray.
Definition: CObservation2DRangeScanWithUncertainty.h:37
mrpt::obs::CObservation2DRangeScanWithUncertainty
A 2D range scan plus an uncertainty model for each range.
Definition: CObservation2DRangeScanWithUncertainty.h:22
mrpt::obs::CObservation2DRangeScan
A "CObservation"-derived class that represents a 2D range scan measurement (typically from a laser sc...
Definition: CObservation2DRangeScan.h:56
mrpt::obs::CObservation2DRangeScanWithUncertainty::TEvalParams::min_ray_log_lik
double min_ray_log_lik
(Default: -20) Minimum log-likelihood of a single ray
Definition: CObservation2DRangeScanWithUncertainty.h:45
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition: CKalmanFilterCapable.h:30
mrpt::obs::CObservation2DRangeScanWithUncertainty::rangesCovar
Eigen::MatrixXd rangesCovar
The covariance matrix for all the ranges in rangeScan.scan[].
Definition: CObservation2DRangeScanWithUncertainty.h:31
mrpt::obs::CObservation2DRangeScanWithUncertainty::TEvalParams
Definition: CObservation2DRangeScanWithUncertainty.h:33
mrpt::obs::CObservation2DRangeScanWithUncertainty::rangesMean
Eigen::VectorXd rangesMean
The same ranges than in rangeScan.scan[], for convenience as an Eigen container, and with double prec...
Definition: CObservation2DRangeScanWithUncertainty.h:29
mrpt::obs::CObservation2DRangeScanWithUncertainty::evaluateScanLikelihood
double evaluateScanLikelihood(const CObservation2DRangeScan &otherScan, const TEvalParams &params) const
Returns a measure of the likelihood of a given scan, compared to this scan variances.
Definition: CObservation2DRangeScanWithUncertainty.cpp:25
mrpt::obs::CObservation2DRangeScanWithUncertainty::TEvalParams::TEvalParams
TEvalParams()
Definition: CObservation2DRangeScanWithUncertainty.cpp:17
mrpt::obs::CObservation2DRangeScanWithUncertainty::rangeScan
CObservation2DRangeScan rangeScan
The observation with the mean ranges in the scan field.
Definition: CObservation2DRangeScanWithUncertainty.h:26
mrpt::obs::CObservation2DRangeScanWithUncertainty::TEvalParams::max_prediction_std_dev
double max_prediction_std_dev
(Default: 1.0m) Maximum std deviation of overall uncertainty for a range prediction to be considered ...
Definition: CObservation2DRangeScanWithUncertainty.h:43
CObservation2DRangeScan.h
params
GLenum const GLfloat * params
Definition: glext.h:3534
mrpt::obs::CObservation2DRangeScanWithUncertainty::TEvalParams::prob_lost_ray
double prob_lost_ray
(Default: 0.3) Conditional probability: how many of the "no return" ranges come from a failure to det...
Definition: CObservation2DRangeScanWithUncertainty.h:40



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