Main MRPT website > C++ reference for MRPT 1.5.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-2017, 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  CObservation2DRangeScan rangeScan; //!< The observation with the mean ranges in the scan field
26  Eigen::VectorXd rangesMean; //!< The same ranges than in rangeScan.scan[], for convenience as an Eigen container, and with `double` precision
27  Eigen::MatrixXd rangesCovar; //!< The covariance matrix for all the ranges in rangeScan.scan[]
28 
30  {
31  double prob_outliers; //!< (Default: 0.5) Probability of having an outlier (dynamic obstacles, not mapped) in each scan ray.
32  double prob_lost_ray; //!< (Default: 0.3) Conditional probability: how many of the "no return" ranges come from a failure to detect a real obstacle.
33  double max_prediction_std_dev; //!< (Default: 1.0m) Maximum std deviation of overall uncertainty for a range prediction to be considered as reliable for evaluation
34  double min_ray_log_lik; //!< (Default: -20) Minimum log-likelihood of a single ray
35 
36  TEvalParams();
37  };
38 
39  /** Returns a measure of the likelihood of a given scan, compared to this scan variances */
40  double evaluateScanLikelihood(const CObservation2DRangeScan& otherScan, const TEvalParams &params) const;
41  };
42 
43 } // End of namespace
44 } // End of namespace
45 #endif
A 2D range scan plus an uncertainty model for each range.
Eigen::VectorXd rangesMean
The same ranges than in rangeScan.scan[], for convenience as an Eigen container, and with double prec...
double prob_lost_ray
(Default: 0.3) Conditional probability: how many of the "no return" ranges come from a failure to det...
CObservation2DRangeScan rangeScan
The observation with the mean ranges in the scan field.
double prob_outliers
(Default: 0.5) Probability of having an outlier (dynamic obstacles, not mapped) in each scan ray...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A "CObservation"-derived class that represents a 2D range scan measurement (typically from a laser sc...
double max_prediction_std_dev
(Default: 1.0m) Maximum std deviation of overall uncertainty for a range prediction to be considered ...
Eigen::MatrixXd rangesCovar
The covariance matrix for all the ranges in rangeScan.scan[].
double min_ray_log_lik
(Default: -20) Minimum log-likelihood of a single ray
GLenum const GLfloat * params
Definition: glext.h:3514



Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020