MRXT: The Multi-Robot eXploration Tool
Multi-Robot autonomous exploration and mapping simulator.
Public Member Functions | Private Attributes
particle Class Reference

Implements a particle in a rao-blackwellized particle filter for visual slam. More...

#include <particle.h>

List of all members.

Public Member Functions

 particle ()
 Default Constructor.
 particle (int nRobots, float w, float h, float res, float x, float y, int gmtype, int vmtype, int nmarks, const ConfigFile &conf)
 Constructor.
 particle (const particle &)
 Copy Constructor.
virtual ~particle ()
 Default Destructor.
const pointgetCell (int robot)
 returns the cell where the robot is located
pointgetDataCell ()
 returns a pointer to the data array of cells
posegetDataPos ()
 returns a pointer to the data array of poses
binMapgetImprecisePoseMap ()
 returns a binary map of past poses with high dispersion
int getNumRobots ()
 returns the number of robots
gridMapInterfacegetOMap ()
 returns the occupancy grid map
const posegetPos (int robot)
 returns the pose of the robot
binMapgetPrecisePoseMap ()
 returns a binary map of past poses with low dispersion
double getSumLogWeight ()
 returns the weight of the particle
visualMapgetVMap ()
 returns the visual map of landmarks
double getWeight ()
 returns the weight of the particle
void initialize (int nRobots, float w, float h, float res, float x, float y, int gmtype, int vmtype, int nmarks, const ConfigFile &conf)
 initialization
particleoperator= (const particle &)
void releaseVMap ()
void setCell (const point &point, int robot)
 sets the cell where the robot is located
void setPos (const pose &pos, int robot)
 sets the pose of a robot
void setSumLogWeight (double w)
 sets the weight of the particle
void setWeight (double w)
 sets the weight of the particle

Private Attributes

unsigned short height
binMapimprecisePoseMap
int nrobots
gridMapInterfaceoMap
binMapprecisePoseMap
pointrcell
float realHeight
float realWidth
float resolution
poserpos
double sumLogWeight
visualMapvMap
double weight
unsigned short width
float xorigin
float yorigin

Detailed Description

Implements a particle in a rao-blackwellized particle filter for visual slam.

Definition at line 24 of file particle.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs