robot.cpp File Reference

#include <math.h>
#include <iostream>
#include <cstdlib>
#include <cstring>
#include "../include/wrapper.h"
#include "../include/robot.h"
#include "../include/constants.h"
#include "../include/types.h"
#include "../include/util.h"
#include "../include/platform.h"
#include "../include/cmd.h"
#include "../include/crc.h"
#include "../include/vars.h"
#include "../include/global.h"

Defines

#define ROUND(x)   (float)((int)(x*100))/100.0
#define DEG(x)   x*180.0/M_PI
#define _ASK_TO_WRITE
#define _SHOW_WRITE
#define _SHOW_READ
#define SHOWREADERROR
#define _SHOWCURRENTANGLEERROR
#define _SHOWTARGETANGLEERROR
#define TESTANGLE(i)   ;
#define TESTANGLE2(i)

Variables

const char * robotNames [ROBOT_COUNT]

Define Documentation

#define _ASK_TO_WRITE

#define _SHOW_READ

#define _SHOW_WRITE

#define _SHOWCURRENTANGLEERROR

#define _SHOWTARGETANGLEERROR

#define DEG (  )     x*180.0/M_PI

#define ROUND (  )     (float)((int)(x*100))/100.0

#define SHOWREADERROR

#define TESTANGLE (  )     ;

#define TESTANGLE2 (  ) 

Value:

if (angles[5-i]*180.0/M_PI < anglesMinMaxStart[8+2*i][0]) \
               angles[5-i] += M_PI; \
            else                    \
            if (angles[5-i]*180.0/M_PI > anglesMinMaxStart[8+2*i][1]) \
               angles[5-i] -= M_PI;


Variable Documentation

const char* robotNames[ROBOT_COUNT]


Generated on Mon Apr 21 23:27:41 2008 for BioloidControl by  doxygen 1.5.2