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; 
  },
  {
    angles={--10
0.093532085418701,0.46015810966492,2.0969362258911,0.0045599937438965,-0.29763793945312,-0.032171964645386,-1.1443220376968,0.31604599952698,-0.21625208854675,2.1475582122803,-0.73942995071411,0.075207948684692,0,-0.53992605209351,-1.5785279273987,2.121563911438,-0.081259965896606,-0.32516598701477,2.1461081504822,-0.22707390785217,0.42640995979309,0.038392066955566,
    },
duration = 0.50; 
  },
  {
    angles={--11
0.076658010482788,0.45862412452698,2.0386440753937,-0.019984006881714,-0.29303598403931,-0.056715965270996,-1.1351180076599,0.32371592521667,-0.13495016098022,2.1322181224823,-0.77317810058594,0.08287787437439,0,-0.59361600875854,-1.2333779335022,1.1152601242065,0.64125394821167,-0.28835010528564,2.1246318817139,-0.23781204223633,0.43254613876343,0.044528007507324,
    },
duration = 0.45; 
  },
  {
    angles={--12
0.17636799812317,0.43561410903931,2.0524501800537,-0.021517992019653,-0.29303598403931,-0.056715965270996,-1.1443220376968,0.36973595619202,-0.16409611701965,2.1490921974182,-0.84220790863037,-0.19194014549255,0,-0.51384806632996,-1.5785279273987,1.1121921539307,0.76243996620178,-0.12267804145813,2.0985541343689,-0.24241399765015,0.47856616973877,0.061401844024658,
    },
duration = 0.50; 
  },
  {
    angles={--13
0.31903004646301,0.46476006507874,1.8468940258026,-0.013848066329956,-0.29303598403931,-0.055181980133057,-1.1558560228348,0.36053204536438,-0.68105411529541,2.1705679893494,-0.67834408760071,-0.36980396652222,0,-0.37578797340393,-1.1965618133545,1.1137261390686,0.56915593147278,0.02292795181274,2.0356597900391,-0.260822057724,0.47856616973877,0.062936067581177,
    },
duration = 0.50; 
  },
  {
    angles={--14
0.22085404396057,0.46476006507874,1.9143900871277,0.42180800437927,-0.36206603050232,-0.035239934921265,-1.1443220376968,0.68880796432495,-1.5999200344086,2.1613640785217,-0.20167586326599,-0.20704793930054,0,-0.19324207305908,-0.49092197418213,0.811527967453,0.57529187202454,0.26695799827576,1.0370259284973,-0.63051605224609,0.22698998451233,0.066004037857056,
    },
duration = 0.50; 
  },
  {
    angles={--15
0.22085404396057,0.46476006507874,1.9128561019897,0.42180800437927,-0.36206603050232,-0.035239934921265,-1.1058560228348,0.72102189064026,-1.6014540195465,2.1122760772705,-0.1041800403595,-0.27147603034973,0,-0.12267804145813,-0.67193388938904,2.1169619560242,-0.60883995056152,0.17043189048767,1.0523657798767,-0.63205003738403,0.22698998451233,0.066004037857056,
    },
duration = 0.45; 
  },
  {
    angles={--16
0.21471810340881,0.45402193069458,1.8085440397263,0.38652610778809,-0.3574640750885,-0.038308143615723,-0.84365797042847,0.73789596557617,-1.6121920347214,2.1122760772705,-0.18258786201477,-0.32823395729065,0,0.36973595619202,-0.24394798278809,2.1323018074036,-1.1857401132584,-0.1012020111084,1.0891819000244,-0.53540802001953,0.23159193992615,0.079809904098511,
    },
duration = 0.45; 
  },
  {
    angles={--17
0.21932005882263,0.47242999076843,1.6582120656967,0.27301001548767,-0.3574640750885,-0.052114009857178,-0.30982613563538,0.52466988563538,-1.5922501087189,2.1214799880981,-0.45717406272888,-0.33437013626099,0,0.29610395431519,-0.77624607086182,2.1230978965759,-1.1842060089111,-0.09660005569458,1.6767039299011,-0.11048984527588,0.22852396965027,0.078275918960571,
    },
duration = 0.60; 
  },
  {
    angles={--18
0.21778607368469,0.27242999076843,1.4219760894775,0.29908800125122,-0.3574640750885,-0.053647994995117,0.072139978408813,0.24088001251221,-1.2961881160736,2.1521601676941,-0.9572582244873,-0.15052206993103,0,0.10128593444824,-0.9816278839111,2.121563911438,-1.1857401132584,-0.095066070556641,1.5769939422607,-0.22553992271423,0.23005795478821,0.053731918334961,
    },
duration = 0.50; 
  },
  {
    angles={--19
0.21778607368469,0.47242999076843,
1.16936,0,1.43117,-1.535889,
0.066004037857056,0.044528007507324,-0.77923011779785,1.7809320688248,-0.9802680015564,-0.02143406867981,
0,0.087480068206787,-0.87317810058594,1.7595400810242,-0.95717406272888,-0.091998100280762,
1.16936,0,-1.43117,1.535889,

    },
duration = 0.50; 
  },


}

return mot;
