Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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. More...
 
int test (AbstractController *controller)
 
int main ()
 

Variables

const int MNumber = 2
 
const int SNumber = 2
 

Function Documentation

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

The robot control should go here.

Parameters
sensorslist of sensor values (to be written) (doubles)
sensornumberlength of the sensors vector
motorslist of motor values (doubles) (to send to the robot)
motornumberlength of the motors vector
Examples:
directconnect/directconnect.cpp.
int test ( AbstractController controller)

Variable Documentation

const int MNumber = 2
const int SNumber = 2