00001 #ifndef __SP3DSTCT_H_
00002 #define __SP3DSTCT_H_
00003
00004 #include "sp3dcst.h"
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 typedef enum sprc
00017 {
00018 SP_STOP_S,
00019 SP_CHANGE_S,
00020 SP_NO_S,
00021 SP_TQ_OK,
00022 SP_TQ_NOT_OK,
00023 SP_PLANNING,
00024 SP_SUCCEEDED,
00025 SP_FAILED,
00026 SP_STOPPING,
00027 SP_STOPPED,
00028 SP_IF_NOT_OK,
00029 SP_UNKNOWN
00030 } SPRC;
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057 typedef struct int2dpoint
00058 {
00059 int x, y, z;
00060 } Int2DPoint;
00061
00062 typedef struct intpoint
00063 {
00064 int x, y, z;
00065 } IntPoint;
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101 typedef struct tqconfig
00102 {
00103 int t, q;
00104 } TQConfig;
00105
00106 typedef struct linkpath
00107 {
00108 int maxdim, dim;
00109 TQConfig *d;
00110 } LinkPath;
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143 typedef struct jointlimit
00144 {
00145 int status;
00146 double start;
00147 double end;
00148 } JointLimit;
00149
00150 typedef struct intjointlimit
00151 {
00152 int status;
00153 int start, end;
00154 } IntJointLimit;
00155
00156 typedef struct tqlinkcspace
00157 {
00158 int dimt, dimq;
00159 int t_bound, q_bound, p_bound;
00160 unsigned char **bitmap;
00161 short int **distmap;
00162 unsigned char **voro;
00163 short int **potential;
00164 } TQLinkCSpace;
00165
00166 typedef struct tqcspace
00167 {
00168 int nlinks;
00169 TQLinkCSpace *tqlink;
00170 } TQCSpace;
00171
00172 typedef struct BT_NUMBER
00173 {
00174 int BT_number;
00175 } BT_Number;
00176
00177 typedef struct BT_RECORD
00178 {
00179 BT_Number *BT_level[6];
00180 } BT_Record;
00181
00182 typedef int IntConfig[MAX_DEGREE];
00183 typedef double FloatConfig[MAX_DEGREE];
00184 typedef double DoubleConfig[MAX_DEGREE];
00185
00186 #endif