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

#include <OpenMapper.h>

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

Public Member Functions

const Matrix3GetCovariance ()
 
const Pose2GetPose1 ()
 
const Pose2GetPose2 ()
 
const Pose2GetPoseDifference ()
 
 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 ()
 
virtual ~EdgeLabel ()
 

Private Attributes

Matrix3 m_Covariance
 
Pose2 m_Pose1
 
Pose2 m_Pose2
 
Pose2 m_PoseDifference
 

Detailed Description

Definition at line 119 of file OpenMapper.h.

Constructor & Destructor Documentation

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

Link between the given poses

Parameters
rPose1first pose
rPose2second pose
rCovariancelink uncertainty

Definition at line 128 of file OpenMapper.h.

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

Destructor

Definition at line 136 of file OpenMapper.h.

Member Function Documentation

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

Gets the link covariance

Returns
link covariance

Definition at line 194 of file OpenMapper.h.

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

Gets the first pose

Returns
first pose

Definition at line 167 of file OpenMapper.h.

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

Gets the second pose

Returns
second pose

Definition at line 176 of file OpenMapper.h.

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

Gets the pose difference

Returns
pose difference

Definition at line 185 of file OpenMapper.h.

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

Changes the link information to be the given parameters

Parameters
rPose1new first pose
rPose2new second pose
rCovariancenew link uncertainty

Definition at line 147 of file OpenMapper.h.

Member Data Documentation

Matrix3 karto::LinkInfo::m_Covariance
private

Definition at line 203 of file OpenMapper.h.

Pose2 karto::LinkInfo::m_Pose1
private

Definition at line 200 of file OpenMapper.h.

Pose2 karto::LinkInfo::m_Pose2
private

Definition at line 201 of file OpenMapper.h.

Pose2 karto::LinkInfo::m_PoseDifference
private

Definition at line 202 of file OpenMapper.h.


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


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Thu Jun 6 2019 19:20:25