Classes | Namespaces | Macros | Functions
ParticleFilter.h File Reference
#include <rtabmap/utilite/UMath.h>
#include <rtabmap/utilite/ULogger.h>
Include dependency graph for ParticleFilter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rtabmap::ParticleFilter
 

Namespaces

 rtabmap
 

Macros

#define RAND   (rand())/((double) RAND_MAX)
 
#define RANDN   (sqrt(-2.0*log(RAND))*cos(TWOPI*RAND))
 
#define TWOPI   (6.2831853071795864769252867665590057683943387987502) /* 2 * pi */
 

Functions

std::vector< double > rtabmap::cumSum (const std::vector< double > &v)
 
std::vector< double > rtabmap::resample (const std::vector< double > &p, const std::vector< double > &w, bool normalizeWeights=false)
 

Macro Definition Documentation

◆ RAND

#define RAND   (rand())/((double) RAND_MAX)

Definition at line 44 of file ParticleFilter.h.

◆ RANDN

#define RANDN   (sqrt(-2.0*log(RAND))*cos(TWOPI*RAND))

Definition at line 51 of file ParticleFilter.h.

◆ TWOPI

#define TWOPI   (6.2831853071795864769252867665590057683943387987502) /* 2 * pi */

Definition at line 38 of file ParticleFilter.h.



rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:38:58