OdeConfig Class Reference

The class $name holds the configurable parameters of the simulation environment. More...

#include <odeconfig.h>

Inherits Configurable.

Inheritance diagram for OdeConfig:

Inheritance graph
[legend]
Collaboration diagram for OdeConfig:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OdeConfig ()
virtual ~OdeConfig ()
virtual paramlist getParamList () const
 The list of all parameters with there value as allocated lists.
virtual paramval getParam (const paramkey &key) const
virtual bool setParam (const paramkey &key, paramval val)
virtual void setOdeHandle (const OdeHandle &odeHandle)
virtual void setVideoRecordingMode (bool mode)
virtual void calcAndSetDrawInterval (double Hz, double rtf)

Public Attributes

bool videoRecordingMode
double simStepSize
double motionPersistence
int drawInterval
int controlInterval
double noise
double gravity
double cameraSpeed
long randomSeed
OdeHandle odeHandle
double realTimeFactor
double fps

Detailed Description

The class $name holds the configurable parameters of the simulation environment.


Constructor & Destructor Documentation

OdeConfig (  ) 

virtual ~OdeConfig (  )  [inline, virtual]


Member Function Documentation

void calcAndSetDrawInterval ( double  Hz,
double  rtf 
) [virtual]

Configurable::paramval getParam ( const paramkey key  )  const [virtual]

Configurable::paramlist getParamList (  )  const [virtual]

The list of all parameters with there value as allocated lists.

Note that these are only parameters that are managed manually (with setParam, getParam)

See also:
getAllParamNames()
Returns:
list of key-value pairs

Reimplemented from Configurable.

void setOdeHandle ( const OdeHandle odeHandle  )  [virtual]

bool setParam ( const paramkey key,
paramval  val 
) [virtual]

Examples:
template_sphererobot/main.cpp.

void setVideoRecordingMode ( bool  mode  )  [virtual]


Member Data Documentation

double cameraSpeed

int controlInterval

int drawInterval

double fps

double gravity

double motionPersistence

double noise

OdeHandle odeHandle

long randomSeed

double realTimeFactor

double simStepSize

bool videoRecordingMode


The documentation for this class was generated from the following files:
Generated on Fri Oct 30 16:29:03 2009 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.4.7