#include <multi_controller.h>
Inherits AbstractController.
Inheritance diagram for MultiController:
Public Member Functions | |
| MultiController () | |
| virtual void | init (int sensornumber, int motornumber) |
| initialisation of the controller with the given sensor/ motornumber Must be called before use. | |
| virtual paramkey | getName () const |
| returns the name of the object (with version number) | |
| virtual int | getSensorNumber () const |
| Number of sensors the controller was initialised with or 0 if not initialised. | |
| virtual int | getMotorNumber () const |
| Number of motors the controller was initialised with or 0 if not initialised. | |
| virtual void | step (const sensor *sensors, int sensornumber, motor *motors, int motornumber) |
| performs one step (includes learning). | |
| virtual void | stepNoLearning (const sensor *, int number_sensors, motor *, int number_motors) |
| performs one step without learning. | |
| virtual std::list< iparamkey > | getInternalParamNames () const |
| The list of the names of all internal parameters given by getInternalParams(). | |
| virtual list< iparamval > | getInternalParams () const |
| The list of the names of all internal parameters given by getInternalParams(). | |
| 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 paramlist | getParamList () const |
| The list of all parameters with there value as allocated lists. | |
| ControllerContainer & | get_controller_container () |
| Initialises the registers the given callback functions. | |
| ControllerContainer::iterator | get_active_controller () |
| void | set_active_controller (ControllerContainer::iterator it) |
| void | next_controller () |
Protected Attributes | |
| ControllerContainer | controller_container |
| ControllerContainer::iterator | it_active_controller |
|
|
|
|
|
|
|
|
Initialises the registers the given callback functions.
|
|
|
The list of the names of all internal parameters given by getInternalParams().
Implements Inspectable.
|
|
|
The list of the names of all internal parameters given by getInternalParams().
Implements Inspectable.
|
|
|
Number of motors the controller was initialised with or 0 if not initialised.
Reimplemented from AbstractController.
|
|
|
returns the name of the object (with version number)
Reimplemented from Configurable.
|
|
|
returns the value of the requested parameter or 0 (+ error message to stderr) if unknown.
Reimplemented from Configurable.
|
|
|
The list of all parameters with there value as allocated lists.
Reimplemented from Configurable.
|
|
|
Number of sensors the controller was initialised with or 0 if not initialised.
Reimplemented from AbstractController.
|
|
||||||||||||
|
initialisation of the controller with the given sensor/ motornumber Must be called before use.
Reimplemented from AbstractController.
|
|
|
|
|
|
|
|
||||||||||||
|
sets the value of the given parameter or does nothing if unknown.
Reimplemented from Configurable.
|
|
||||||||||||||||||||
|
performs one step (includes learning). Calculates motor commands from sensor inputs.
Reimplemented from AbstractController.
|
|
||||||||||||||||||||
|
performs one step without learning.
Reimplemented from AbstractController.
|
|
|
|
|
|
|
1.3.8