Functions
pf.c File Reference
#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <time.h>
#include "pf.h"
#include "pf_pdf.h"
#include "pf_kdtree.h"
#include <float.h>
Include dependency graph for pf.c:

Go to the source code of this file.

Functions

pf_tpf_alloc (int min_samples, int max_samples, double alpha_slow, double alpha_fast, pf_init_model_fn_t random_pose_fn, void *random_pose_data)
static void pf_cluster_stats (pf_t *pf, pf_sample_set_t *set)
void pf_free (pf_t *pf)
void pf_get_cep_stats (pf_t *pf, pf_vector_t *mean, double *var)
int pf_get_cluster_stats (pf_t *pf, int clabel, double *weight, pf_vector_t *mean, pf_matrix_t *cov)
void pf_init (pf_t *pf, pf_vector_t mean, pf_matrix_t cov)
void pf_init_converged (pf_t *pf)
void pf_init_model (pf_t *pf, pf_init_model_fn_t init_fn, void *init_data)
static int pf_resample_limit (pf_t *pf, int k)
void pf_update_action (pf_t *pf, pf_action_model_fn_t action_fn, void *action_data)
int pf_update_converged (pf_t *pf)
void pf_update_resample (pf_t *pf)
void pf_update_sensor (pf_t *pf, pf_sensor_model_fn_t sensor_fn, void *sensor_data)

Function Documentation

pf_t* pf_alloc ( int  min_samples,
int  max_samples,
double  alpha_slow,
double  alpha_fast,
pf_init_model_fn_t  random_pose_fn,
void *  random_pose_data 
)

Definition at line 47 of file pf.c.

void pf_cluster_stats ( pf_t pf,
pf_sample_set_t set 
) [static]

Definition at line 475 of file pf.c.

void pf_free ( pf_t pf)

Definition at line 116 of file pf.c.

void pf_get_cep_stats ( pf_t pf,
pf_vector_t mean,
double *  var 
)

Definition at line 607 of file pf.c.

int pf_get_cluster_stats ( pf_t pf,
int  clabel,
double *  weight,
pf_vector_t mean,
pf_matrix_t cov 
)

Definition at line 643 of file pf.c.

void pf_init ( pf_t pf,
pf_vector_t  mean,
pf_matrix_t  cov 
)

Definition at line 132 of file pf.c.

void pf_init_converged ( pf_t pf)

Definition at line 209 of file pf.c.

void pf_init_model ( pf_t pf,
pf_init_model_fn_t  init_fn,
void *  init_data 
)

Definition at line 174 of file pf.c.

int pf_resample_limit ( pf_t pf,
int  k 
) [static]

Definition at line 450 of file pf.c.

void pf_update_action ( pf_t pf,
pf_action_model_fn_t  action_fn,
void *  action_data 
)

Definition at line 250 of file pf.c.

int pf_update_converged ( pf_t pf)

Definition at line 216 of file pf.c.

void pf_update_resample ( pf_t pf)

Definition at line 314 of file pf.c.

void pf_update_sensor ( pf_t pf,
pf_sensor_model_fn_t  sensor_fn,
void *  sensor_data 
)

Definition at line 264 of file pf.c.



amcl
Author(s): Brian P. Gerkey, contradict@gmail.com
autogenerated on Thu Aug 27 2015 14:07:48