|
| FeedbackWiring (NoiseGenerator *noise, Mode mode=Context, double feedbackratio=0.9, const std::string &name="FeedBackWiring") |
| constructor More...
|
|
virtual | ~FeedbackWiring () |
|
virtual std::list< iparamkey > | getInternalParamNames () const |
| The list of the names of all internal parameters given by getInternalParams(). More...
|
|
virtual std::list< iparamval > | getInternalParams () const |
|
virtual matrix::Matrix | getFeedbackRatio () const |
| return the feedback ratio vector More...
|
|
virtual void | setFeedbackRatio (const matrix::Matrix &) |
| sets the feedback ratio vector. More...
|
|
| AbstractWiring (NoiseGenerator *noise, int plotMode=Controller, const std::string &name="AbstractWiring") |
| constructor More...
|
|
virtual | ~AbstractWiring () |
| destructor More...
|
|
virtual bool | init (int robotsensornumber, int robotmotornumber, RandGen *randGen=0) |
| Initializes the number of sensors and motors from robot (to be precise the internal parameters rsensornumber and rmotornumber!), calculates the number of sensors and motors on controller side. More...
|
|
virtual bool | wireSensors (const sensor *rsensors, int rsensornumber, sensor *csensors, int csensornumber, double noiseStrength) |
| Realizes wiring from robot sensors to controller sensors. More...
|
|
virtual bool | wireMotors (motor *rmotors, int rmotornumber, const motor *cmotors, int cmotornumber) |
| Realizes wiring from controller motor outputs to robot motors. More...
|
|
virtual int | getRobotSensornumber () |
| Returns the number of sensors on robot side. More...
|
|
virtual int | getRobotMotornumber () |
| Returns the number of motors on robot side. More...
|
|
virtual int | getControllerSensornumber () |
| Returns the number of sensors on controller side. More...
|
|
virtual int | getControllerMotornumber () |
| Returns the number of motors on controller side. More...
|
|
virtual std::list
< SensorMotorInfo > | wireSensorInfos (const std::list< SensorMotorInfo > &robotSensorInfos) |
| routes the infos of the motors from robot to controller More...
|
|
virtual std::list
< SensorMotorInfo > | wireMotorInfos (const std::list< SensorMotorInfo > &robotMotorInfos) |
| routes the infos of the motors from robot to controller More...
|
|
virtual void | reset () |
| reset internal state More...
|
|
void | addSensorMotorInfosToInspectable (const std::list< SensorMotorInfo > &robotSensorInfos, const std::list< SensorMotorInfo > &robotMotorInfos, const std::list< SensorMotorInfo > &controllerSensorInfos, const std::list< SensorMotorInfo > &controllerMotorInfos) |
| used by WiredController to pass infos to inspectable More...
|
|
| Inspectable (const iparamkey &name="") |
| TYPEDEFS END. More...
|
|
virtual | ~Inspectable () |
|
virtual iparamvalptrlist | getInternalParamsPtr () const |
| be careful: matrices will be ignored More...
|
|
virtual ilayerlist | getStructuralLayers () const |
| Specifies which parameter vector forms a structural layer (in terms of a neural network) The ordering is important. More...
|
|
virtual iconnectionlist | getStructuralConnections () const |
| Specifies which parameter matrix forms a connection between layers (in terms of a neural network) The orderning is not important. More...
|
|
virtual void | addInspectableValue (const iparamkey &key, iparamval const *val, const std::string &descr=std::string()) |
| This is the new style for adding inspectable values. More...
|
|
virtual void | addInspectableMatrix (const iparamkey &key, const matrix::Matrix *m, bool only4x4AndDiag=true, const std::string &descr=std::string()) |
| This is the new style for adding inspectable values. More...
|
|
virtual void | addInspectableDescription (const iparamkey &key, const std::string &descr) |
| adds a description for the given parameter using info-lines The line will start (appart from the #I) with a D for description followed by the key end then followed by the string. More...
|
|
virtual void | addInfoLine (std::string infoLine) |
| Adds an info line to this inspectable instance. More...
|
|
virtual void | addInfoLines (std::list< std::string > infoLineList) |
| Adds a bunch of infolines with addInfoLine to this inspectable instance. More...
|
|
virtual void | removeInfoLines () |
| Removes all infolines from this inspectable instance. More...
|
|
virtual const infoLinesList & | getInfoLines () const |
| Returns all infolines added to this inspectable instance. More...
|
|
virtual void | addInspectable (Inspectable *insp) |
| Adds an inspectable as a child object. More...
|
|
virtual void | removeInspectable (Inspectable *insp) |
| Removes an inspectable as a child object. More...
|
|
virtual void | setNameOfInspectable (const iparamkey &name) |
| set the name of the inspectable More...
|
|
virtual const iparamkey | getNameOfInspectable () const |
| return the name of the inspectable, getName() would conflict with Configurable::getName() too often More...
|
|
virtual const inspectableList & | getInspectables () const |
| Returns the list containing all inspectable children. More...
|
|
Implements essentionally a one to one wiring with feedback connections.
The feedback connections from output to input are parameterised with a feedback strength. It is possible to generate virtual motors for context sensors.
In order to change the feedback strength after initialisation use the following code
wiring->setFeedbackRatio(rs);