MipTasks::ClearingSharedMem Class Reference
[Clearing]

Shared memory for the clearing. More...

#include <ClearingTask.h>

Inheritance diagram for MipTasks::ClearingSharedMem:

MipResources::SharedMem MipResources::Resource MIPObject

List of all members.

Public Member Functions

void initSharedMem ()
 Inits function for the ClearingSharedMem.
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 doAutoNavigation ()
 Gets de _doAutoNavigation bool.
bool printFormation ()
 Gets de _printFormation bool.
bool printFormationDetails ()
 Gets de _printFormationDetails bool.
vector< int > getAvoidClearingIds ()
 Gets de ids of the robot that is not necessary to mutual localize.


Detailed Description

Shared memory for the clearing.

Author:
Paolo Stegagno

Member Function Documentation

void MipTasks::ClearingSharedMem::initSharedMem (  ) 

Inits function for the ClearingSharedMem.

PosiFeatures MipTasks::ClearingSharedMem::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::ClearingSharedMem::setFormation ( PoseFeatures form  ) 

Sets the formation of the robot.

Parameters:
[in] &form New formation.

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

Sets the estimates of other robots' fixed frames.

Parameters:
[in] &est New estimates.

Pose MipTasks::ClearingSharedMem::getTarget (  ) 

Gets the target of the robot.

Returns:
The target.

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

Sets the target of the robot.

Parameters:
[in] &t New target pose.

bool MipTasks::ClearingSharedMem::doMloc (  ) 

Gets de _doMloc bool.

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

bool MipTasks::ClearingSharedMem::doAutoNavigation (  ) 

Gets de _doAutoNavigation bool.

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

bool MipTasks::ClearingSharedMem::printFormation (  ) 

Gets de _printFormation bool.

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

bool MipTasks::ClearingSharedMem::printFormationDetails (  ) 

Gets de _printFormationDetails bool.

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

vector< int > MipTasks::ClearingSharedMem::getAvoidClearingIds (  ) 

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