Robot Simulator of the Robotics Group for Self-Organization of Control: controllertest.cpp File Reference

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

- File List
- File Members

# controllertest.cpp File Reference

`#include <assert.h>`
`#include <iostream>`
`#include <vector>`
`#include "selforg/sinecontroller.h"`
`#include "selforg/invertmotorspace.h"`
`#include "selforg/invertmotornstep.h"`
`#include "selforg/invertmotorbigmodel.h"`
`#include "selforg/multilayerffnn.h"`
`#include "selforg/dercontroller.h"`

Include dependency graph for controllertest.cpp:

## Functions
void | myrobot (double *sensors, int sensornumber, const double *motors, int motornumber)
| The robot control should go here.
int | test (AbstractController *controller)
int | main ()
## Variables
const int | MNumber = 2
const int | SNumber = 2

## Function Documentation

int main | ( |  | ) |

Examples:
  directconnect/directconnect.cpp, integration/main.cpp, matrix/matrixexample.cpp, and template_sphererobot/main.cpp.

void myrobot | ( | double * | sensors,
|  | int | sensornumber,
|  | const double * | motors,
|  | int | motornumber |
| ) |  |  |

The robot control should go here.

Parameters:

  | sensors | list of sensor values (to be written) (doubles)
  | sensornumber | length of the sensors vector
  | motors | list of motor values (doubles) (to send to the robot)
  | motornumber | length of the motors vector

Examples:
  directconnect/directconnect.cpp.

int test | ( | AbstractController * | controller | ) |

## Variable Documentation

const int MNumber = 2

Examples:
  directconnect/directconnect.cpp.

const int SNumber = 2

Examples:
  directconnect/directconnect.cpp.