Main Page
Namespaces
Classes
Files
File List
File Members
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
#pragma once
11
12
namespace
mrpt
{
namespace
graphslam {
namespace
deciders {
13
14
template
<
class
GRAPH_T>
15
CNodeRegistrationDecider_MR<GRAPH_T>::CNodeRegistrationDecider_MR
() {}
16
17
template
<
class
GRAPH_T>
18
CNodeRegistrationDecider_MR<GRAPH_T>::~CNodeRegistrationDecider_MR
() {}
19
20
template
<
class
GRAPH_T>
21
void
CNodeRegistrationDecider_MR<GRAPH_T>::addNodeAnnotsToPose
(
22
global_pose_t
* pose)
const
{ }
23
24
template
<>
25
void
CNodeRegistrationDecider_MR<mrpt::graphs::CNetworkOfPoses2DInf_NA>::addNodeAnnotsToPose
(
26
global_pose_t
* pose)
const
{
27
ASSERT_
(pose);
28
29
pose->agent_ID_str = this->own_ns;
30
// ASSUMPTION: addNodeAnnotsToPose is going to be called right before the
31
// actual registration.
32
// Mark it with the nodeID that is up-next
33
pose->nodeID_loc = this->m_graph->nodeCount();
34
}
35
36
} } }
// end of namespaces
37
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:21
mrpt::graphslam::deciders::CNodeRegistrationDecider::global_pose_t
GRAPH_T::global_pose_t global_pose_t
mrpt::graphslam::deciders::CNodeRegistrationDecider_MR::CNodeRegistrationDecider_MR
CNodeRegistrationDecider_MR()
Definition:
CNodeRegistrationDecider_MR_impl.h:15
mrpt
ASSERT_
#define ASSERT_(f)
mrpt::graphslam::deciders::CNodeRegistrationDecider_MR::~CNodeRegistrationDecider_MR
~CNodeRegistrationDecider_MR()
Definition:
CNodeRegistrationDecider_MR_impl.h:18
mrpt_graphslam_2d
Author(s): Nikos Koukis
autogenerated on Sat May 2 2020 03:44:17