201 const double in_normalizationStd,
const TSE2RobustParams& in_ransac_params,
202 TSE2RobustResult& out_results);
void * user_individual_compat_callback_userdata
User data to be passed to user_individual_compat_callback()
TSE2RobustParams()
Default values.
Declares a class that represents a Probability Density function (PDF) of a 2D pose ...
double max_rmse_to_end
Stop searching for solutions when the RMSE of one solution is below this threshold.
std::function< bool(const TPotentialMatch &)> TFunctorCheckPotentialMatch
bool se2_l2(const mrpt::tfest::TMatchingPairList &in_correspondences, mrpt::math::TPose2D &out_transformation, mrpt::math::CMatrixDouble33 *out_estimateCovariance=nullptr)
Least-squares (L2 norm) solution to finding the optimal SE(2) (x,y,yaw) between two reference frames...
Parameters for se2_l2_robust().
double DEG2RAD(const double x)
Degrees to radians.
bool ransac_fuseByCorrsMatch
(Default = true) If true, the weight of Gaussian modes will be increased when an exact match in the s...
unsigned int ransac_nSimulations
(Default = 0) If set to 0, an adaptive algorithm is used to determine the number of iterations...
unsigned int ransac_minSetSize
(Default=3)
bool verbose
(Default=false)
bool se2_l2_robust(const mrpt::tfest::TMatchingPairList &in_correspondences, const double in_normalizationStd, const TSE2RobustParams &in_ransac_params, TSE2RobustResult &out_results)
Robust least-squares (L2 norm) solution to finding the optimal SE(2) (x,y,yaw) between two reference ...
unsigned int ransac_maxSetSize
(Default = 20)
Declares a class that represents a Probability Density function (PDF) of a 2D pose ...
bool ransac_algorithmForLandmarks
(Default = true) Use Mahalanobis distance (true) or Euclidean dist (false)
double ransac_mahalanobisDistanceThreshold
(Default = 3.0)
double ransac_fuseMaxDiffPhi
(Default=0.1degree) (In radians)
unsigned int ransac_min_nSimulations
(Default = 1500) See parameter probability_find_good_model
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
TFunctorCheckPotentialMatch user_individual_compat_callback
If provided, this user callback will be invoked to determine the individual compatibility between eac...
unsigned int ransac_iters
Number of actual iterations executed.
mrpt::poses::CPosePDFSOG transformation
The output as a set of transformations (sum of Gaussians)
mrpt::tfest::TMatchingPairList largestSubSet
the largest consensus sub-set
Output placeholder for se2_l2_robust()
double ransac_fuseMaxDiffXY
(Default = 0.01)
double probability_find_good_model
(Default = 0.999) See parameter ransac_nSimulations.