MRPT  2.0.0
CEmptyGSO.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | https://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2020, Individual contributors, see AUTHORS file |
6  | See: https://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See: https://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 
10 #pragma once
11 
12 #include <mrpt/obs/CObservation.h>
13 #include <mrpt/obs/CSensoryFrame.h>
14 
16 
18 {
19 /**\brief Empty Edge Registration Decider
20  *
21  * Handy when you are testing other parts of the application but not the
22  * specific registration procedure
23  */
24 template <class GRAPH_T = typename mrpt::graphs::CNetworkOfPoses2DInf>
25 class CEmptyGSO
27 {
28  public:
29  using constraint_t = typename GRAPH_T::constraint_t;
30 
31  CEmptyGSO() = default;
32  ~CEmptyGSO() = default;
33 
36  mrpt::obs::CSensoryFrame::Ptr observations,
37  mrpt::obs::CObservation::Ptr observation)
38  {
39  return true;
40  }
41 
42  private:
44  const mrpt::graphs::TNodeID& from, const mrpt::graphs::TNodeID& to,
45  const constraint_t& rel_edge)
46  {
47  }
48 };
49 } // namespace mrpt::graphslam::optimizers
void registerNewEdge(const mrpt::graphs::TNodeID &from, const mrpt::graphs::TNodeID &to, const constraint_t &rel_edge)
Definition: CEmptyGSO.h:43
typename GRAPH_T::constraint_t constraint_t
Definition: CEmptyGSO.h:29
Empty Edge Registration Decider.
Definition: CEmptyGSO.h:25
Interface for implementing graphSLAM optimizer classes.
uint64_t TNodeID
A generic numeric type for unique IDs of nodes or entities.
Definition: TNodeID.h:16
bool updateState(mrpt::obs::CActionCollection::Ptr action, mrpt::obs::CSensoryFrame::Ptr observations, mrpt::obs::CObservation::Ptr observation)
Generic method for fetching the incremental action-observations (or observation-only) measurements...
Definition: CEmptyGSO.h:34



Page generated by Doxygen 1.8.14 for MRPT 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020