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

# directconnect.cpp File Reference

`#include <assert.h>`
`#include <iostream>`
`#include <vector>`
`#include <selforg/sinecontroller.h>`
`#include <selforg/invertmotorspace.h>`
Include dependency graph for directconnect.cpp:

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

## Function Documentation

int main | ( |  | ) |

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

## Variable Documentation

const int MNumber = 2

const int SNumber = 2