MipTasks::MutLocSharedMem Class Reference
[Mutual localization]

Shared memory for the mutual localization. More...

#include <MutLocTask.h>

Inheritance diagram for MipTasks::MutLocSharedMem:

MipResources::SharedMem MipResources::Resource MIPObject

List of all members.

Public Member Functions

void initSharedMem ()
 Inits function for the MutLocSharedMem.
PosiFeatures getMyProtrusions (MotionModuleTState &state)
 Gets the PosiFeatures 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 > getAvoidMutLocIds ()
 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::MutLocSharedMem::initSharedMem (  ) 

Inits function for the MutLocSharedMem.

PosiFeatures MipTasks::MutLocSharedMem::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.

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

Sets the formation of the robot.

Parameters:
[in] &form New formation.

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

Sets the estimates of other robots' fixed frames.

Parameters:
[in] &est New estimates.

Pose MipTasks::MutLocSharedMem::getTarget (  ) 

Gets the target of the robot.

Returns:
The target.

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

Sets the target of the robot.

Parameters:
[in] &t New target pose.

bool MipTasks::MutLocSharedMem::doMloc (  ) 

Gets de _doMloc bool.

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

bool MipTasks::MutLocSharedMem::printFormation (  ) 

Gets de _printFormation bool.

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

bool MipTasks::MutLocSharedMem::printFormationDetails (  ) 

Gets de _printFormationDetails bool.

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

vector< int > MipTasks::MutLocSharedMem::getAvoidMutLocIds (  ) 

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