MipTasks::ParticleMutLocNoMRSharedMem Class Reference
[Particle filter for Mutual localization without Multireg (direct filtering)]

Shared memory for the mutual localization. More...

#include <ParticleMutLocTaskNoMR.h>

Inheritance diagram for MipTasks::ParticleMutLocNoMRSharedMem:

MipResources::SharedMem MipResources::Resource MIPObject

List of all members.

Public Member Functions

void initSharedMem ()
 Inits function for the ParticleMutLocNoMRSharedMem.
PosiFeatures getMyProtrusions (MotionModuleTState &state)
 Gets the PosiFeatures of the robot.
Time getTime ()
 Gets the time of the robot.
void setFormation (PoseFeatures &form)
 Sets the formation of the robot.
void setEstimates (PoseFeatures &est)
 Sets the estimates of other robots' fixed frames.
Pose getTarget ()
 Gets the target of the robot.
void setTarget (Pose &t)
 Sets the target of the robot.
bool doMloc ()
 Gets de _doMloc bool.
bool printFormation ()
 Gets de _printFormation bool.
bool printFormationDetails ()
 Gets de _printFormationDetails bool.
vector< int > getAvoidParticleMutLocIds ()
 Gets de ids of the robot that is not necessary to mutual localize.


Detailed Description

Shared memory for the mutual localization.

Author:
Paolo Stegagno

Member Function Documentation

void MipTasks::ParticleMutLocNoMRSharedMem::initSharedMem (  ) 

Inits function for the ParticleMutLocNoMRSharedMem.

PosiFeatures MipTasks::ParticleMutLocNoMRSharedMem::getMyProtrusions ( MotionModuleTState state  ) 

Gets the PosiFeatures of the robot.

Parameters:
[out] &state Were the TState of the protrusions is set.
Returns:
A vector of protrusions.

Time MipTasks::ParticleMutLocNoMRSharedMem::getTime (  )  [virtual]

Gets the time of the robot.

Returns:
The target.

Reimplemented from MipResources::SharedMem.

void MipTasks::ParticleMutLocNoMRSharedMem::setFormation ( PoseFeatures form  ) 

Sets the formation of the robot.

Parameters:
[in] &form New formation.

void MipTasks::ParticleMutLocNoMRSharedMem::setEstimates ( PoseFeatures est  ) 

Sets the estimates of other robots' fixed frames.

Parameters:
[in] &est New estimates.

Pose MipTasks::ParticleMutLocNoMRSharedMem::getTarget (  ) 

Gets the target of the robot.

Returns:
The target.

void MipTasks::ParticleMutLocNoMRSharedMem::setTarget ( Pose t  ) 

Sets the target of the robot.

Parameters:
[in] &t New target pose.

bool MipTasks::ParticleMutLocNoMRSharedMem::doMloc (  ) 

Gets de _doMloc bool.

Returns:
true if the mutual localization has to be performed, false otherwise.

bool MipTasks::ParticleMutLocNoMRSharedMem::printFormation (  ) 

Gets de _printFormation bool.

Returns:
true if requested to print the formation, false otherwise.

bool MipTasks::ParticleMutLocNoMRSharedMem::printFormationDetails (  ) 

Gets de _printFormationDetails bool.

Returns:
true if requested to print all estimates, false otherwise.

vector< int > MipTasks::ParticleMutLocNoMRSharedMem::getAvoidParticleMutLocIds (  ) 

Gets de ids of the robot that is not necessary to mutual localize.

Returns:
A vector containing the ids of the robot that is not necessary to mutual localize.


The documentation for this class was generated from the following files:

Generated on Mon Feb 20 07:01:13 2017 for MIP by  doxygen 1.5.6