Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
karto::LinkInfo Class Reference

#include <Mapper.h>

Inheritance diagram for karto::LinkInfo:
Inheritance graph
[legend]

Public Member Functions

const Matrix3GetCovariance ()
 
const Pose2GetPose1 ()
 
const Pose2GetPose2 ()
 
const Pose2GetPoseDifference ()
 
 LinkInfo ()
 
 LinkInfo (const Pose2 &rPose1, const Pose2 &rPose2, const Matrix3 &rCovariance)
 
void Update (const Pose2 &rPose1, const Pose2 &rPose2, const Matrix3 &rCovariance)
 
virtual ~LinkInfo ()
 
- Public Member Functions inherited from karto::EdgeLabel
 EdgeLabel ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
virtual ~EdgeLabel ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

Matrix3 m_Covariance
 
Pose2 m_Pose1
 
Pose2 m_Pose2
 
Pose2 m_PoseDifference
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 141 of file Mapper.h.

Constructor & Destructor Documentation

◆ LinkInfo() [1/2]

karto::LinkInfo::LinkInfo ( )
inline

Constructs a link between the given poses

Parameters
rPose1
rPose2
rCovariance

Definition at line 150 of file Mapper.h.

◆ LinkInfo() [2/2]

karto::LinkInfo::LinkInfo ( const Pose2 rPose1,
const Pose2 rPose2,
const Matrix3 rCovariance 
)
inline

Definition at line 153 of file Mapper.h.

◆ ~LinkInfo()

virtual karto::LinkInfo::~LinkInfo ( )
inlinevirtual

Destructor

Definition at line 161 of file Mapper.h.

Member Function Documentation

◆ GetCovariance()

const Matrix3& karto::LinkInfo::GetCovariance ( )
inline

Gets the link covariance

Returns
link covariance

Definition at line 219 of file Mapper.h.

◆ GetPose1()

const Pose2& karto::LinkInfo::GetPose1 ( )
inline

Gets the first pose

Returns
first pose

Definition at line 192 of file Mapper.h.

◆ GetPose2()

const Pose2& karto::LinkInfo::GetPose2 ( )
inline

Gets the second pose

Returns
second pose

Definition at line 201 of file Mapper.h.

◆ GetPoseDifference()

const Pose2& karto::LinkInfo::GetPoseDifference ( )
inline

Gets the pose difference

Returns
pose difference

Definition at line 210 of file Mapper.h.

◆ serialize()

template<class Archive >
void karto::LinkInfo::serialize ( Archive &  ar,
const unsigned int  version 
)
inlineprivate

Definition at line 232 of file Mapper.h.

◆ Update()

void karto::LinkInfo::Update ( const Pose2 rPose1,
const Pose2 rPose2,
const Matrix3 rCovariance 
)
inline

Changes the link information to be the given parameters

Parameters
rPose1
rPose2
rCovariance

Definition at line 172 of file Mapper.h.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 230 of file Mapper.h.

Member Data Documentation

◆ m_Covariance

Matrix3 karto::LinkInfo::m_Covariance
private

Definition at line 228 of file Mapper.h.

◆ m_Pose1

Pose2 karto::LinkInfo::m_Pose1
private

Definition at line 225 of file Mapper.h.

◆ m_Pose2

Pose2 karto::LinkInfo::m_Pose2
private

Definition at line 226 of file Mapper.h.

◆ m_PoseDifference

Pose2 karto::LinkInfo::m_PoseDifference
private

Definition at line 227 of file Mapper.h.


The documentation for this class was generated from the following file:


slam_toolbox
Author(s): Steve Macenski
autogenerated on Thu Jan 11 2024 03:37:56