Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
LocalShapeEvaluator Class ReferenceProvides evaluation of the match between local or camera and world given a candidate particle. More...
Inheritance diagram for LocalShapeEvaluator:
Detailed DescriptionProvides evaluation of the match between local or camera and world given a candidate particle. The reason for separating LocalShapeEvaluator and ShapeSensorModel? Partly so the fairly lengthy evaluation code can go in the .cc file to avoid repeated recompilation, but also to allow inheritance (e.g. ShapeSLAMParticleEvaluator) as a clean way to extend the evaluation code for particle sub-types. Definition at line 21 of file ShapeSensorModel.h.
Constructor & Destructor Documentation
constructor, pass the local and world shape spaces, these will be used to initialize the appropriate particle-independent fields of the class
destructor Definition at line 25 of file ShapeSensorModel.h. Member Function Documentation
helper function which calculates the distance between a point and a line along a perpendicular computes a (non-normalized) gaussian distribution Definition at line 193 of file ShapeSensorModel.cc.
the heart of the class, call with a particle, will adjust the weight Definition at line 28 of file ShapeSensorModel.cc. Referenced by ShapeSensorModel< LocalizationParticle >::updateFromLocal().
the real work is done here; shared with SLAM version Definition at line 43 of file ShapeSensorModel.cc. Referenced by DualCoding::ShapeSLAMParticleEvaluator::evaluate(), and evaluate(). normalization isn't needed because the scale factor is constant across particles, and so doesn't matter for purposes of comparison between particles Definition at line 50 of file ShapeSensorModel.h.
update the particle weight after computing local match scores (and possibly additions/deletions if SLAM) Definition at line 186 of file ShapeSensorModel.cc. Referenced by DualCoding::ShapeSLAMParticleEvaluator::evaluate(), and evaluate(). Member Data Documentation
a vector of the landmarks in the local space Definition at line 38 of file ShapeSensorModel.h. Referenced by DualCoding::ShapeSLAMSensorModel< ShapeSLAMParticle >::evaluate(), DualCoding::ShapeSLAMParticleEvaluator::evaluate(), evaluate(), DualCoding::ShapeSLAMParticleEvaluator::ShapeSLAMParticleEvaluator(), and updateWeight().
maximum distance for a landmark to be useful in distance error calculation; value should be < 1e10 Definition at line 41 of file ShapeSensorModel.h.
controls how much weight is given to "near-misses" Definition at line 42 of file ShapeSensorModel.h. Referenced by normpdf(), and updateWeight().
a vector of landmarks in the world space Definition at line 39 of file ShapeSensorModel.h. Referenced by DualCoding::ShapeSLAMSensorModel< ShapeSLAMParticle >::evaluate(), and DualCoding::ShapeSLAMParticleEvaluator::ShapeSLAMParticleEvaluator(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:12 2016 by Doxygen 1.6.3 |