include
mrpt_graphslam_2d
interfaces
CNodeRegistrationDecider_MR_impl.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-2016, 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
*/
10
11
#pragma once
12
13
namespace
mrpt
14
{
15
namespace
graphslam
16
{
17
namespace
deciders
18
{
19
template
<
class
GRAPH_T>
20
CNodeRegistrationDecider_MR<GRAPH_T>::CNodeRegistrationDecider_MR
()
21
{
22
}
23
24
template
<
class
GRAPH_T>
25
CNodeRegistrationDecider_MR<GRAPH_T>::~CNodeRegistrationDecider_MR
()
26
{
27
}
28
29
template
<
class
GRAPH_T>
30
void
CNodeRegistrationDecider_MR<GRAPH_T>::addNodeAnnotsToPose
(
31
global_pose_t
* pose)
const
32
{
33
}
34
35
template
<>
36
void
CNodeRegistrationDecider_MR<mrpt::graphs::CNetworkOfPoses2DInf_NA>::
37
addNodeAnnotsToPose
(
global_pose_t
* pose)
const
38
{
39
ASSERT_(pose);
40
41
pose->agent_ID_str = this->own_ns;
42
// ASSUMPTION: addNodeAnnotsToPose is going to be called right before the
43
// actual registration.
44
// Mark it with the nodeID that is up-next
45
pose->nodeID_loc = this->m_graph->nodeCount();
46
}
47
48
}
// namespace deciders
49
}
// namespace graphslam
50
}
// namespace mrpt
mrpt::graphslam::deciders::CNodeRegistrationDecider_MR::global_pose_t
GRAPH_T::global_pose_t global_pose_t
Definition:
CNodeRegistrationDecider_MR.h:40
mrpt::graphslam::deciders::CNodeRegistrationDecider_MR::CNodeRegistrationDecider_MR
CNodeRegistrationDecider_MR()
Definition:
CNodeRegistrationDecider_MR_impl.h:20
mrpt
Definition:
CConnectionManager.h:31
mrpt::graphslam::deciders::CNodeRegistrationDecider_MR::addNodeAnnotsToPose
void addNodeAnnotsToPose(global_pose_t *pose) const
Decorate a pose according to the TMRSlamNodeAnnotation fields.
Definition:
CNodeRegistrationDecider_MR_impl.h:30
mrpt::graphslam::deciders::CNodeRegistrationDecider_MR::~CNodeRegistrationDecider_MR
~CNodeRegistrationDecider_MR()
Definition:
CNodeRegistrationDecider_MR_impl.h:25
mrpt_graphslam_2d
Author(s): Nikos Koukis
autogenerated on Sun Jun 26 2022 02:12:26