Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

LocalizationParticleDistributionPolicy< ParticleT > Class Template Reference

Provides parameters and methods for randomizing and tweaking LocalizationParticles. More...

#include <LocalizationParticle.h>

Inheritance diagram for LocalizationParticleDistributionPolicy< ParticleT >:

Detailed Description

template<typename ParticleT>
class LocalizationParticleDistributionPolicy< ParticleT >

Provides parameters and methods for randomizing and tweaking LocalizationParticles.

Definition at line 41 of file LocalizationParticle.h.

List of all members.

Public Types

typedef ParticleT particle_type
 just for convenience
typedef ParticleFilter
< ParticleT >::index_t 
index_t
 just for convenience

Public Member Functions

 LocalizationParticleDistributionPolicy ()
 constructor -- by default, coordinates will range from -1000 to 1000 for x and y, with variance of 50 and 0.18 for position and orientation
virtual void randomize (particle_type *begin, index_t num)
virtual void jiggle (float var, particle_type *begin, index_t num)

Public Attributes

float mapMinX
 specifies the low end of x coordinates during randomize()
float mapWidth
 along with mapMinX, specifies the range of x coordinates to be used during randomize()
float mapMinY
 specifies the low end of y coordinates during randomize()
float mapHeight
 along with mapMinY, specifies the range of y coordinates to be used during randomize()
float positionVariance
 controls how much the x and y parameters will be modified during jiggle()
float orientationVariance
 controls how much the orientation (theta) parameter will be modified during jiggle()

Member Typedef Documentation

template<typename ParticleT>
typedef ParticleFilter<ParticleT>::index_t LocalizationParticleDistributionPolicy< ParticleT >::index_t

just for convenience

Reimplemented from ParticleFilter< ParticleT >::DistributionPolicy.

Reimplemented in DualCoding::ShapeParticleDistributionPolicy< ParticleT >.

Definition at line 44 of file LocalizationParticle.h.

template<typename ParticleT>
typedef ParticleT LocalizationParticleDistributionPolicy< ParticleT >::particle_type

just for convenience

Reimplemented from ParticleFilter< ParticleT >::DistributionPolicy.

Reimplemented in DualCoding::ShapeParticleDistributionPolicy< ParticleT >.

Definition at line 43 of file LocalizationParticle.h.


Constructor & Destructor Documentation

template<typename ParticleT>
LocalizationParticleDistributionPolicy< ParticleT >::LocalizationParticleDistributionPolicy (  ) 

constructor -- by default, coordinates will range from -1000 to 1000 for x and y, with variance of 50 and 0.18 for position and orientation

Definition at line 54 of file LocalizationParticle.h.


Member Function Documentation

template<typename ParticleT>
virtual void LocalizationParticleDistributionPolicy< ParticleT >::jiggle ( float  var,
particle_type begin,
index_t  num 
) [virtual]
template<typename ParticleT>
virtual void LocalizationParticleDistributionPolicy< ParticleT >::randomize ( particle_type begin,
index_t  num 
) [virtual]

Member Data Documentation

template<typename ParticleT>
float LocalizationParticleDistributionPolicy< ParticleT >::mapHeight

along with mapMinY, specifies the range of y coordinates to be used during randomize()

Definition at line 49 of file LocalizationParticle.h.

Referenced by LocalizationParticleDistributionPolicy< ParticleT >::randomize().

template<typename ParticleT>
float LocalizationParticleDistributionPolicy< ParticleT >::mapMinX

specifies the low end of x coordinates during randomize()

Definition at line 46 of file LocalizationParticle.h.

Referenced by LocalizationParticleDistributionPolicy< ParticleT >::randomize().

template<typename ParticleT>
float LocalizationParticleDistributionPolicy< ParticleT >::mapMinY

specifies the low end of y coordinates during randomize()

Definition at line 48 of file LocalizationParticle.h.

Referenced by LocalizationParticleDistributionPolicy< ParticleT >::randomize().

template<typename ParticleT>
float LocalizationParticleDistributionPolicy< ParticleT >::mapWidth

along with mapMinX, specifies the range of x coordinates to be used during randomize()

Definition at line 47 of file LocalizationParticle.h.

Referenced by LocalizationParticleDistributionPolicy< ParticleT >::randomize().

template<typename ParticleT>
float LocalizationParticleDistributionPolicy< ParticleT >::orientationVariance

controls how much the orientation (theta) parameter will be modified during jiggle()

Definition at line 51 of file LocalizationParticle.h.

Referenced by LocalizationParticleDistributionPolicy< ParticleT >::jiggle().

template<typename ParticleT>
float LocalizationParticleDistributionPolicy< ParticleT >::positionVariance

controls how much the x and y parameters will be modified during jiggle()

Definition at line 50 of file LocalizationParticle.h.

Referenced by LocalizationParticleDistributionPolicy< ParticleT >::jiggle().


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

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