AbstractMotionModel Class Referenceabstract

#include <MemoryX/libraries/motionmodels/AbstractMotionModel.h>

+ Inheritance diagram for AbstractMotionModel:

Public Types

enum  EMotionModelType { eMotionModelStaticObject, eMotionModelRobotHand, eMotionModelAttachedToOtherObject, eMotionModelKBM }
 

Public Member Functions

 AbstractMotionModel (armarx::RobotStateComponentInterfacePrx robotStateProxy)
 
virtual std::string getMotionModelName ()
 
virtual EMotionModelType getMotionModelType ()=0
 
armarx::LinkedPoseBasePtr getPoseAtLastLocalisation (const Ice::Current &=Ice::emptyCurrent) override
 
armarx::LinkedPoseBasePtr getPredictedPose (const Ice::Current &=Ice::emptyCurrent) override
 
armarx::LinkedPoseBasePtr getPredictedPoseAtStartOfCurrentLocalization (const Ice::Current &=Ice::emptyCurrent) override
 
MultivariateNormalDistributionBasePtr getUncertainty (const Ice::Current &=Ice::emptyCurrent) override
 
MultivariateNormalDistributionBasePtr getUncertaintyAtStartOfCurrentLocalization (const Ice::Current &=Ice::emptyCurrent) override
 
void savePredictedPoseAtStartOfCurrentLocalization (const Ice::Current &=Ice::emptyCurrent) override
 
void setPoseAtLastLocalisation (const armarx::LinkedPoseBasePtr &poseAtLastLocalization, const armarx::PoseBasePtr &globalRobotPoseAtLastLocalization, const MultivariateNormalDistributionBasePtr &uncertaintyAtLastLocalization, const Ice::Current &=Ice::emptyCurrent) override
 

Static Public Member Functions

static EMotionModelType getMotionModelTypeByName (std::string motionModelName)
 

Protected Member Functions

 AbstractMotionModel ()
 
virtual armarx::LinkedPosePtr getPredictedPoseInternal ()=0
 
virtual MultivariateNormalDistributionBasePtr getUncertaintyInternal ()=0
 

Protected Attributes

std::recursive_mutex motionPredictionLock
 

Friends

template<class BaseClass , class VariantClass >
class GenericFactory
 

Detailed Description

Definition at line 39 of file AbstractMotionModel.h.

Member Enumeration Documentation

◆ EMotionModelType

Enumerator
eMotionModelStaticObject 
eMotionModelRobotHand 
eMotionModelAttachedToOtherObject 
eMotionModelKBM 

Definition at line 42 of file AbstractMotionModel.h.

Constructor & Destructor Documentation

◆ AbstractMotionModel() [1/2]

◆ AbstractMotionModel() [2/2]

AbstractMotionModel ( )
protected

Definition at line 129 of file AbstractMotionModel.cpp.

Member Function Documentation

◆ getMotionModelName()

std::string getMotionModelName ( )
virtual

Definition at line 83 of file AbstractMotionModel.cpp.

◆ getMotionModelType()

virtual EMotionModelType getMotionModelType ( )
pure virtual

◆ getMotionModelTypeByName()

memoryx::AbstractMotionModel::EMotionModelType getMotionModelTypeByName ( std::string  motionModelName)
static

Definition at line 89 of file AbstractMotionModel.cpp.

◆ getPoseAtLastLocalisation()

armarx::LinkedPoseBasePtr getPoseAtLastLocalisation ( const Ice::Current &  = Ice::emptyCurrent)
override

Definition at line 120 of file AbstractMotionModel.cpp.

◆ getPredictedPose()

armarx::LinkedPoseBasePtr getPredictedPose ( const Ice::Current &  = Ice::emptyCurrent)
override

Definition at line 21 of file AbstractMotionModel.cpp.

◆ getPredictedPoseAtStartOfCurrentLocalization()

armarx::LinkedPoseBasePtr getPredictedPoseAtStartOfCurrentLocalization ( const Ice::Current &  = Ice::emptyCurrent)
override

Definition at line 71 of file AbstractMotionModel.cpp.

◆ getPredictedPoseInternal()

virtual armarx::LinkedPosePtr getPredictedPoseInternal ( )
protectedpure virtual

◆ getUncertainty()

memoryx::MultivariateNormalDistributionBasePtr getUncertainty ( const Ice::Current &  = Ice::emptyCurrent)
override

Definition at line 30 of file AbstractMotionModel.cpp.

◆ getUncertaintyAtStartOfCurrentLocalization()

memoryx::MultivariateNormalDistributionBasePtr getUncertaintyAtStartOfCurrentLocalization ( const Ice::Current &  = Ice::emptyCurrent)
override

Definition at line 77 of file AbstractMotionModel.cpp.

◆ getUncertaintyInternal()

virtual MultivariateNormalDistributionBasePtr getUncertaintyInternal ( )
protectedpure virtual

◆ savePredictedPoseAtStartOfCurrentLocalization()

void savePredictedPoseAtStartOfCurrentLocalization ( const Ice::Current &  = Ice::emptyCurrent)
override

Definition at line 61 of file AbstractMotionModel.cpp.

+ Here is the caller graph for this function:

◆ setPoseAtLastLocalisation()

void setPoseAtLastLocalisation ( const armarx::LinkedPoseBasePtr &  poseAtLastLocalization,
const armarx::PoseBasePtr &  globalRobotPoseAtLastLocalization,
const MultivariateNormalDistributionBasePtr &  uncertaintyAtLastLocalization,
const Ice::Current &  = Ice::emptyCurrent 
)
override

Definition at line 39 of file AbstractMotionModel.cpp.

+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ GenericFactory

friend class GenericFactory
friend

Definition at line 101 of file AbstractMotionModel.h.

Member Data Documentation

◆ motionPredictionLock

std::recursive_mutex motionPredictionLock
protected

Definition at line 95 of file AbstractMotionModel.h.


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