a simple iCub simulator. More...

Inheritance diagram for iCubSimulator:

Public Slots

void start ()
 Start the simulation of the iCub.
 
void step ()
 Advance the simulation of one step only.
 
void suspend ()
 Suspend the simulation of the iCub.
 

Public Member Functions

 iCubSimulator ()
 Constructor.
 
 ~iCubSimulator ()
 Destructor.
 
virtual void configure (farsa::ConfigurationParameters &params, QString prefix)
 Configure function.
 
farsa::PhyiCubgetICub () const
 return the iCub
 
virtual ParameterSettableUIgetUIManager ()
 Return an instance of the iCubSimulatorViewer class that handle the viewers for the GUI.
 
farsa::WorldgetWorld () const
 return the world
 
virtual void postConfigureInitialization ()
 declare resources and initialize sensors
 
virtual void save (farsa::ConfigurationParameters &params, QString prefix)
 Save function.
 
- Public Member Functions inherited from Component
 Component ()
 Constructor.
 
virtual ~Component ()
 Destructor.
 
void setStatus (QString newStatus)
 used by subclasses to change the status of the experiment
 
QString status ()
 return a text description of the current status of the component
 
- Public Member Functions inherited from ParameterSettableWithConfigureFunction
void addObserver (RuntimeParameterObserver *obs)
 
getRuntimeParameter (QString paramName)
 
 ParameterSettable ()
 
void removeObserver (RuntimeParameterObserver *obs)
 
void setRuntimeParameter (QString paramName, T newvalue)
 
QString typeName () const
 
- Public Member Functions inherited from ParameterSettable
void addObserver (RuntimeParameterObserver *obs)
 
getRuntimeParameter (QString paramName)
 
void removeObserver (RuntimeParameterObserver *obs)
 
void setRuntimeParameter (QString paramName, T newvalue)
 
QString typeName () const
 

Static Public Member Functions

static void describe (QString type)
 Description of all parameters.
 

Additional Inherited Members

- Public Types inherited from ParameterSettableWithConfigureFunction
enum  Property
 
- Signals inherited from Component
void statusChanged (QString newStatus)
 emitted when the status is changed
 
- Public Attributes inherited from ParameterSettableWithConfigureFunction
 AllowMultiple
 
 Default
 
 IsList
 
 IsMandatory
 
- Static Public Attributes inherited from ParameterSettableWithConfigureFunction
static const double Infinity
 
static const int MaxInteger
 
static const int MinInteger
 
- Protected Member Functions inherited from ParameterSettableWithConfigureFunction
void notifyChangesToParam (QString paramName)
 
- Static Protected Member Functions inherited from ParameterSettableWithConfigureFunction
static Descriptor addTypeDescription (QString type, QString shortHelp, QString longHelp=QString(""))
 
static void setGraphicalEditor (QString type)
 

Detailed Description

a simple iCub simulator.

It can be controlled by YARP ports, and hence it can be used with the modules on iCub repository

Definition at line 40 of file icubsimulator.h.

Constructor & Destructor Documentation

Constructor.

Definition at line 33 of file icubsimulator.cpp.

Destructor.

Definition at line 40 of file icubsimulator.cpp.

Member Function Documentation

farsa::PhyiCub* getICub ( ) const
inline

return the iCub

Definition at line 62 of file icubsimulator.h.

Referenced by iCubSimulatorViewer::getViewers().

ParameterSettableUI * getUIManager ( )
virtual

Return an instance of the iCubSimulatorViewer class that handle the viewers for the GUI.

Reimplemented from ParameterSettableWithConfigureFunction.

Definition at line 45 of file icubsimulator.cpp.

farsa::World* getWorld ( ) const
inline

return the world

Definition at line 58 of file icubsimulator.h.

Referenced by iCubSimulatorViewer::getViewers().

void postConfigureInitialization ( )
virtual

declare resources and initialize sensors

Reimplemented from ParameterSettableWithConfigureFunction.

Definition at line 110 of file icubsimulator.cpp.

void start ( )
slot

Start the simulation of the iCub.

Definition at line 130 of file icubsimulator.cpp.

References Component::setStatus().

void step ( )
slot

Advance the simulation of one step only.

Definition at line 138 of file icubsimulator.cpp.

References Component::setStatus().

void suspend ( )
slot

Suspend the simulation of the iCub.

Definition at line 134 of file icubsimulator.cpp.

References Component::setStatus().


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