trackerConstants.h
Go to the documentation of this file.
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] = {  /*0*/21, // wrist left/right
00025                                                                 /*1*/20, // wrist up/down
00026                                                        
00027                                                                 /*2*/3,  // thumb abdunction
00028                                                                 /*3*/0,  // thumb root
00029                                                                 /*4*/1,  // thumb middle
00030                                                                 /*5*/2,  // thumb top
00031                                                        
00032                                                                 /*6*/4,  // index root 
00033                                                                 /*7*/10, // index abdunction
00034                                                                 /*8*/5,  // index middle
00035                                                                 /*9*/6,  // index top
00036                                                        
00037                                                                 /*10*/7, // middle root
00038                                                                 /*11*/19,// palm abdunction,ignored
00039                                                                 /*12*/8, // middle middle
00040                                                                 /*13*/9, // middle top
00041                                                        
00042                                                                 /*14*/11,// ring root
00043                                                                 /*15*/14,// ring abdunction
00044                                                                 /*16*/12,// ring middle
00045                                                                 /*17*/13,// ring top
00046                                                        
00047                                                                 /*18*/15,// pinky root
00048                                                                 /*19*/18,// pinky abdunction
00049                                                                 /*20*/16,// pinky middle
00050                                                                 /*21*/17 // pinky top
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*/ {0, PI/2},  /*1*/ {0, PI/2},  /*2*/ {0, PI/2},  /*3*/ {0, PI/4},
00087                                  /*4*/ {0, PI/2},  /*5*/ {0, PI/2},  /*6*/ {0, PI/2},  /*7*/ {0, PI/2},
00088                                  /*8*/ {0, PI/2},  /*9*/ {0, PI/2}, /*10*/ {0, PI/4}, /*11*/ {0, PI/2},
00089                                 /*12*/ {0, PI/2}, /*13*/ {0, PI/2}, /*14*/ {0, PI/4}, /*15*/ {0, PI/2},
00090                                 /*16*/ {0, PI/2}, /*17*/ {0, PI/2}, /*18*/ {0, PI/4}, /*19*/ {0, PI/2},
00091                                 /*20*/ {0, PI/2}, /*21*/ {0, PI/2}
00092 };
00093 
00095 const int RADSIGN[22] = { /*0*/ 1,  /*1*/ 1,  /*2*/ 1,  /*3*/ 1,
00096                           /*4*/ 1,  /*5*/ 1,  /*6*/ 1,  /*7*/ 1,
00097                           /*8*/ 1,  /*9*/ 1, /*10*/ 1, /*11*/ 1,
00098                          /*12*/ 1, /*13*/ 1, /*14*/ 1, /*15*/ 1,
00099                          /*16*/ 1, /*17*/ 1, /*18*/ 1, /*19*/ 1,
00100                          /*20*/ 1, /*21*/ 1
00101 };
00102 
00103 #endif


asr_flock_of_birds
Author(s): Bernhardt Andre, Engelmann Stephan, Giesler Björn, Heller Florian, Jäkel Rainer, Nguyen Trung, Pardowitz Michael, Weckesser Peter, Yi Xie, Zöllner Raoul
autogenerated on Sat Jun 8 2019 19:36:21