MRPT  1.9.9
CRangeScanEdgeRegistrationDecider.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 CRANGESCANEDGEREGISTRATIONDECIDER_H
10 #define CRANGESCANEDGEREGISTRATIONDECIDER_H
11 
15 
17 {
18 /**\brief Edge Registration Decider Interface from which RangeScanner-based
19  * ERDs can inherit from.
20  *
21  * Holds common vars for the underlying classesand provides methods for
22  * accessing and modifying them.
23  *
24  * \note Since the decider inherits from the CRangeScanOps
25  * class, it parses the configuration parameters of the latter as well from the
26  * "ICP" section. Refer to the CRangeScanOps documentation for
27  * its list of configuration parameters
28  */
29 template <class GRAPH_T>
31  : public virtual CEdgeRegistrationDecider<GRAPH_T>,
32  public CRangeScanOps<GRAPH_T>
33 {
34  public:
35  using parent_t =
37  /**\brief Typedef for accessing methods of the
38  * RangeScanRegistrationDecider_t parent class.
39  */
41  using nodes_to_scans2D_t = std::map<
43 
46 
47  protected:
48  /**\name Relevant-observations manipulation
49  * Methods for manipulating the underlying storage of the
50  * observation that the specific decider implementations.
51  * \note Defining a generic way of dealing with the underlying
52  * measurements, allows for flexible storage as well as possible
53  * modification to the method behavior.
54  */
55  /**\{ */
56  /**\brief Fetch the latest observation that the current instance
57  * received (most probably during a call to the updateState method.
58  */
59  // TODO - Implement these
60  /**\} */
61 
62  virtual void loadParams(const std::string& source_fname);
63  virtual void printParams() const;
64  /**\brief Map for keeping track of the observation recorded at each graph
65  * position
66  */
68  /**\brief Keep track of the total number of registered nodes since the last
69  * time class method was called
70  */
72 
73  private:
74 };
75 }
77 
78 #endif /* end of include guard: CRANGESCANEDGEREGISTRATIONDECIDER_H */
79 
80 
virtual void loadParams(const std::string &source_fname)
Fetch the latest observation that the current instance received (most probably during a call to the u...
virtual void printParams() const
Print the problem parameters - relevant to the decider/optimizer to the screen in a unified/compact w...
Interface for implementing edge registration classes.
size_t m_last_total_num_nodes
Keep track of the total number of registered nodes since the last time class method was called...
Edge Registration Decider Interface from which RangeScanner-based ERDs can inherit from...
GLsizei const GLchar ** string
Definition: glext.h:4101
Class for keeping together all the RangeScanner-related functions.
Definition: CRangeScanOps.h:72
uint64_t TNodeID
A generic numeric type for unique IDs of nodes or entities.
Definition: TNodeID.h:16
nodes_to_scans2D_t m_nodes_to_laser_scans2D
Map for keeping track of the observation recorded at each graph position.
std::map< mrpt::graphs::TNodeID, mrpt::obs::CObservation2DRangeScan::Ptr > nodes_to_scans2D_t



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020