00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #include <ias_drawer_executive/Poses.h>
00033
00034 double Poses::milehighPoseA[7] = {-1.2941619112744558, 0.49942431312780172, -0.12505826215869686, -2.1195908351955559, -196.75657241281269, -1.4749302507914408, 284.5875016118315};
00035 double Poses::milehighPoseB[7] = {-0.75344495287219471, 0.0071664555829800761, -0.24500367228337172, -1.4238227962863217, -197.23479428063303, -0.094914323072497142, 284.39432200658928};
00036
00037
00038
00039 double Poses::highPoseA[7] = {-1.2658078481383668, 0.65194895948513354, -0.6651333173724735, -2.1146686310085161, -52.566807785671713, -1.1327560220881783, -29.66004589615245};
00040 double Poses::highPoseB[7] = {-0.83999946139288795, 0.64805759302232857, -0.20651851395459886, -1.979887098710452, -52.732655383958971, -1.1379335835800284, -29.902173036506696};
00041
00042
00043 double Poses::lowPoseA[7] = {-0.58879241080122102,1.2959701090793467,0.61289464879551958,-1.3123493485210054, -1.819574788110754,-1.1066071611083139,-0.425};
00044 double Poses::lowPoseB[7] = {-0.56640762411483492,1.1399770708747323,0.49102498075440626,-0.9884972671560539,-1.8417302224128111,-0.88001270522963293,-0.425};
00045
00046
00047 double Poses::midPoseA[7] = {-1.136473525061469,0.87282630371086467,-0.20427354638542061,-2.1237891858256783,-2.2135217141215739,-1.2897797147276118,1.4621021956879214};
00048 double Poses::midPoseB[7] = {-1.1291777427340541, 0.83112100662036859,-0.55432813235088196,-1.9421019430393511,-2.3539661773600271845,-0.76206336967963972,1.46};
00049
00050
00051 double Poses::tuckPose[7] = {0.00059073198959080919, 1.1486903479544912, -1.4332329356842286, -1.4462622565507686, -51.274908792804851, -0.2154139507083308, -31.660673060172002};
00052
00053 double Poses::untuckPoseA[7] = {-1.3239253869056138, 1.2547723815274774, -2.1150616574089849, -1.6996110014719421, -51.308807185757871, -0.15602427477238412, -31.606852526008804};
00054 double Poses::untuckPoseB[7] = {-2.2269442631579031, 0.96740342774164501, -2.3171087386350413, -1.7653369044400637, -51.229440982461696, -0.10677217721964216, -31.598672849030081};
00055
00056 double Poses::tuckPoseForLeft[7] = {-2.1349672088362253, 1.1009839702456099, -2.2575564550627725, -2.1229357008475702, -0.93467766850553247, -0.96966653718245521, 0.17175967044035967};
00057
00058
00059 double Poses::leftHighA[7] = {2.135148031994806, 1.2565080623032994, 1.8285521338688722, -2.1209061138279561, -10.032144196310302, -0.67309589196913922, 0.22977584996744049};
00060 double Poses::leftHighB[7] = {0.58927124475644921, 1.1361294867256602, 0.50530410666457093, -1.8312199203495172, -9.7331326038628561, -0.70211634167556902, 0.08798027936286168};
00061
00062
00063 double Poses::lf0[7] = {2.1351842858261678, 1.271126805223832, 2.0838860205058944, -1.9832158820169317, -11.019464301160765, -1.2738934655593956, 1.3565429096270885};
00064
00065
00066 double Poses::lf1[7] = { 1.4143112479071762, -0.35258814884307066, 1.071245291980063, -2.1200242042743653, -13.195324629719147, -0.72611616150550196, 1.5147413431092138 };
00067
00068
00069 double Poses::lf2[7] = { 0.24781514169438634, -0.35318031330480182, 0.75358238094131813, -1.513145382154617, -11.227193190400229, -1.1311842076327259, 1.652838655505326 };
00070
00071
00072 double Poses::lf3[7] = { -0.4896392196960021, -0.35292652853548845, 1.5119003548445102, -0.57300438242998797, -10.336405898448547, -0.622477913828268, 2.0416343655153022 };
00073
00074
00075 double Poses::dishA[7] = {-2.1348350112742915, 0.64738083363749299, -1.595672374796923, -1.7539000182407651, -50.992267925964406, -0.56283267770359235, -37.575928292312355};
00076 double Poses::dishB[7] = {-2.0394094946964008, -0.050442687051153672, -1.3657235537825063, -1.7921194860460163, -48.520404053480007, -0.07701207587152159, -37.641191672461751};
00077 double Poses::dishC[7] = {-0.80451542916409791, 0.098275187766477728, -1.4459009669674494, -0.39189716554453613, -48.893864846832827, -0.076881549111220027, -37.661771391668857};
00078
00079
00080 double Poses::prepDishL0[7] = {2.1204735607226191, 1.0488275260818631, 1.9481768343408072, -2.1217747380962573, 1.6931710931335584, -1.2368577038996227, -9.4751029760075802};
00081 double Poses::prepDishR0[7] = {-2.0707974870019181, 1.0230720460664071, -1.510142609352733, -2.1229357008475702, -1.4089080873262274, -1.7744945411847524, 0.42158788965223049};
00082
00083
00084
00085
00086
00087
00088 double Poses::prepDishL1[7] = {1.5371426009988673, 0.15318173630933338, 1.25, -2.1017963799253305, 0.66713731189146697, -0.7240180626857029, -10.049029141041331};
00089 double Poses::prepDishR1[7] = {-1.6168837569724208, 0.15550442262485537, -1.25, -2.1222118472906528, -0.90575412503025221, -1.3540678462623723, 1.7130631649684915};
00090
00091 double Poses::prepDishRT[7] = {-2.0669837826034967, 1.0311085637613304, -2.1344039484107, -2.0741479711113211, -8.0150454170802359, -1.1505933611566062, -11.782132050722778};
00092 double Poses::prepDishLT[7] = { 2.135148031994806, 1.2355285213733944, 2.1335470136243955, -2.1226433623645584, 2.0510710200966762, -1.2228882327676454, 2.4566159301048049 };
00093
00094
00095 double Poses::poseA[4] = {-.942, .485, 1, 0};
00096 double Poses::poseB[4] = {-1.013, 1.111, 1, 0};
00097 double Poses::poseC[4] = {-1.089, 2.039, 1, 0};
00098
00099 double Poses::poseD[4] = { .09, 2.74, 0.179, .984};
00100 double Poses::poseE[4] = { .117, 1.957, 0, 1};
00101 double Poses::poseF[4] = { .115, 1.17, 0, 1};
00102 double Poses::poseG[4] = { .232, .501, 0.05, 0.999};
00103 double Poses::poseH[4] = { .242, 2.263, 0, 1};
00104
00105
00106
00107
00108 double Poses::poseI[4] = { 0.348, 0.060, -.064, .998};
00109
00110
00111
00112
00113 double Poses::poseJ[4] = { 0.115, 1.139, 0.035, 0.999};
00114
00115
00116
00117
00118
00119
00120
00121
00122 double Poses::pose0[4] = { -0.377, 1.382, 0, 1};
00123
00124 double *Poses::poses[] = {Poses::poseA, Poses::poseB, Poses::poseC, Poses::poseD, Poses::poseE, Poses::poseF, Poses::poseG, Poses::poseH, Poses::poseI, Poses::poseJ};
00125
00126 int Poses::drw_top = 2;
00127 int Poses::drw_mid = 1;
00128 int Poses::drw_low = 0;
00129
00130 double Poses::inDrawer0[] = {0.515, 1.1, 0.5};