Matcher_Point2Line.h
Go to the documentation of this file.
1 /* -------------------------------------------------------------------------
2  * A repertory of multi primitive-to-primitive (MP2P) ICP algorithms in C++
3  * Copyright (C) 2018-2021 Jose Luis Blanco, University of Almeria
4  * See LICENSE for license information.
5  * ------------------------------------------------------------------------- */
12 #pragma once
13 
15 
16 namespace mp2p_icp
17 {
31 {
32  DEFINE_MRPT_OBJECT(Matcher_Point2Line, mp2p_icp)
33 
34  public:
36 
49  void initialize(const mrpt::containers::yaml& params) override;
50 
51  private:
52  double distanceThreshold = 0.50;
53  uint32_t knn = 4;
54  uint32_t minimumLinePoints = 4;
55  double lineEigenThreshold = 0.01;
56 
57  void implMatchOneLayer(
58  const mrpt::maps::CMetricMap& pcGlobal,
59  const mrpt::maps::CPointsMap& pcLocal,
60  const mrpt::poses::CPose3D& localPose, MatchState& ms,
61  const layer_name_t& globalName, const layer_name_t& localName,
62  Pairings& out) const override;
63 };
64 
65 } // namespace mp2p_icp
Pointcloud matcher auxiliary class for iterating over point layers.
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
std::string layer_name_t
Definition: layer_name_t.h:22
void initialize(const mrpt::containers::yaml &params) override


mrpt_local_obstacles
Author(s): Jose-Luis Blanco-Claraco
autogenerated on Thu Jun 1 2023 03:06:43