#include <teachable.h>
Inherited by InvertMotorNStep.
Inheritance diagram for Teachable:
Public Member Functions | |
virtual | ~Teachable () |
virtual void | setMotorTeaching (const matrix::Matrix &teaching)=0 |
The given motor teaching signal is used for this timestep. | |
virtual void | setSensorTeaching (const matrix::Matrix &teaching)=0 |
The given sensor teaching signal (distal learning) is used for this timestep. | |
virtual matrix::Matrix | getLastMotorValues ()=0 |
returns the last motor values (useful for cross motor coupling) | |
virtual matrix::Matrix | getLastSensorValues ()=0 |
returns the last sensor values (useful for cross sensor coupling) |
virtual ~Teachable | ( | ) | [inline, virtual] |
virtual matrix::Matrix getLastMotorValues | ( | ) | [pure virtual] |
virtual matrix::Matrix getLastSensorValues | ( | ) | [pure virtual] |
virtual void setMotorTeaching | ( | const matrix::Matrix & | teaching | ) | [pure virtual] |
The given motor teaching signal is used for this timestep.
It is used as a feed forward teaching signal for the controller. Please note, that the teaching signal has to be given each timestep for a continuous teaching process.
teaching,: | matrix with dimensions (motornumber,1) |
Implemented in InvertMotorNStep.
virtual void setSensorTeaching | ( | const matrix::Matrix & | teaching | ) | [pure virtual] |
The given sensor teaching signal (distal learning) is used for this timestep.
The belonging motor teachung signal is calculated by the inverse model. See setMotorTeaching
teaching,: | matrix with dimensions (motorsensors,1) |
Implemented in InvertMotorNStep.