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
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. More...
 
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
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

Variable Documentation

const int MNumber = 2
const int SNumber = 2