iCub-main
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GazeModule Class Reference
+ Inheritance diagram for GazeModule:

Classes

struct  Context
 

Public Member Functions

 GazeModule ()
 
bool configure (ResourceFinder &rf)
 
bool respond (const Bottle &command, Bottle &reply) override
 
void dispose ()
 
bool interruptModule () override
 
bool close () override
 
double getPeriod () override
 
bool updateModule () override
 

Protected Member Functions

PolyDriver * waitPart (const Property &partOpt, const double ping_robot_tmo)
 
void storeContext (int *id)
 
bool restoreContext (const int id)
 
bool deleteContexts (Bottle *contextIdList)
 
bool getInfo (Bottle &info)
 
bool tweakSet (const Bottle &options)
 
bool tweakGet (Bottle &options)
 
void saveTweakFile ()
 
iKinLimbVersion constrainHeadVersion (const iKinLimbVersion &ver_in)
 

Protected Attributes

ResourceFinder * rf
 
Localizerloc
 
EyePinvRefGeneyesRefGen
 
Solverslv
 
Controllerctrl
 
PolyDriver * drvTorso
 
PolyDriver * drvHead
 
PolyDriver mas_client
 
ExchangeData commData
 
bool interrupting
 
bool doSaveTweakFile
 
mutex mutexContext
 
mutex mutexTweak
 
IThreeAxisGyroscopes * iGyro
 
IThreeAxisLinearAccelerometers * iAccel
 
RpcServer rpcPort
 
int contextIdCnt
 
std::map< int, ContextcontextMap
 

Detailed Description

Definition at line 585 of file main.cpp.

Constructor & Destructor Documentation

◆ GazeModule()

GazeModule::GazeModule ( )
inline

Definition at line 1091 of file main.cpp.

Member Function Documentation

◆ close()

bool GazeModule::close ( )
inlineoverride

Definition at line 2133 of file main.cpp.

◆ configure()

bool GazeModule::configure ( ResourceFinder &  rf)
inline

Definition at line 1107 of file main.cpp.

◆ constrainHeadVersion()

iKinLimbVersion GazeModule::constrainHeadVersion ( const iKinLimbVersion ver_in)
inlineprotected

Definition at line 1065 of file main.cpp.

◆ deleteContexts()

bool GazeModule::deleteContexts ( Bottle *  contextIdList)
inlineprotected

Definition at line 737 of file main.cpp.

◆ dispose()

void GazeModule::dispose ( )
inline

Definition at line 2079 of file main.cpp.

◆ getInfo()

bool GazeModule::getInfo ( Bottle &  info)
inlineprotected

Definition at line 757 of file main.cpp.

◆ getPeriod()

double GazeModule::getPeriod ( )
inlineoverride

Definition at line 2140 of file main.cpp.

◆ interruptModule()

bool GazeModule::interruptModule ( )
inlineoverride

Definition at line 2121 of file main.cpp.

◆ respond()

bool GazeModule::respond ( const Bottle &  command,
Bottle &  reply 
)
inlineoverride

Definition at line 1304 of file main.cpp.

◆ restoreContext()

bool GazeModule::restoreContext ( const int  id)
inlineprotected

Definition at line 702 of file main.cpp.

◆ saveTweakFile()

void GazeModule::saveTweakFile ( )
inlineprotected

Definition at line 999 of file main.cpp.

◆ storeContext()

void GazeModule::storeContext ( int *  id)
inlineprotected

Definition at line 672 of file main.cpp.

◆ tweakGet()

bool GazeModule::tweakGet ( Bottle &  options)
inlineprotected

Definition at line 942 of file main.cpp.

◆ tweakSet()

bool GazeModule::tweakSet ( const Bottle &  options)
inlineprotected

Definition at line 795 of file main.cpp.

◆ updateModule()

bool GazeModule::updateModule ( )
inlineoverride

Definition at line 2146 of file main.cpp.

◆ waitPart()

PolyDriver * GazeModule::waitPart ( const Property &  partOpt,
const double  ping_robot_tmo 
)
inlineprotected

Definition at line 636 of file main.cpp.

Member Data Documentation

◆ commData

ExchangeData GazeModule::commData
protected

Definition at line 595 of file main.cpp.

◆ contextIdCnt

int GazeModule::contextIdCnt
protected

Definition at line 632 of file main.cpp.

◆ contextMap

std::map<int,Context> GazeModule::contextMap
protected

Definition at line 633 of file main.cpp.

◆ ctrl

Controller* GazeModule::ctrl
protected

Definition at line 592 of file main.cpp.

◆ doSaveTweakFile

bool GazeModule::doSaveTweakFile
protected

Definition at line 597 of file main.cpp.

◆ drvHead

PolyDriver * GazeModule::drvHead
protected

Definition at line 593 of file main.cpp.

◆ drvTorso

PolyDriver* GazeModule::drvTorso
protected

Definition at line 593 of file main.cpp.

◆ eyesRefGen

EyePinvRefGen* GazeModule::eyesRefGen
protected

Definition at line 590 of file main.cpp.

◆ iAccel

IThreeAxisLinearAccelerometers* GazeModule::iAccel
protected

Definition at line 602 of file main.cpp.

◆ iGyro

IThreeAxisGyroscopes* GazeModule::iGyro
protected

Definition at line 601 of file main.cpp.

◆ interrupting

bool GazeModule::interrupting
protected

Definition at line 596 of file main.cpp.

◆ loc

Localizer* GazeModule::loc
protected

Definition at line 589 of file main.cpp.

◆ mas_client

PolyDriver GazeModule::mas_client
protected

Definition at line 594 of file main.cpp.

◆ mutexContext

mutex GazeModule::mutexContext
protected

Definition at line 598 of file main.cpp.

◆ mutexTweak

mutex GazeModule::mutexTweak
protected

Definition at line 599 of file main.cpp.

◆ rf

ResourceFinder* GazeModule::rf
protected

Definition at line 588 of file main.cpp.

◆ rpcPort

RpcServer GazeModule::rpcPort
protected

Definition at line 604 of file main.cpp.

◆ slv

Solver* GazeModule::slv
protected

Definition at line 591 of file main.cpp.


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