OdeConfig Class Reference

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

#include <odeconfig.h>

Inherits Configurable.

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
 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)
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]

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.

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]

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

Reimplemented from Configurable.

Examples:
template_sphererobot/main.cpp.
void setVideoRecordingMode ( bool  mode  )  [virtual]

Member Data Documentation

double cameraSpeed
double fps
double gravity
double noise
long randomSeed
double simStepSize

The documentation for this class was generated from the following files:
Generated on Fri Nov 4 10:59:40 2011 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.6.3