#include <iostream>#include <cstdlib>#include <cstring>#include "../include/platform.h"#include "../include/wrapper.h"#include "../include/robot.h"#include "../include/constants.h"#include "../include/types.h"#include "../include/motion.h"#include "../include/util.h"#include "../include/interpolation.h"#include "../include/cmd.h"#include "../include/tinyxml.h"#include "../include/commands.h"#include "../include/vars.h"#include "../include/test.h"Defines | |
| #define | MOTION_USECURRENTANGLE |
| #define | SPLINE |
| #define | _STOPONCOLLISIONREAD |
| #define | _STOPONCOLLISIONWRITE |
| #define | _DONTADDONCOLLISION |
| #define | _CREATEMOTIONCOMMANDS |
| #define | XML_MOTION_FILES |
| #define | AUTOSAVE "autosave/" |
| #define | BUFFERMAX 1080000 |
| #define | MOTIONPAGES 128 |
| #define | MOTIONPAGES 128 |
| #define | GETMEM(x, y, z) |
| #define | SLEEP |
| #define _CREATEMOTIONCOMMANDS |
| #define _DONTADDONCOLLISION |
| #define _STOPONCOLLISIONREAD |
| #define _STOPONCOLLISIONWRITE |
| #define AUTOSAVE "autosave/" |
| #define BUFFERMAX 1080000 |
| #define GETMEM | ( | x, | |||
| y, | |||||
| z | ) |
Value:
x = (y*)malloc(z * sizeof(y)); \ if (x == NULL)\ {\ CUtil::cout("interpolate: malloc failed().\n", TEXT_ERROR);\ return;\ }
| #define MOTION_USECURRENTANGLE |
| #define MOTIONPAGES 128 |
| #define MOTIONPAGES 128 |
| #define SLEEP |
| #define SPLINE |
| #define XML_MOTION_FILES |
1.5.2