00001 #ifndef __SP3DCST_H_
00002 #define __SP3DCST_H_
00003
00004 #define PI 3.14159
00005 #define RAD_PER_DEG PI/180.0
00006 #define DEG_PER_RAD 180.0/PI
00007
00008
00009
00010 #define MAXSHORTINT 32767
00011
00012 #define OBSTACLE 128
00013
00014 #define FREESPACE 255
00015
00016
00017
00018
00019 #define MAX_DEGREE 10 // Maximum degree of robot
00020
00021
00022 #define WS_SIZE 128 // Default Work Space bitmap SIZE
00023
00024
00025
00026
00027 #define SAFETY_DISTANCE (int)(WS_SIZE/128)
00028 #define TQ_SAFETY_DISTANCE (int)(DIMQ/100)
00029
00030 #define CS_SIZE 90 // Default Configuration Space SIZE
00031 #define DIMT CS_SIZE
00032 #define DIMQ CS_SIZE
00033
00034
00035
00036
00037
00038
00039 #define MAX_PART_PATH 10*CS_SIZE // Maximum part CS path
00040 #define MAX_CS_PATH_LEN 20*CS_SIZE // Maximum CS path
00041
00042 #define NO_PATH_COMPRESS TRUE
00043
00044
00045
00046
00047
00048
00049 #define MAX_BACKTRACKING_LEVEL 3
00050 #define MAX_BACKTRACKING_NUMBER 20
00051 #define MAXBLOCKLENGTH CS_SIZE/20
00052 #define BLOCKWIDTH DIMQ/64
00053
00054
00055
00056
00057
00058 #endif