icub-client
Classes
referenceFrameHandler

Reference Frame Handler Version:1.0. More...

+ Collaboration diagram for referenceFrameHandler:

Classes

struct  FrameInfo
 
class  FrameHandlerModule
 

Detailed Description

Reference Frame Handler Version:1.0.

Author
Stéphane Lallée steph.nosp@m.ane..nosp@m.lalle.nosp@m.e@gm.nosp@m.ail.c.nosp@m.om

Description

Module responsible for handling the conversion between multiple reference frame (e.g multiple kinects, tactile table, etc)

Parameters

Input Ports

Output Ports

Services


Class Documentation

◆ FrameInfo

struct FrameInfo

Definition at line 44 of file main.cpp.

Class Members
double calibrationError
CalibReferenceWithMatchedPoints calibrator
Matrix H
Matrix HInv
bool isCalibrated
string name
Matrix S
Matrix SInv

◆ FrameHandlerModule

class FrameHandlerModule

Definition at line 56 of file main.cpp.

+ Inheritance diagram for FrameHandlerModule:

Public Member Functions

 FrameHandlerModule ()
 
bool configure (ResourceFinder &rf)
 
Matrix inverseScale (const Matrix &in)
 Inverts the scale of the provided matrix. More...
 
void LoadMatrices (Property &prop)
 LoadMatrices - reads the matrices from the specified matricesFile file. More...
 
void SaveMatrices (const string &fileName)
 Saves the matrices to a file; this file can later be loaded using LoadMatrices More...
 
void LoadMatricesFromOPC ()
 Loads the calibration matrices from the OPC. More...
 
void SaveMatrices2OPC ()
 Saves the calibration matrices to the OPC. More...
 
bool respond (const Bottle &cmd, Bottle &reply)
 
bool interruptModule ()
 
bool close ()
 
bool updateModule ()
 
double getPeriod ()
 

Constructor & Destructor Documentation

◆ FrameHandlerModule()

FrameHandlerModule::FrameHandlerModule ( )
inline

Definition at line 69 of file main.cpp.

Member Function Documentation

◆ close()

bool FrameHandlerModule::close ( )
inline

Definition at line 734 of file main.cpp.

◆ configure()

bool FrameHandlerModule::configure ( ResourceFinder &  rf)
inline

Definition at line 73 of file main.cpp.

◆ getPeriod()

double FrameHandlerModule::getPeriod ( )
inline

Definition at line 750 of file main.cpp.

◆ interruptModule()

bool FrameHandlerModule::interruptModule ( )
inline

Definition at line 726 of file main.cpp.

◆ inverseScale()

Matrix FrameHandlerModule::inverseScale ( const Matrix &  in)
inline

Inverts the scale of the provided matrix.

Parameters
in- input matrix
Returns
Matrix with inverted scale

Definition at line 121 of file main.cpp.

◆ LoadMatrices()

void FrameHandlerModule::LoadMatrices ( Property &  prop)
inline

LoadMatrices - reads the matrices from the specified matricesFile file.

Use SaveMatrices to write this file in the proper format.

Definition at line 133 of file main.cpp.

◆ LoadMatricesFromOPC()

void FrameHandlerModule::LoadMatricesFromOPC ( )
inline

Loads the calibration matrices from the OPC.

Deprecated:
This is not supported anymore and may be removed in future versions

Definition at line 225 of file main.cpp.

◆ respond()

bool FrameHandlerModule::respond ( const Bottle &  cmd,
Bottle &  reply 
)
inline

Definition at line 372 of file main.cpp.

◆ SaveMatrices()

void FrameHandlerModule::SaveMatrices ( const string &  fileName)
inline

Saves the matrices to a file; this file can later be loaded using LoadMatrices

Parameters
fileName- absolute path to the file

Definition at line 178 of file main.cpp.

◆ SaveMatrices2OPC()

void FrameHandlerModule::SaveMatrices2OPC ( )
inline

Saves the calibration matrices to the OPC.

Deprecated:
This is not supported anymore and may be removed in future versions

Definition at line 299 of file main.cpp.

◆ updateModule()

bool FrameHandlerModule::updateModule ( )
inline

Definition at line 744 of file main.cpp.