Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
LocalizationParticleDistributionPolicy< ParticleT > Class Template ReferenceProvides parameters and methods for randomizing and tweaking LocalizationParticles. More...
Inheritance diagram for LocalizationParticleDistributionPolicy< ParticleT >:
Detailed Descriptiontemplate<typename ParticleT>
|
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() |
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.
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.
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.
virtual void LocalizationParticleDistributionPolicy< ParticleT >::jiggle | ( | float | var, | |
particle_type * | begin, | |||
index_t | num | |||
) | [virtual] |
Reimplemented in DualCoding::ShapeParticleDistributionPolicy< ParticleT >.
Definition at line 69 of file LocalizationParticle.h.
virtual void LocalizationParticleDistributionPolicy< ParticleT >::randomize | ( | particle_type * | begin, | |
index_t | num | |||
) | [virtual] |
Reimplemented in DualCoding::ShapeParticleDistributionPolicy< ParticleT >.
Definition at line 59 of file LocalizationParticle.h.
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().
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().
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().
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().
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().
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().
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:12 2016 by Doxygen 1.6.3 |