24 #ifndef __MEASUREADAPTER_H
25 #define __MEASUREADAPTER_H
68 virtual void init(
int sensornumber,
int motornumber,
RandGen* randGen = 0);
77 virtual void step(
const sensor* sensors,
int sensornumber,
78 motor* motors,
int motornumber);
84 motor* motors,
int motornumber);
virtual std::list< ComplexMeasure * > addSensorComplexMeasure(char *measureName, ComplexMeasureMode mode, int numberBins, int stepSize)
Adds a ComplexMeasure for measuring sensor values.
Definition: measureadapter.cpp:39
virtual ~MeasureAdapter()
Definition: measureadapter.cpp:34
Abstract class for robot controller (with some basic functionality).
Definition: abstractcontroller.h:46
virtual void step(const sensor *sensors, int sensornumber, motor *motors, int motornumber)
performs one step (includes learning).
Definition: measureadapter.cpp:82
StatisticTools * st
Definition: measureadapter.h:112
Abstract adapter class (interface) for robot controller.
Definition: abstractcontrolleradapter.h:52
double sensor
Definition: types.h:29
iparamkey name
Definition: inspectable.h:251
random generator with 48bit integer arithmentic
Definition: randomgenerator.h:34
AbstractController * controller
Definition: abstractcontrolleradapter.h:158
sensor * sensorValues
Definition: measureadapter.h:115
virtual StatisticTools * getStatisticTools()
Definition: measureadapter.h:109
virtual void stepNoLearning(const sensor *sensors, int sensornumber, motor *motors, int motornumber)
performs one step without learning.
Definition: measureadapter.cpp:92
motor * motorValues
Definition: measureadapter.h:114
MeasureAdapter(AbstractController *controller, const std::string &name="MeasureAdapter", const std::string &revision="$ID$")
Constructs the MeasureAdapter.
Definition: measureadapter.cpp:27
ComplexMeasureMode
measure modes of complex measures.
Definition: complexmeasure.h:34
This is a passive controller adapter who is passive and can handle AbstractMeasures.
Definition: measureadapter.h:40
double motor
Definition: types.h:30
virtual void init(int sensornumber, int motornumber, RandGen *randGen=0)
initialisation of the controller with the given sensor/ motornumber Must NORMALLY be called before us...
Definition: measureadapter.cpp:74
bool initialized
Definition: measureadapter.h:113