iCub-main
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
particleFilter.h File Reference
#include <yarp/os/BufferedPort.h>
#include <yarp/os/RFModule.h>
#include <yarp/os/Network.h>
#include <yarp/os/Thread.h>
#include <yarp/os/PeriodicThread.h>
#include <yarp/os/Time.h>
#include <yarp/os/Stamp.h>
#include <yarp/sig/Vector.h>
#include <yarp/sig/Image.h>
#include <yarp/os/RpcClient.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <mutex>
#include <time.h>
#include <string>
#include <iostream>
#include <iomanip>
#include <deque>
#include <opencv2/core/core_c.h>
#include <opencv2/imgproc/imgproc_c.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

struct  TemplateStruct
 
class  PARTICLEThread
 
struct  PARTICLEThread::histogram
 
struct  PARTICLEThread::particle
 
class  PARTICLEManager
 
class  PARTICLEModule
 

Macros

#define PARTICLES   1000
 
#define MAX_OBJECTS   1
 
#define NH   10
 
#define NS   10
 
#define NV   10
 
#define S_THRESH   0.1
 
#define V_THRESH   0.2
 
#define H_MAX   360.0
 
#define S_MAX   1.0
 
#define V_MAX   1.0
 
#define TRANS_X_STD   10.0f
 
#define TRANS_Y_STD   7.5f
 
#define TRANS_S_STD   0.001f
 
#define pfot_A1   2.0f
 
#define pfot_A2   -1.0f
 
#define pfot_B0   1.0000f
 
#define LAMBDA   10
 
#define TEMP_LIST_SIZE   10
 
#define TEMP_LIST_PARTICLE_THRES_HIGH   0.9
 
#define TEMP_LIST_PARTICLE_THRES_LOW   0.5
 

Typedefs

typedef struct TemplateStruct TemplateStruct
 

Functions

int particle_cmp (const void *p1, const void *p2)
 

Macro Definition Documentation

◆ H_MAX

#define H_MAX   360.0

Definition at line 58 of file particleFilter.h.

◆ LAMBDA

#define LAMBDA   10

Definition at line 70 of file particleFilter.h.

◆ MAX_OBJECTS

#define MAX_OBJECTS   1

Definition at line 49 of file particleFilter.h.

◆ NH

#define NH   10

Definition at line 51 of file particleFilter.h.

◆ NS

#define NS   10

Definition at line 52 of file particleFilter.h.

◆ NV

#define NV   10

Definition at line 53 of file particleFilter.h.

◆ PARTICLES

#define PARTICLES   1000

Definition at line 47 of file particleFilter.h.

◆ pfot_A1

#define pfot_A1   2.0f

Definition at line 66 of file particleFilter.h.

◆ pfot_A2

#define pfot_A2   -1.0f

Definition at line 67 of file particleFilter.h.

◆ pfot_B0

#define pfot_B0   1.0000f

Definition at line 68 of file particleFilter.h.

◆ S_MAX

#define S_MAX   1.0

Definition at line 59 of file particleFilter.h.

◆ S_THRESH

#define S_THRESH   0.1

Definition at line 55 of file particleFilter.h.

◆ TEMP_LIST_PARTICLE_THRES_HIGH

#define TEMP_LIST_PARTICLE_THRES_HIGH   0.9

Definition at line 74 of file particleFilter.h.

◆ TEMP_LIST_PARTICLE_THRES_LOW

#define TEMP_LIST_PARTICLE_THRES_LOW   0.5

Definition at line 75 of file particleFilter.h.

◆ TEMP_LIST_SIZE

#define TEMP_LIST_SIZE   10

Definition at line 73 of file particleFilter.h.

◆ TRANS_S_STD

#define TRANS_S_STD   0.001f

Definition at line 64 of file particleFilter.h.

◆ TRANS_X_STD

#define TRANS_X_STD   10.0f

Definition at line 62 of file particleFilter.h.

◆ TRANS_Y_STD

#define TRANS_Y_STD   7.5f

Definition at line 63 of file particleFilter.h.

◆ V_MAX

#define V_MAX   1.0

Definition at line 60 of file particleFilter.h.

◆ V_THRESH

#define V_THRESH   0.2

Definition at line 56 of file particleFilter.h.

Typedef Documentation

◆ TemplateStruct

Function Documentation

◆ particle_cmp()

int particle_cmp ( const void *  p1,
const void *  p2 
)

Definition at line 32 of file particleFilter.cpp.