00001
00018 #ifndef TRACKERCONSTANTS_H
00019 #define TRACKERCONSTANTS_H
00020
00021 const double PI = 3.14159;
00022
00023 const int MIN_JOINT_RESOLUTION = 10;
00024 const unsigned int TRACKERRAW_MAP2_TRACKERINVENTOR_DEFAULT[22] = { 21,
00025 20,
00026
00027 3,
00028 0,
00029 1,
00030 2,
00031
00032 4,
00033 10,
00034 5,
00035 6,
00036
00037 7,
00038 19,
00039 8,
00040 9,
00041
00042 11,
00043 14,
00044 12,
00045 13,
00046
00047 15,
00048 18,
00049 16,
00050 17
00051 };
00052
00053
00055 const char *JOINT_NAME[] = {"wrist-left-right",
00056 "wrist-up-down",
00057
00058 "thumb-abdunction",
00059 "thumb-root",
00060 "thumb-middle",
00061 "thumb-top",
00062
00063 "index-root",
00064 "index-abdunction",
00065 "index-middle",
00066 "index-top",
00067
00068 "middle-root",
00069 "middle-abdunction",
00070 "middle-middle",
00071 "middle-top",
00072
00073 "ring-root",
00074 "ring-abdunction",
00075 "ring-middle",
00076 "ring-top",
00077
00078 "pinky-root",
00079 "pinky-abdunction",
00080 "pinky-middle",
00081 "pinky-top"
00082 };
00083
00086 const double RADLIMIT[22][2] = { {0, PI/2}, {0, PI/2}, {0, PI/2}, {0, PI/4},
00087 {0, PI/2}, {0, PI/2}, {0, PI/2}, {0, PI/2},
00088 {0, PI/2}, {0, PI/2}, {0, PI/4}, {0, PI/2},
00089 {0, PI/2}, {0, PI/2}, {0, PI/4}, {0, PI/2},
00090 {0, PI/2}, {0, PI/2}, {0, PI/4}, {0, PI/2},
00091 {0, PI/2}, {0, PI/2}
00092 };
00093
00095 const int RADSIGN[22] = { 1, 1, 1, 1,
00096 1, 1, 1, 1,
00097 1, 1, 1, 1,
00098 1, 1, 1, 1,
00099 1, 1, 1, 1,
00100 1, 1
00101 };
00102
00103 #endif