24 #ifndef __ONEACTIVEMULTIPASSIVECONTROLLER_H
25 #define __ONEACTIVEMULTIPASSIVECONTROLLER_H
58 virtual void init(
int sensornumber,
int motornumber,
RandGen* randGen = 0);
68 virtual void step(
const sensor* sensors,
int sensornumber,
69 motor* motors,
int motornumber);
75 motor* motors,
int motornumber);
virtual ~OneActiveMultiPassiveController()
Definition: oneactivemultipassivecontroller.cpp:32
Abstract class for robot controller (with some basic functionality).
Definition: abstractcontroller.h:46
Abstract class (interface) for using multiple controller.
Definition: abstractmulticontroller.h:41
iparamkey name
Definition: inspectable.h:251
random generator with 48bit integer arithmentic
Definition: randomgenerator.h:34
AbstractController * controller
Definition: abstractcontrolleradapter.h:158
double sensor
Definition: abstractcontroller.h:48
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: oneactivemultipassivecontroller.cpp:44
virtual void stepNoLearning(const sensor *sensors, int sensornumber, motor *motors, int motornumber)
performs one step without learning.
Definition: oneactivemultipassivecontroller.cpp:63
class (interface) for using multiple controller, the first one is the active one, which generates mot...
Definition: oneactivemultipassivecontroller.h:35
double motor
Definition: types.h:30
motor * passiveMotors
Definition: oneactivemultipassivecontroller.h:114
virtual void step(const sensor *sensors, int sensornumber, motor *motors, int motornumber)
performs one step (includes learning).
Definition: oneactivemultipassivecontroller.cpp:52
OneActiveMultiPassiveController(AbstractController *controller, const std::string &name="1ActXPassController", const std::string &revision="$ID$")
contructor (hint: use $ID$ for revision)
Definition: oneactivemultipassivecontroller.cpp:29