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 ()
 ~OdeConfig ()
virtual paramkey getName () const
 return the name of the object
virtual paramlist getParamList () const
 The list of all parameters with there value as allocated lists.
virtual paramval getParam (const paramkey &key) const
 returns the value of the requested parameter or 0 (+ error message to stderr) if unknown.
virtual bool setParam (const paramkey &key, paramval val)
 sets the value of the given parameter or does nothing if unknown.
virtual void setOdeHandle (const OdeHandle &odeHandle)
virtual void setVideoRecordingMode (bool mode)

Public Attributes

bool videoRecordingMode
double simStepSize
double realTimeFactor
int drawInterval
int controlInterval
double motionPersistence
double noise
double gravity
double cameraSpeed
bool drawBoundings
std::string name
OdeHandle odeHandle

Private Member Functions

virtual int calcDrawInterval25 ()
 calculates the draw interval with simStepSize and realTimeFactor so that we have 25 frames/sec
virtual int calcDrawInterval50 ()
 calculates the draw interval with simStepSize and realTimeFactor so that we have 50 frames/sec this is much better for graphical visualization (smoother)

Detailed Description

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


Constructor & Destructor Documentation

OdeConfig  ) 
 

~OdeConfig  )  [inline]
 


Member Function Documentation

int calcDrawInterval25  )  [private, virtual]
 

calculates the draw interval with simStepSize and realTimeFactor so that we have 25 frames/sec

int calcDrawInterval50  )  [private, virtual]
 

calculates the draw interval with simStepSize and realTimeFactor so that we have 50 frames/sec this is much better for graphical visualization (smoother)

Configurable::paramkey getName  )  const [virtual]
 

return the name of the object

Reimplemented from Configurable.

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

returns the value of the requested parameter or 0 (+ error message to stderr) if unknown.

Reimplemented from Configurable.

Configurable::paramlist getParamList  )  const [virtual]
 

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

Returns:
list of key-value pairs

Reimplemented from Configurable.

void setOdeHandle const OdeHandle odeHandle  )  [virtual]
 

bool setParam const paramkey key,
paramval  val
[virtual]
 

sets the value of the given parameter or does nothing if unknown.

Reimplemented from Configurable.

void setVideoRecordingMode bool  mode  )  [virtual]
 


Member Data Documentation

double cameraSpeed
 

int controlInterval
 

bool drawBoundings
 

int drawInterval
 

double gravity
 

double motionPersistence
 

std::string name
 

Reimplemented from Configurable.

double noise
 

OdeHandle odeHandle
 

double realTimeFactor
 

double simStepSize
 

bool videoRecordingMode
 


The documentation for this class was generated from the following files:
Generated on Tue Jan 16 02:14:50 2007 for Robotsystem of the Robot Group Leipzig by doxygen 1.3.8