trackerConstants.h
Go to the documentation of this file.
1 
18 #ifndef TRACKERCONSTANTS_H
19 #define TRACKERCONSTANTS_H
20 
21 const double PI = 3.14159;
22 
23 const int MIN_JOINT_RESOLUTION = 10;
24 const unsigned int TRACKERRAW_MAP2_TRACKERINVENTOR_DEFAULT[22] = { /*0*/21, // wrist left/right
25  /*1*/20, // wrist up/down
26 
27  /*2*/3, // thumb abdunction
28  /*3*/0, // thumb root
29  /*4*/1, // thumb middle
30  /*5*/2, // thumb top
31 
32  /*6*/4, // index root
33  /*7*/10, // index abdunction
34  /*8*/5, // index middle
35  /*9*/6, // index top
36 
37  /*10*/7, // middle root
38  /*11*/19,// palm abdunction,ignored
39  /*12*/8, // middle middle
40  /*13*/9, // middle top
41 
42  /*14*/11,// ring root
43  /*15*/14,// ring abdunction
44  /*16*/12,// ring middle
45  /*17*/13,// ring top
46 
47  /*18*/15,// pinky root
48  /*19*/18,// pinky abdunction
49  /*20*/16,// pinky middle
50  /*21*/17 // pinky top
51 };
52 
53 
55 const char *JOINT_NAME[] = {"wrist-left-right",
56  "wrist-up-down",
57 
58  "thumb-abdunction",
59  "thumb-root",
60  "thumb-middle",
61  "thumb-top",
62 
63  "index-root",
64  "index-abdunction",
65  "index-middle",
66  "index-top",
67 
68  "middle-root",
69  "middle-abdunction",
70  "middle-middle",
71  "middle-top",
72 
73  "ring-root",
74  "ring-abdunction",
75  "ring-middle",
76  "ring-top",
77 
78  "pinky-root",
79  "pinky-abdunction",
80  "pinky-middle",
81  "pinky-top"
82 };
83 
86 const double RADLIMIT[22][2] = { /*0*/ {0, PI/2}, /*1*/ {0, PI/2}, /*2*/ {0, PI/2}, /*3*/ {0, PI/4},
87  /*4*/ {0, PI/2}, /*5*/ {0, PI/2}, /*6*/ {0, PI/2}, /*7*/ {0, PI/2},
88  /*8*/ {0, PI/2}, /*9*/ {0, PI/2}, /*10*/ {0, PI/4}, /*11*/ {0, PI/2},
89  /*12*/ {0, PI/2}, /*13*/ {0, PI/2}, /*14*/ {0, PI/4}, /*15*/ {0, PI/2},
90  /*16*/ {0, PI/2}, /*17*/ {0, PI/2}, /*18*/ {0, PI/4}, /*19*/ {0, PI/2},
91  /*20*/ {0, PI/2}, /*21*/ {0, PI/2}
92 };
93 
95 const int RADSIGN[22] = { /*0*/ 1, /*1*/ 1, /*2*/ 1, /*3*/ 1,
96  /*4*/ 1, /*5*/ 1, /*6*/ 1, /*7*/ 1,
97  /*8*/ 1, /*9*/ 1, /*10*/ 1, /*11*/ 1,
98  /*12*/ 1, /*13*/ 1, /*14*/ 1, /*15*/ 1,
99  /*16*/ 1, /*17*/ 1, /*18*/ 1, /*19*/ 1,
100  /*20*/ 1, /*21*/ 1
101 };
102 
103 #endif
const double PI
const int MIN_JOINT_RESOLUTION
const int RADSIGN[22]
Sign of angle. Notation in inventor model order, use after permutation!!!
const char * JOINT_NAME[]
for debug output
const unsigned int TRACKERRAW_MAP2_TRACKERINVENTOR_DEFAULT[22]
const double RADLIMIT[22][2]


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 Mon Jun 10 2019 12:44:40