#include <one2onewiring.h>
Inherits AbstractWiring.
Inherited by SelectiveOne2OneWiring.
Inheritance diagram for One2OneWiring:
Public Member Functions | |
One2OneWiring (NoiseGenerator *noise, bool plotNoise=false) | |
constructor | |
virtual | ~One2OneWiring () |
destructor | |
virtual bool | init (int robotsensornumber, int robotmotornumber) |
initializes the number of sensors and motors on robot side, calculate number of sensors and motors on controller side | |
virtual bool | wireSensors (const sensor *rsensors, int rsensornumber, sensor *csensors, int csensornumber, double noise) |
Realizes one to one wiring from robot sensors to controller sensors. | |
virtual bool | wireMotors (motor *rmotors, int rmotornumber, const motor *cmotors, int cmotornumber) |
Realizes one to one wiring from controller motor outputs to robot motors. | |
virtual std::list< iparamkey > | getInternalParamNames () const |
Returns the list of the names of all internal parameters. | |
virtual std::list< iparamval > | getInternalParams () const |
The list of the values of all internal parameters given by getInternalParams(). | |
Protected Attributes | |
bool | plotNoise |
TRUE for plotting noise values, FALSE for not plotting. | |
sensor * | noisevals |
for storing the noise values |
integration/main.cpp, and main.cpp.
|
constructor
|
|
destructor
|
|
Returns the list of the names of all internal parameters.
Reimplemented from AbstractWiring.
|
|
The list of the values of all internal parameters given by getInternalParams(). (in the order given by getInternalParamNames()) Reimplemented from AbstractWiring.
|
|
initializes the number of sensors and motors on robot side, calculate number of sensors and motors on controller side
Implements AbstractWiring.
Reimplemented in SelectiveOne2OneWiring.
|
|
Realizes one to one wiring from controller motor outputs to robot motors.
Implements AbstractWiring.
|
|
Realizes one to one wiring from robot sensors to controller sensors.
Implements AbstractWiring.
Reimplemented in SelectiveOne2OneWiring.
|
|
for storing the noise values
|
|
TRUE for plotting noise values, FALSE for not plotting.
|