MipResources::SharedMem Class Reference
[Shared Memory]

This class represents a memory block shared by all tasks. More...

#include <SharedMem.h>

Inheritance diagram for MipResources::SharedMem:

MipResources::Resource MIPObject MipTasks::AntiSimmetryTaskSharedMem MipTasks::ClearingSharedMem MipTasks::DriverSharedMem MipTasks::EmergencyLockSharedMem MipTasks::ExampleTaskSharedMem MipTasks::ExampleTaskSharedMem MipTasks::FeatExtrCamSharedMem MipTasks::FeatExtrSharedMem MipTasks::FormControlTaskSharedMem MipTasks::FormUpdateSharedMem MipTasks::JoystickSharedMem MipTasks::LaserNavigationSharedMem MipTasks::LineFollowingSharedMem MipTasks::Localization3DSharedMem MipTasks::MutLocSharedMem MipTasks::ObstacleAvoidanceSharedMem MipTasks::OfflinerTaskSharedMem MipTasks::ParticleMutLocCamOffSharedMem MipTasks::ParticleMutLocCamSharedMem MipTasks::ParticleMutLocNoMRSharedMem MipTasks::ParticleMutLocSharedMem MipTasks::PHDCamFilterTaskSharedMem MipTasks::PHDFilterTaskSharedMem MipTasks::PursuingSharedMem MipTasks::PursuingSharedMem MipTasks::RemoteRobSharedMem MipTasks::ScanMatchingSharedMem MipTasks::TrackerSharedMem

List of all members.

Public Member Functions

 SharedMem (int argc, const char *argv[])
 Constructor.
ResourcePlate getPlate () const
 Gets plate of the resource.
virtual Time getTime ()
 Gets the time.

Protected Member Functions

Time setRealTime ()
 Sets the execution to real time.
Time setSimulatedTime ()
 Sets the execution to simulated time.

Protected Attributes

Time _time
bool _realTime
bool _emergencyLock
bool _printPose
bool _printScan
bool _printFeat
bool _printFormation
bool _printFormationDetails
bool _printTarget
bool _doMloc
bool _doAutoNavigation
bool _doTracking
bool _newPath
bool _useDFL
PosiFeaturesmyProtrusions
MotionModuleTStatemyProtrusionsTState
PosiFeaturesmyCorners
MotionModuleTStatemyCornersTState
MRControlInputs _controlInputs
Time _controlInputTime
PoseFeaturesformation
PoseFeaturesestimates
Posetarget
Pathpath
TimeLawtimeLaw
vector< int > * avoidMutLocIds
string gaussianMixture
Angle orientation
vector< Angle > * myCamObs
MotionModuleTStatemyCamObsTState
Decimal _controlInputLinVelX
Decimal _controlInputLinVelY
Decimal _controlInputLinVelZ
Decimal _controlInputAngVelX
Decimal _controlInputAngVelY
Decimal _controlInputAngVelZ
Angle _attitudeRoll
Angle _attitudePitch
Angle _yaw
Decimal _height
vector< PositionmeasCam
map< int, PosegtMobRobQuad


Detailed Description

This class represents a memory block shared by all tasks.

This class represents a memory block shared by all tasks. It is the only way to communicates data among different task on the same robot.

Author:
Paolo Stegagno

Constructor & Destructor Documentation

MipResources::SharedMem::SharedMem ( int  argc,
const char *  argv[] 
)

Constructor.


Member Function Documentation

ResourcePlate MipResources::SharedMem::getPlate (  )  const [inline, virtual]

Gets plate of the resource.

Implements MipResources::Resource.

Time MipResources::SharedMem::getTime (  )  [virtual]

Gets the time.

Gets the actual time if _realTime = true (default). Gets the simulation time (_time) otherwise.

Reimplemented in MipTasks::ParticleMutLocSharedMem, and MipTasks::ParticleMutLocNoMRSharedMem.

Time MipResources::SharedMem::setRealTime (  )  [protected]

Sets the execution to real time.

Time MipResources::SharedMem::setSimulatedTime (  )  [protected]

Sets the execution to simulated time.


Member Data Documentation

vector<int>* MipResources::SharedMem::avoidMutLocIds [protected]


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