Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

CreateMotionModel< ParticleT > Class Template Reference

#include <CreateMotionModel.h>

Inheritance diagram for CreateMotionModel< ParticleT >:

Detailed Description

template<class ParticleT>
class CreateMotionModel< ParticleT >

Definition at line 44 of file CreateMotionModel.h.

List of all members.

Public Types

typedef ParticleFilter
< ParticleT >
::MotionModel::particle_type 
particle_type
 redefinition here allows reference to the particle type even if the template parameter may be abstracted away due to a typedef
typedef ParticleFilter
< ParticleT >
::MotionModel::particle_collection 
particle_collection
 the collection type we'll be using to store the particles
typedef
particle_collection::size_type 
index_t
 index type for refering to particles within the collection

Public Member Functions

 CreateMotionModel (float dm=0.1f, float am=0.2f, float ddv=0.001f, float dav=0.001f, float aav=0.001f, float adv=0.000001f)
 Constructor.
float sampleNormal (float mean, float var)
virtual void updateMotion (particle_collection &particles, particle_type &estimate)

Private Attributes

float dmean
AngTwoPi amean
float ddvar
float davar
float aavar
float advar

Member Typedef Documentation

template<class ParticleT >
typedef particle_collection::size_type CreateMotionModel< ParticleT >::index_t

index type for refering to particles within the collection

Reimplemented from ParticleFilter< ParticleT >::MotionModel.

Definition at line 54 of file CreateMotionModel.h.

template<class ParticleT >
typedef ParticleFilter<ParticleT>::MotionModel::particle_collection CreateMotionModel< ParticleT >::particle_collection

the collection type we'll be using to store the particles

Reimplemented from ParticleFilter< ParticleT >::MotionModel.

Definition at line 53 of file CreateMotionModel.h.

template<class ParticleT >
typedef ParticleFilter<ParticleT>::MotionModel::particle_type CreateMotionModel< ParticleT >::particle_type

redefinition here allows reference to the particle type even if the template parameter may be abstracted away due to a typedef

Reimplemented from ParticleFilter< ParticleT >::MotionModel.

Definition at line 52 of file CreateMotionModel.h.


Constructor & Destructor Documentation

template<class ParticleT >
CreateMotionModel< ParticleT >::CreateMotionModel ( float  dm = 0.1f,
float  am = 0.2f,
float  ddv = 0.001f,
float  dav = 0.001f,
float  aav = 0.001f,
float  adv = 0.000001f 
)

Constructor.

Definition at line 57 of file CreateMotionModel.h.


Member Function Documentation

template<class ParticleT >
float CreateMotionModel< ParticleT >::sampleNormal ( float  mean,
float  var 
)

Definition at line 62 of file CreateMotionModel.h.

Referenced by CreateMotionModel< ParticleT >::updateMotion().

template<class ParticleT >
virtual void CreateMotionModel< ParticleT >::updateMotion ( particle_collection particles,
particle_type estimate 
) [virtual]

Definition at line 67 of file CreateMotionModel.h.


Member Data Documentation

template<class ParticleT >
float CreateMotionModel< ParticleT >::aavar [private]

Definition at line 49 of file CreateMotionModel.h.

Referenced by CreateMotionModel< ParticleT >::updateMotion().

template<class ParticleT >
float CreateMotionModel< ParticleT >::advar [private]

Definition at line 49 of file CreateMotionModel.h.

Referenced by CreateMotionModel< ParticleT >::updateMotion().

template<class ParticleT >
AngTwoPi CreateMotionModel< ParticleT >::amean [private]

Definition at line 48 of file CreateMotionModel.h.

Referenced by CreateMotionModel< ParticleT >::updateMotion().

template<class ParticleT >
float CreateMotionModel< ParticleT >::davar [private]

Definition at line 49 of file CreateMotionModel.h.

Referenced by CreateMotionModel< ParticleT >::updateMotion().

template<class ParticleT >
float CreateMotionModel< ParticleT >::ddvar [private]

Definition at line 49 of file CreateMotionModel.h.

Referenced by CreateMotionModel< ParticleT >::updateMotion().

template<class ParticleT >
float CreateMotionModel< ParticleT >::dmean [private]

Definition at line 47 of file CreateMotionModel.h.

Referenced by CreateMotionModel< ParticleT >::updateMotion().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:06 2016 by Doxygen 1.6.3