Homepage Demos Overview Downloads Tutorials Reference
Credits
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Search

afsMain.cc File Reference

#include "afsParticle.h"
#include "afsMotionResample.h"
#include "afsMeasurementUpdate.h"
#include "Configuration.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "motionReshapeKludge.h"

Include dependency graph for afsMain.cc:

Include dependency graph

Go to the source code of this file.

Functions

void afsInit ()
void afsMotion (double dx, double dy, double da, unsigned int time)
void afsSetLandmark (int landmark, double x, double y, double covariance)
void afsDistribute (double lx, double ty, double rx, double by)
void afsMeasurement (int landmark, double theta)
void afsResample ()
afsParticleafsWhatsUp (double *error)
double afsCertainty ()
afsParticleafsInvadeFSData ()

Variables

afsParticle ParticleSets [2][AFS_NUM_PARTICLES]
afsParticleParticles
afsParticlenewParticles
double Weights [AFS_NUM_PARTICLES]


Function Documentation

double afsCertainty  ) 
 

Definition at line 390 of file afsMain.cc.

References AFS_NUM_LANDMARKS, AFS_NUM_PARTICLES, afsApplyBestPose(), afsFindBestPose(), afsGuessState(), afsParticleError(), afsWhatsUp(), and Particles.

void afsDistribute double  lx,
double  ty,
double  rx,
double  by
 

Definition at line 77 of file afsMain.cc.

References AFS_NUM_PARTICLES, dx, Particles, _afsParticle::pose, _afsPose::theta, _afsPose::x, and _afsPose::y.

void afsInit  ) 
 

Definition at line 26 of file afsMain.cc.

References AFS_NUM_PARTICLES, afsParticleInit(), newParticles, Particles, and ParticleSets.

afsParticle* afsInvadeFSData  ) 
 

Definition at line 428 of file afsMain.cc.

References Particles.

void afsMeasurement int  landmark,
double  theta
 

Definition at line 91 of file afsMain.cc.

References AFS_NUM_PARTICLES, afsMeasurementUpdate(), and Particles.

void afsMotion double  dx,
double  dy,
double  da,
unsigned int  time
 

Definition at line 36 of file afsMain.cc.

References AFS_NUM_PARTICLES, afsMotionResample(), da, dx, Particles, and time.

void afsResample  ) 
 

Definition at line 100 of file afsMain.cc.

References AFS_NUM_PARTICLES, afsParticleCopy(), _afsParticle::gotweight, newParticles, Particles, _afsParticle::weight, and Weights.

void afsSetLandmark int  landmark,
double  x,
double  y,
double  covariance
 

Definition at line 56 of file afsMain.cc.

References AFS_NUM_PARTICLES, _afsParticle::landmarks, _afsLandmarkLoc::mean, Particles, _afsLandmarkLoc::state, and _afsLandmarkLoc::variance.

afsParticle* afsWhatsUp double *  error  ) 
 

Definition at line 188 of file afsMain.cc.

References AFS_NUM_LANDMARKS, AFS_NUM_PARTICLES, afsApplyBestPose(), afsFindBestPose(), afsGuessState(), afsParticleError(), afsParticleInit(), dx, _afsParticle::landmarks, _afsLandmarkLoc::mean, Particles, _afsParticle::pose, _afsLandmarkLoc::state, _afsPose::theta, _afsLandmarkLoc::variance, _afsPose::x, _afsXY::x, _afsPose::y, and _afsXY::y.


Variable Documentation

afsParticle * newParticles
 

Definition at line 22 of file afsMain.cc.

afsParticle* Particles
 

Definition at line 22 of file afsMain.cc.

afsParticle ParticleSets[2][AFS_NUM_PARTICLES]
 

Definition at line 21 of file afsMain.cc.

double Weights[AFS_NUM_PARTICLES]
 

Definition at line 23 of file afsMain.cc.


Tekkotsu v1.4
Generated Sat Jul 19 00:06:33 2003 by Doxygen 1.3.2