local mot = {};
mot.servos = {
    1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,
};
mot.keyframes = {
   {
     angles = vector.new({
       0,0,
       74.9, 6.4, 94.8, -20.7,
       3.1, 1.9, 0.4, -4.3, 55.3, -0.8,
       0.0, 0.1, 2.5, -5.8, 61.1, 2.2,
       74.9, -6.4, -93.2, 19.6           
     })*math.pi/180,
     duration = 0.40;
   },

   {
     angles = vector.new({
       0,0,
        69.7, -5.4, 100.9, -88.5,
        -68.8, 46.5, -25.7, -4.5, 27.0, -4.8,
         0.0, -47.1, -23.0, -0.2, 12.0, -2.6,
         69.5, 5.7, -100.4, 88.5
     })*math.pi/180,
     duration = 0.40;
   },

  {
     angles = vector.new({
       0,0,
        117.3, -40.3, 62.2, -89.8,
        -70.0, 41.3, -87.3, 11.4, -25.5, 32.9,
         0.0, -44.1, -74.4, -4.5, -25.3, -34.3,
        117.3, 41.3, -62.2, 89.8
     })*math.pi/180,
     duration = 0.40;
   },

    {
     angles = vector.new({
       0,0,
        111.7, -20.3, 69.5, -89.6,
        -69.4, -18.8, -89.1, -7.5, -16.9, 35.7,
         0.0, 11.7, -86.3, -6.5, -25.1, -33.7,
        106.9, 21.8, -59.2, 89.5
     })*math.pi/180,
     duration = 0.40;
   },

--arm behind sitting
    {
     angles = vector.new({
       0,0,
        120.8, -10.1, 0.2, -1.9,
        -23.1, 13.3, -88.7, 14.5, 32.4, 0.3,
        0.0, 1.3, -84.3, 13.4, 48.6, 2.0,
        117.5, 10.1, -13.0, 1.4
     })*math.pi/180,
     duration = 0.60;
   },
--This part copied over from StandupFromBack_Fast.lua
    {
    angles={--9
0.093532085418701,-0.46015810966492,1.9788180589676,-0.027653932571411,-0.29610395431519,-0.033705949783325,-1.1458560228348,0.50165987014771,-1.573842048645,2.1138100624084,0.30681612014771,0.2040638923645,0,-0.59821796417236,-1.5923337936401,2.1230978965759,0.28536605834961,-0.12267804145813,2.0694079399109,-0.079809904098511,0.23159193992615,0.24088001251221,
    },
duration = 0.50; 
  },
  {
    angles={--head1
0.093532085418701,0.46015810966492,1.9788180589676,-0.027653932571411,-0.29610395431519,-0.033705949783325,-1.1458560228348,0.50165987014771,-1.573842048645,2.1138100624084,0.30681612014771,0.2040638923645,0,-0.59821796417236,-1.5923337936401,2.1230978965759,0.28536605834961,-0.12267804145813,2.0694079399109,-0.079809904098511,0.23159193992615,0.24088001251221,
    },
duration = 0.2; 
  },
  { -- new keyframes added below (6/23/16)
    angles={--11
0.12421202659607,0.52458596229553,2.0340421199799,0.038308143615723,-0.29917192459106,-0.15795993804932,-1.1565940380096,0.51239800453186,-1.5692400932312,2.1368200778961,0.3389720916748,0.15037393569946,0,-0.6120240688324,-1.3714380264282,1.4097881317139,0.80845999717712,-0.11347413063049,2.1476421356201,-4.1961669921875e-05,0.26687407493591,0.039926052093506,
    },
duration = 0.4;
  },
  {
    angles={--12
0.095066070556641,0.52151799201965,1.9834201335907,-0.29763793945312,-0.28383207321167,-0.1380181312561,-1.1059720516205,0.38200807571411,-0.3021559715271,2.1490921974182,-0.82226610183716,-0.36658406257629,0,-0.56907200813293,-1.5662560462952,0.94958782196045,0.86675214767456,0.038392066955566,1.8393077850342,-0.59063196182251,0.04597806930542,0.050663948059082,
    },
duration = 0.6;
  },
  {
    angles={--13
0.18403816223145,0.47089600563049,1.9803520441055,-0.28536605834961,-0.27309393882751,-0.12727999687195,-1.1458560228348,0.55381608009338,-0.63196611404419,2.1444902420044,-0.77778005599976,-0.27761197090149,0,-0.51231408119202,-1.0400938987732,0.9725980758667,0.64892387390137,0.16724801063538,1.7825498580933,-0.3728039264679,0.026036024093628,0.023051977157593,
    },
duration = 0.6;
  },
  {
    angles={--14
0.22698998451233,0.48777008056641,1.9450700283051,-0.21940398216248,-0.27462792396545,-0.0091619491577148,-1.0430779457092,0.70261406898499,-0.69025802612305,2.1506261825562,-0.9802680015564,-0.13034796714783,0,-0.5077121257782,-0.26695799827576,0.75016808509827,0.47251391410828,0.25161790847778,1.7534041404724,-0.17798590660095,0.02143406867981,0.029187917709351,
    },
duration = 0.6;
  },
	{
		angles={--15
0.20397996902466,0.51691603660583,1.8407580852509,0.093532085418701,-0.28536605834961,-0.010695934295654,-0.93109607696533,0.68880796432495,-0.54146003723145,2.153694152832,-1.0477638244629,-0.18710613250732,0,-0.42487597465515,-0.37587189674377,1.9175419807434,-0.72400617599487,0.23627805709839,1.8086280822754,-0.041460037231445,0.033705949783325,0.050663948059082,
    },
duration = 1;
  },
  {
    angles={--16
0.1978440284729,0.52151799201965,1.7609901428223,0.053647994995117,-0.28690004348755,-0.0076279640197754,-0.31596207618713,0.14577198028564,-0.6641800403595,2.1521601676941,-1.211902141571,-0.11807608604431,0,-0.12727999687195,-0.66119599342346,2.1476421356201,-1.2118180990219,0.10435390472412,1.819365978241,0.0014920234680176,0.027570009231567,0.038392066955566,
    },
duration = 0.7;
  },
  {
    angles={--17
-0.0077118873596191,0.13495016098022,1.768660068512,0.010695934295654,-0.27922987937927,-0.0091619491577148,0.070605993270874,0.10128593444824,-0.97404813766479,2.153694152832,-1.1965618133545,-0.10580396652222,0,-0.095066070556641,-0.94038391113281,2.1476421356201,-1.210284113884,0.095149993896484,1.764142036438,-0.012313842773438,0.016832113265991,0.027653932571411,
    },
duration = 0.7;
  },
};

return mot;

