#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 |
int main | ( | ) |
void myrobot | ( | double * | sensors, | |
int | sensornumber, | |||
const double * | motors, | |||
int | motornumber | |||
) |
The robot control should go here.
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 |
const int MNumber = 2 |
const int SNumber = 2 |