Public Member Functions | Private Member Functions | Private Attributes | List of all members
mp2p_icp::Matcher_Points_DistanceThreshold Class Reference

#include <Matcher_Points_DistanceThreshold.h>

Inheritance diagram for mp2p_icp::Matcher_Points_DistanceThreshold:
Inheritance graph
[legend]

Public Member Functions

void initialize (const mrpt::containers::yaml &params) override
 
 Matcher_Points_DistanceThreshold ()
 
 Matcher_Points_DistanceThreshold (double distThreshold)
 
- Public Member Functions inherited from mp2p_icp::Matcher_Points_Base
 Matcher_Points_Base ()=default
 
- Public Member Functions inherited from mp2p_icp::Matcher
virtual bool match (const metric_map_t &pcGlobal, const metric_map_t &pcLocal, const mrpt::poses::CPose3D &localPose, const MatchContext &mc, MatchState &ms, Pairings &out) const
 

Private Member Functions

void implMatchOneLayer (const mrpt::maps::CMetricMap &pcGlobal, const mrpt::maps::CPointsMap &pcLocal, const mrpt::poses::CPose3D &localPose, MatchState &ms, const layer_name_t &globalName, const layer_name_t &localName, Pairings &out) const override
 

Private Attributes

unsigned int pairingsPerPoint = 1
 
double threshold = 0.50
 

Additional Inherited Members

- Static Public Member Functions inherited from mp2p_icp::Matcher_Points_Base
static TransformedLocalPointCloud transform_local_to_global (const mrpt::maps::CPointsMap &pcLocal, const mrpt::poses::CPose3D &localPose, const std::size_t maxLocalPoints=0, const uint64_t localPointsSampleSeed=0)
 
- Public Attributes inherited from mp2p_icp::Matcher_Points_Base
bool allowMatchAlreadyMatchedGlobalPoints_ = false
 
bool allowMatchAlreadyMatchedPoints_ = false
 
std::optional< std::size_t > kdtree_leaf_max_points_
 
uint64_t localPointsSampleSeed_ = 0
 
uint64_t maxLocalPointsPerLayer_ = 0
 
std::map< std::string, std::map< std::string, double > > weight_pt2pt_layers
 
- Public Attributes inherited from mp2p_icp::Matcher
uint32_t runFromIteration = 0
 
uint32_t runUpToIteration = 0
 0: no limit More...
 
- Protected Member Functions inherited from mp2p_icp::Matcher_Points_Base
bool impl_match (const metric_map_t &pcGlobal, const metric_map_t &pcLocal, const mrpt::poses::CPose3D &localPose, const MatchContext &mc, MatchState &ms, Pairings &out) const override final
 

Detailed Description

Pointcloud matcher: fixed distance thresholds.

Finds point-to-point pairings between the local and global input metric maps.

By default, each local point layer is matched against the layer with the same name in the global map, unless especified otherwise in the base class member weight_pt2pt_layers. Refer to example configuration YAML files for example configurations.

Definition at line 30 of file Matcher_Points_DistanceThreshold.h.

Constructor & Destructor Documentation

◆ Matcher_Points_DistanceThreshold() [1/2]

Matcher_Points_DistanceThreshold::Matcher_Points_DistanceThreshold ( )

Definition at line 22 of file Matcher_Points_DistanceThreshold.cpp.

◆ Matcher_Points_DistanceThreshold() [2/2]

mp2p_icp::Matcher_Points_DistanceThreshold::Matcher_Points_DistanceThreshold ( double  distThreshold)
inline

Definition at line 37 of file Matcher_Points_DistanceThreshold.h.

Member Function Documentation

◆ implMatchOneLayer()

void Matcher_Points_DistanceThreshold::implMatchOneLayer ( const mrpt::maps::CMetricMap &  pcGlobal,
const mrpt::maps::CPointsMap &  pcLocal,
const mrpt::poses::CPose3D &  localPose,
MatchState ms,
const layer_name_t globalName,
const layer_name_t localName,
Pairings out 
) const
overrideprivatevirtual

◆ initialize()

void Matcher_Points_DistanceThreshold::initialize ( const mrpt::containers::yaml &  params)
overridevirtual

Parameters:

  • threshold: Inliers distance threshold [meters][mandatory]
  • pairingsPerPoint: Number of pairings in "global" for each "local" points. Default=1. If more than one, they will be picked in ascending order of distance, up to threshold. [optional].

Plus: the parameters of Matcher_Points_Base::initialize()

Reimplemented from mp2p_icp::Matcher_Points_Base.

Definition at line 28 of file Matcher_Points_DistanceThreshold.cpp.

Member Data Documentation

◆ pairingsPerPoint

unsigned int mp2p_icp::Matcher_Points_DistanceThreshold::pairingsPerPoint = 1
private

Definition at line 55 of file Matcher_Points_DistanceThreshold.h.

◆ threshold

double mp2p_icp::Matcher_Points_DistanceThreshold::threshold = 0.50
private

Definition at line 54 of file Matcher_Points_DistanceThreshold.h.


The documentation for this class was generated from the following files:


mrpt_local_obstacles
Author(s): Jose-Luis Blanco-Claraco
autogenerated on Mon Aug 14 2023 02:09:05