Yeseong Jeong
/
HydraulicControlBoard_Start
20210203
Diff: main.cpp
- Revision:
- 115:f41863b95e6f
- Parent:
- 114:09a6bccaf17d
- Child:
- 116:ddc6e6fcfaf9
--- a/main.cpp Sun Sep 13 07:19:50 2020 +0000 +++ b/main.cpp Sun Sep 13 11:14:24 2020 +0000 @@ -1,4 +1,4 @@ -//200913-1 +//200913-2 #include "mbed.h" #include "FastPWM.h" #include "INIT_HW.h" @@ -193,82 +193,77 @@ float input_NN[num_input] = { 0.0f }; const float h1[num_input][16] = { - {0.24140959978103638f,-0.12781289219856262f,0.11304140090942383f,0.2760394215583801f,-0.7498500943183899f,0.2673680782318115f,-0.15306922793388367f,-0.09221038222312927f,-0.2735815942287445f,-0.07937835901975632f,-0.4525371491909027f,-0.2569335997104645f,-0.308616578578949f,0.10540933161973953f,-0.22528137266635895f,-0.6054583787918091f}, -{-0.11866164207458496f,-0.04569840058684349f,-0.3440950810909271f,-0.11241301149129868f,-0.21983236074447632f,-0.01579384319484234f,-0.3551466166973114f,-0.11156616359949112f,-0.09336893260478973f,0.1392476111650467f,-0.6042727828025818f,0.05370194837450981f,0.2608185112476349f,-0.15298397839069366f,-0.1836855560541153f,-0.46543365716934204f}, -{0.3046817481517792f,-0.505603015422821f,0.3188004493713379f,-0.3602854311466217f,-0.3418009281158447f,0.3141078054904938f,0.2516096830368042f,0.025377541780471802f,-0.16486278176307678f,0.14110800623893738f,-0.9271578788757324f,-0.4068244695663452f,-0.20862722396850586f,0.1714099645614624f,0.04897245764732361f,-0.9888147115707397f}, -{-0.08564338833093643f,-1.0530415773391724f,0.34815579652786255f,0.20181334018707275f,-0.5048770904541016f,-0.1651545614004135f,-0.10148510336875916f,0.3254654109477997f,-0.003915203269571066f,0.25671783089637756f,-0.984145998954773f,-0.633323073387146f,-0.5098223090171814f,-0.1377284675836563f,-0.2594349980354309f,-1.2771731615066528f}, -{-1.5764565467834473f,3.850165367126465f,-0.004507303237915039f,-0.41337528824806213f,-0.5850437879562378f,-1.176296353340149f,0.11336228251457214f,0.8583602905273438f,0.0017320261104032397f,0.0926690325140953f,-0.5004006624221802f,-3.548492908477783f,-0.08651071786880493f,2.037367343902588f,-0.33859342336654663f,-0.8644697070121765f}, -{0.4103824198246002f,0.8844403028488159f,0.19074231386184692f,0.22623515129089355f,0.060158733278512955f,-0.017877694219350815f,0.1446705460548401f,-0.46448758244514465f,0.004422776401042938f,0.09692279994487762f,-0.11860773712396622f,-0.42750757932662964f,-0.19687047600746155f,0.13662151992321014f,-0.36205175518989563f,-0.5423892140388489f}, -{0.10990449786186218f,1.1804871559143066f,-0.21918344497680664f,-0.44296982884407043f,-0.46212509274482727f,0.3554675579071045f,0.05268651247024536f,-0.5160120129585266f,0.295302152633667f,0.052635882049798965f,0.18726375699043274f,-0.40083470940589905f,-0.11949975788593292f,0.20473229885101318f,-0.13682329654693604f,-0.34507280588150024f}, -{0.13128799200057983f,1.009097933769226f,-0.23319895565509796f,0.0566110834479332f,-0.4158187210559845f,0.08665011078119278f,-0.15703755617141724f,-0.5499584078788757f,0.00013322447193786502f,0.0929379090666771f,0.08850504457950592f,-0.8667253255844116f,0.35569849610328674f,-0.042056605219841f,0.03769642114639282f,-0.16214480996131897f}, -{0.36711591482162476f,1.4763704538345337f,0.08977723121643066f,-0.3202260732650757f,-0.2757028639316559f,0.39301833510398865f,-0.06348633766174316f,-0.6417542099952698f,-0.2595629096031189f,0.2955130636692047f,-0.33913350105285645f,-0.5284005999565125f,0.2107759565114975f,-0.03728350251913071f,-0.2676756680011749f,-0.17070630192756653f}, -{0.4275228977203369f,0.8832201957702637f,0.16173982620239258f,-0.03383071348071098f,-0.07667389512062073f,0.7464066743850708f,-0.26198261976242065f,-0.40114665031433105f,-0.029340164735913277f,-0.4238303601741791f,-0.20219571888446808f,-1.6007699966430664f,0.2923631966114044f,-0.7205807566642761f,0.3052974343299866f,-0.4081484377384186f}, -{0.7298016548156738f,1.599060297012329f,0.32573211193084717f,0.3406955301761627f,-0.1765735000371933f,0.3811549246311188f,-0.17817988991737366f,-0.31869208812713623f,-0.3962319493293762f,0.012360160239040852f,-0.011035910807549953f,-1.8433364629745483f,-0.10371317714452744f,-0.35059353709220886f,0.23379981517791748f,-0.7066872119903564f}, -{0.06150670349597931f,-0.7811826467514038f,-0.3532183766365051f,0.023810051381587982f,0.1919257938861847f,0.6206902265548706f,0.13436567783355713f,0.20962554216384888f,-0.15341709554195404f,0.16348986327648163f,-0.43814653158187866f,0.47506821155548096f,0.019524723291397095f,0.03399953618645668f,0.09193113446235657f,-0.10852809995412827f}, -{0.19459404051303864f,-1.2013424634933472f,0.173875629901886f,0.09513795375823975f,0.17256668210029602f,0.37738245725631714f,-0.21062730252742767f,0.10210034996271133f,-0.17251047492027283f,-0.1929878145456314f,-0.14158886671066284f,-0.25558537244796753f,-0.01567455567419529f,0.18937021493911743f,-0.19507692754268646f,-0.29847875237464905f}, -{0.27673307061195374f,-1.9556561708450317f,0.36161231994628906f,-0.24248476326465607f,-0.3098406493663788f,-0.21402490139007568f,-0.2803434431552887f,-0.15470920503139496f,-0.12586930394172668f,-0.22432377934455872f,-0.14531145989894867f,-0.38750362396240234f,-0.2555939555168152f,-0.23961378633975983f,0.04202204942703247f,0.22219786047935486f}, -{0.2092871069908142f,-0.8721790909767151f,0.1776806116104126f,-0.31751537322998047f,0.7402405738830566f,-0.9053415656089783f,0.036818891763687134f,0.4778040051460266f,0.25883719325065613f,0.0417952723801136f,-0.13543257117271423f,-0.38883253931999207f,0.29373836517333984f,0.12233439087867737f,0.058527231216430664f,0.4053569734096527f}, -{-2.8582146167755127f,2.5816285610198975f,-0.3542669713497162f,-0.44570106267929077f,1.0011931657791138f,-3.681593894958496f,-0.13638360798358917f,0.12881898880004883f,0.16959118843078613f,-0.03936115652322769f,-0.4757843613624573f,-1.616078495979309f,-0.08204221725463867f,3.1595635414123535f,-0.07223698496818542f,0.32134485244750977f}, -{3.143556833267212f,-2.0573842525482178f,0.14635330438613892f,0.7568324208259583f,0.37735533714294434f,3.021977424621582f,-0.03628063201904297f,-0.7949840426445007f,-0.062402594834566116f,0.03867268189787865f,-1.5538501739501953f,2.917372941970825f,-0.2553684413433075f,-2.1859912872314453f,0.25779521465301514f,-0.28556445240974426f}, -{-0.19127482175827026f,-0.35279586911201477f,0.18322283029556274f,-0.19842621684074402f,0.8198286890983582f,0.6652193665504456f,-0.3163079023361206f,-0.05294492468237877f,-0.36373722553253174f,-0.14535510540008545f,-0.32957836985588074f,5.422246932983398f,0.5904089212417603f,1.067130446434021f,-0.2407861351966858f,0.25907382369041443f}, -{-0.9389283061027527f,-0.6280621886253357f,-0.2609631419181824f,-0.13221608102321625f,2.194356679916382f,-0.22640551626682281f,0.2401489019393921f,-0.20553678274154663f,-0.35975316166877747f,-0.01309242844581604f,-0.4241333603858948f,6.391479969024658f,0.7621604800224304f,1.472519040107727f,-0.28592410683631897f,0.3371560573577881f}, -{-0.06838676333427429f,1.2536933422088623f,0.1335710883140564f,-0.4388673007488251f,0.43298983573913574f,-0.26037779450416565f,-0.1246849000453949f,-0.29775792360305786f,-0.15970076620578766f,0.002899272134527564f,0.37377816438674927f,1.8582884073257446f,0.6399732232093811f,0.37173664569854736f,0.1255095899105072f,0.6594066619873047f}, -{-0.5663629770278931f,0.0245197881013155f,-0.07108169794082642f,0.23301273584365845f,-1.1603906154632568f,-0.7366921305656433f,0.13563674688339233f,-0.1116926446557045f,-0.34506022930145264f,-0.30885881185531616f,0.029483351856470108f,0.3512197434902191f,-0.24269425868988037f,-0.25191760063171387f,0.01829466223716736f,0.37815138697624207f}, -{-0.37660184502601624f,-2.192830801010132f,0.24740570783615112f,-0.273596853017807f,-1.1528133153915405f,-0.8542936444282532f,0.25593245029449463f,-0.1785348802804947f,-0.07106246054172516f,0.052634645253419876f,0.27635839581489563f,-0.7275089621543884f,-0.10320106148719788f,-0.3287467956542969f,0.056514471769332886f,0.07012096047401428f}, -{0.07227171957492828f,-1.3563566207885742f,-0.3288555443286896f,-0.10809275507926941f,-1.2299606800079346f,-0.4035462439060211f,-0.11800059676170349f,-0.12314795702695847f,-0.27156248688697815f,0.28150904178619385f,0.4421814978122711f,0.07666400074958801f,-0.2596205472946167f,0.08573608100414276f,-0.3194865584373474f,0.20242354273796082f}, -{-0.06953556090593338f,-0.7711717486381531f,-0.29844698309898376f,-0.4437902271747589f,-0.6436755061149597f,0.26278629899024963f,-0.249517560005188f,0.2938408851623535f,-0.41435784101486206f,0.16828367114067078f,0.4007464051246643f,-0.4505769908428192f,0.04081519693136215f,0.23161381483078003f,0.23831695318222046f,-0.11805100739002228f}, -{-0.16058272123336792f,-0.6249219179153442f,0.20589900016784668f,0.05139650031924248f,-1.028411626815796f,-0.1920361965894699f,-0.2483310103416443f,0.22440573573112488f,-0.14384999871253967f,0.28843462467193604f,-0.04356471449136734f,-0.3480871617794037f,-0.4966038465499878f,-0.14237308502197266f,0.06927120685577393f,-0.03157913684844971f}, -{-0.45396503806114197f,-0.4249477982521057f,0.008588135242462158f,-0.45205068588256836f,-1.3535797595977783f,0.09258996695280075f,0.013287186622619629f,-0.06247078999876976f,0.18176743388175964f,-0.02428596466779709f,0.3507067561149597f,-0.040274858474731445f,-0.2504180073738098f,-0.11954399943351746f,-0.1702093929052353f,0.08025657385587692f}, -{-0.16633667051792145f,-1.0380611419677734f,0.06708025932312012f,0.15620632469654083f,-0.9475982189178467f,0.2799629867076874f,0.27470332384109497f,-0.1436568647623062f,-0.09286155551671982f,0.23921003937721252f,0.3713104724884033f,-0.2101101279258728f,-0.2589351236820221f,0.2427140176296234f,0.11447501182556152f,-0.07560984045267105f}, + {-0.12142807245254517f,0.5319109559059143f,0.12024858593940735f,0.3085154592990875f,-0.6081522107124329f,0.7416839003562927f,-0.1628284603357315f,0.21742962300777435f,-0.267910897731781f,-0.04973986744880676f,-0.1911298632621765f,-0.38887158036231995f,-0.48049986362457275f,-0.268494576215744f,-0.2396446317434311f,-0.5116663575172424f}, +{-0.26787224411964417f,0.677436113357544f,-0.36603355407714844f,0.021422112360596657f,-0.7327901721000671f,0.6037724018096924f,-0.3777896761894226f,0.1725192815065384f,-0.0761999636888504f,0.18274518847465515f,-0.22543500363826752f,-0.3866732716560364f,-0.10280560702085495f,-0.7612268924713135f,-0.1953967958688736f,-0.35824012756347656f}, +{-0.3649199903011322f,0.7725064158439636f,0.33912619948387146f,-0.30286991596221924f,-0.5712531805038452f,0.7446243762969971f,0.2676515281200409f,0.4323404133319855f,-0.15223653614521027f,0.18469227850437164f,-0.29429805278778076f,-0.5365757346153259f,-0.42887529730796814f,-0.2952468991279602f,0.05209478735923767f,-0.708729088306427f}, +{-0.3271692097187042f,0.6009646654129028f,0.3703531324863434f,0.3181683123111725f,-0.4985746741294861f,0.33138418197631836f,-0.10795548558235168f,0.743237316608429f,0.018989790230989456f,0.30758431553840637f,0.11929067969322205f,-0.261160671710968f,-0.6505143642425537f,-0.3792894780635834f,-0.27597576379776f,-0.5264142751693726f}, +{0.10502064228057861f,0.6899398565292358f,-0.004794687032699585f,0.2715914845466614f,-0.25223666429519653f,0.44747194647789f,0.12058994174003601f,0.3637223243713379f,0.024899134412407875f,0.13290812075138092f,0.3540651500225067f,-0.5691083669662476f,-0.48638850450515747f,-0.2277120053768158f,-0.36018112301826477f,-0.9119640588760376f}, +{0.28711169958114624f,-0.2482450306415558f,0.20290347933769226f,0.2649897634983063f,0.4833833575248718f,-0.1571345031261444f,0.15389427542686462f,-0.23960691690444946f,0.02790655568242073f,0.13918225467205048f,-0.20093469321727753f,-0.27243372797966003f,-0.21113014221191406f,-0.020885445177555084f,-0.38513508439064026f,-0.9214916825294495f}, +{-0.02851574495434761f,-0.014749237336218357f,-0.2331579178571701f,-0.5698776245117188f,-0.7544706463813782f,0.07381469011306763f,0.05604562163352966f,-0.8324546217918396f,0.33566102385520935f,0.09226415306329727f,0.16943834722042084f,0.4347386062145233f,-0.24814684689044952f,0.6932308673858643f,-0.14554673433303833f,0.05279579013586044f}, +{-0.06717606633901596f,-0.22349213063716888f,-0.24806702136993408f,-0.0450650155544281f,-0.5033997297286987f,-0.19790005683898926f,-0.16704979538917542f,-0.7950039505958557f,0.021747436374425888f,0.1351155936717987f,0.12686355412006378f,0.13332262635231018f,0.30497512221336365f,0.2732813358306885f,0.04009982943534851f,0.20104773342609406f}, +{0.08353191614151001f,0.1997663825750351f,0.09550115466117859f,-0.48718148469924927f,-0.4085322618484497f,-0.10368065536022186f,-0.06753402948379517f,-1.2816720008850098f,-0.2544040381908417f,0.3505818843841553f,-0.24833375215530396f,0.5380479097366333f,0.3675362765789032f,0.4023623764514923f,-0.2847418785095215f,0.03970760479569435f}, +{-0.13981781899929047f,-0.20774176716804504f,0.17205187678337097f,-0.23249271512031555f,-0.1216055303812027f,0.07235830277204514f,-0.2786858379840851f,-1.2693002223968506f,-0.009385904297232628f,-0.4146665930747986f,0.02100091427564621f,-0.46436652541160583f,0.5080908536911011f,-0.4429526925086975f,0.3247623145580292f,-0.4142717719078064f}, +{0.3393472135066986f,0.02408669888973236f,0.34649983048439026f,0.23857329785823822f,0.48183131217956543f,-0.21449708938598633f,-0.1895401030778885f,-0.8727144002914429f,-0.39965906739234924f,0.049281008541584015f,0.35334426164627075f,-0.6411969065666199f,0.31792065501213074f,-0.9770899415016174f,0.24870619177818298f,-1.115993857383728f}, +{-0.3748171627521515f,-0.2759149968624115f,-0.3757385015487671f,0.08618200570344925f,0.6384426951408386f,-0.44715970754623413f,0.1429324448108673f,0.865583062171936f,-0.141113743185997f,0.21069662272930145f,-0.35729312896728516f,-0.6838535666465759f,0.3637606203556061f,-0.9708521962165833f,0.09779238700866699f,-1.7793989181518555f}, +{-0.022903213277459145f,-1.2108622789382935f,0.18496140837669373f,-0.186996728181839f,1.5965169668197632f,0.011220009997487068f,-0.22405625879764557f,1.1389415264129639f,-0.15934859216213226f,-0.16894760727882385f,-0.07238681614398956f,0.543024480342865f,1.1545345783233643f,0.2594987452030182f,-0.2075144499540329f,-0.014834086410701275f}, +{-0.07786494493484497f,-1.5105262994766235f,0.38466766476631165f,-0.5341544151306152f,1.3887991905212402f,-0.6938354969024658f,-0.2982172966003418f,0.48351165652275085f,-0.1096724197268486f,-0.20240478217601776f,-0.15225042402744293f,0.8682804703712463f,1.32313871383667f,0.1085759699344635f,0.04470124840736389f,0.6958062648773193f}, +{0.21788664162158966f,-0.7673851847648621f,0.18900898098945618f,-0.30088552832603455f,0.8063278198242188f,-0.547472357749939f,0.03916636109352112f,0.5130710005760193f,0.2995314598083496f,0.0805741474032402f,-0.2307186722755432f,0.10170888155698776f,0.9435698986053467f,0.000330600596498698f,0.062258750200271606f,0.5885801315307617f}, +{-0.011959882453083992f,-0.6077165603637695f,-0.37685394287109375f,-0.3159298598766327f,-0.5211035013198853f,-0.48754799365997314f,-0.14507901668548584f,-0.38036566972732544f,0.204612597823143f,-0.00584053760394454f,-0.41173696517944336f,-0.2119022011756897f,-0.09530093520879745f,0.42633670568466187f,-0.07684260606765747f,0.2788740396499634f}, +{-0.058610737323760986f,-0.1548209935426712f,0.15568438172340393f,-0.05651647597551346f,-0.4900703430175781f,-0.6716833710670471f,-0.03859376907348633f,-0.45973384380340576f,-0.0419379398226738f,0.07706453651189804f,-0.2995336353778839f,-0.21969130635261536f,-0.15250778198242188f,1.0602041482925415f,0.2742314636707306f,0.00965691078454256f}, +{-0.11517839878797531f,-0.018323417752981186f,0.19490453600883484f,-0.29120585322380066f,-0.5252333283424377f,-0.5279580354690552f,-0.336474746465683f,-0.18949325382709503f,-0.3621788024902344f,-0.1193293035030365f,-0.12502431869506836f,-0.26203998923301697f,0.06206292286515236f,0.7526026368141174f,-0.2561379373073578f,0.20621202886104584f}, +{-0.36884963512420654f,0.10308270901441574f,-0.2776013910770416f,0.09900062531232834f,0.2413371354341507f,-0.4801070988178253f,0.25546005368232727f,-0.20196332037448883f,-0.3580111265182495f,0.021169280633330345f,-0.36572232842445374f,-0.19767117500305176f,-0.152822807431221f,1.009665608406067f,-0.30415377020835876f,-0.09012894332408905f}, +{0.25071007013320923f,0.2665417194366455f,0.1420871913433075f,-0.3285190165042877f,-0.129764586687088f,-0.30867642164230347f,-0.13263443112373352f,-0.19806906580924988f,-0.14517231285572052f,0.03796457499265671f,0.1304253190755844f,-0.050921618938446045f,0.095282182097435f,0.9637762308120728f,0.13351169228553772f,0.41475313901901245f}, +{-0.2756868302822113f,-0.13841456174850464f,-0.07561364769935608f,0.13735783100128174f,-0.3645989000797272f,-0.4998248219490051f,0.14428457617759705f,-0.029365921393036842f,-0.34202030301094055f,-0.29383227229118347f,-0.3528982698917389f,-0.7736446857452393f,-0.4347001314163208f,0.8122448921203613f,0.019461065530776978f,0.1852876842021942f}, +{-0.33870723843574524f,-0.0034944694489240646f,0.2631795108318329f,-0.43553003668785095f,-0.3259836733341217f,-0.6847232580184937f,0.27224990725517273f,-0.5124228596687317f,-0.05062070116400719f,0.09060279279947281f,0.06758313626050949f,-1.1949976682662964f,-0.22525399923324585f,0.7335019111633301f,0.06011766195297241f,-0.23359167575836182f}, }; const float h2[16][16] = { - {-0.4416000545024872f,-0.31373846530914307f,-0.19080299139022827f,1.179991602897644f,-0.21907491981983185f,0.34282949566841125f,-0.025855468586087227f,0.0904630720615387f,-0.13410094380378723f,-0.1415480375289917f,-1.7848422527313232f,1.838787317276001f,-0.19009138643741608f,2.342186689376831f,-0.19569334387779236f,-1.6201746463775635f}, -{-0.2245597094297409f,-0.13072779774665833f,-0.06943641602993011f,-0.4076336622238159f,-0.35503754019737244f,-3.6417953968048096f,-0.7878494262695312f,-0.2990124225616455f,-0.7456150650978088f,0.2895788848400116f,-0.47643035650253296f,-8.671875953674316f,0.1891358494758606f,0.7506363987922668f,-0.9546725153923035f,0.7220286130905151f}, + {-0.21827097237110138f,-0.13970035314559937f,-0.06966331601142883f,0.0015037156408652663f,-0.21907491981983185f,0.4042361080646515f,0.2356909215450287f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,0.12119956314563751f,-0.10159772634506226f,0.05038901045918465f,0.03739463537931442f,-0.048593394458293915f,-0.18448428809642792f}, +{-0.08718850463628769f,-0.6138348579406738f,0.057057321071624756f,0.21743246912956238f,-0.35503754019737244f,-1.1862761974334717f,-0.5382086634635925f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-0.9905539751052856f,-0.6796953678131104f,0.19543039798736572f,1.106162667274475f,0.7187530994415283f,-0.9491381049156189f}, {-0.22745239734649658f,0.003037691116333008f,-0.061119019985198975f,0.35696902871131897f,0.05568113923072815f,0.011741191148757935f,-0.20225946605205536f,-0.08465918898582458f,0.3489862382411957f,0.0687277615070343f,0.31964078545570374f,0.3004753887653351f,0.36063823103904724f,-0.42892736196517944f,0.08652284741401672f,0.027493387460708618f}, -{-0.01778075285255909f,-0.23104725778102875f,-0.2894435524940491f,0.10867004096508026f,0.08946844935417175f,0.07808632403612137f,-0.4573591351509094f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.20370014011859894f,0.010252464562654495f,-0.43868115544319153f,-0.03280303627252579f,0.28507310152053833f,0.07095210254192352f}, -{-0.13348069787025452f,0.3367266058921814f,-0.25313520431518555f,-0.03403173387050629f,0.036378175020217896f,0.1093469187617302f,-0.5513286590576172f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,0.03879040107131004f,-0.8223557472229004f,0.09156011044979095f,0.2768576741218567f,-0.17694859206676483f,0.11134585738182068f}, -{0.16555435955524445f,0.43131524324417114f,-0.4289751946926117f,1.6997345685958862f,-0.3015052080154419f,-1.670569658279419f,-0.6656103134155273f,-0.019414573907852173f,-0.35384804010391235f,0.3579089343547821f,-3.0863680839538574f,-1.0907237529754639f,-0.5776411294937134f,2.829767942428589f,1.2874901294708252f,-1.5014472007751465f}, +{0.013872272334992886f,-0.286335289478302f,-0.2894435524940491f,-0.4396398365497589f,0.08946844935417175f,0.1368589848279953f,-0.39876824617385864f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.10356922447681427f,0.2551405131816864f,-0.46428048610687256f,-0.11253073066473007f,0.2100202888250351f,-0.05202929303050041f}, +{-0.3711865544319153f,0.6464788317680359f,-0.25313520431518555f,-0.7609469294548035f,0.036378175020217896f,0.45298469066619873f,-0.41387563943862915f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,0.16032840311527252f,-0.7131367921829224f,-0.05352240428328514f,-1.6053212881088257f,-0.19919444620609283f,-0.4861498177051544f}, +{0.20110821723937988f,-0.5018312335014343f,-0.3519742488861084f,1.6840986013412476f,-0.3015052080154419f,-2.5918781757354736f,-0.5597283244132996f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-0.8111457228660583f,-0.18484677374362946f,-0.2680433392524719f,-1.1327699422836304f,1.6472371816635132f,0.032416488975286484f}, {-0.1828227937221527f,-0.02554568648338318f,-0.3260969817638397f,0.08422836661338806f,-0.38453540205955505f,-0.25432005524635315f,0.285016268491745f,0.12387624382972717f,-0.0982072651386261f,0.13111665844917297f,-0.03692615032196045f,-0.32796353101730347f,-0.21546880900859833f,0.049302369356155396f,-0.27088475227355957f,-0.4124959409236908f}, -{0.01398484781384468f,0.15759709477424622f,0.33083590865135193f,-0.26944801211357117f,-0.14358049631118774f,-0.33699458837509155f,-0.38920095562934875f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.2948208749294281f,-0.9432287812232971f,-0.42878255248069763f,0.5726852416992188f,0.02221696637570858f,0.05635474622249603f}, -{-0.25820738077163696f,0.3117407262325287f,-0.11379697918891907f,0.12228615581989288f,0.041274964809417725f,-0.34911200404167175f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.0233750119805336f,-0.3197441101074219f,-0.37024784088134766f,-0.25981605052948f,-0.35837259888648987f,-0.24591223895549774f}, -{-0.17263101041316986f,0.23423008620738983f,-0.13502129912376404f,0.1286323517560959f,0.12987366318702698f,0.1080603152513504f,0.2711336314678192f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.24636374413967133f,0.36848944425582886f,0.3811538517475128f,-0.2520766258239746f,0.0013287918409332633f,-0.2210550457239151f}, -{-0.3058125972747803f,0.08181517571210861f,0.0457797646522522f,-2.636444330215454f,-0.03321319818496704f,-0.541618824005127f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.15830643475055695f,-0.5519965291023254f,-0.4537477195262909f,0.050337303429841995f,-0.08985583484172821f,-0.2977418303489685f}, -{0.04818347468972206f,0.6381116509437561f,0.35214442014694214f,1.031759262084961f,0.0033026933670043945f,-0.11087352782487869f,-0.36933785676956177f,-0.11795541644096375f,0.48494449257850647f,-0.32520344853401184f,0.11625059694051743f,-0.7726806998252869f,-0.3193991780281067f,-2.084322214126587f,-0.2186143696308136f,-0.8306460380554199f}, -{-0.3529583215713501f,0.08254975080490112f,-0.15798500180244446f,0.05475207790732384f,-0.37393757700920105f,0.24033845961093903f,0.18650469183921814f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.09720540791749954f,-0.09403084218502045f,0.3314500153064728f,-0.39308783411979675f,-0.010754602961242199f,0.12959282100200653f}, -{-0.6177845597267151f,1.949365258216858f,-0.2689056992530823f,-1.0946818590164185f,0.07545611262321472f,-1.1367113590240479f,-0.4665638506412506f,-0.21416273713111877f,-0.2063993364572525f,0.19522181153297424f,2.027029037475586f,-1.119747281074524f,-0.32851600646972656f,-1.0397303104400635f,-1.5998331308364868f,0.6112943887710571f}, +{0.04716520383954048f,2.1866295337677f,0.33083590865135193f,-3.7675633430480957f,-0.14358049631118774f,-1.0889337062835693f,-0.2204645574092865f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,1.7958203554153442f,-0.4285059869289398f,-0.3938278257846832f,0.9353684186935425f,1.4183909893035889f,-0.6698459982872009f}, +{-0.22358468174934387f,0.319063276052475f,-0.11379697918891907f,0.09797302633523941f,0.041274964809417725f,-0.3698168098926544f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.03371793404221535f,-0.3197441101074219f,-0.37024784088134766f,-0.26758185029029846f,-0.37222927808761597f,-0.2432849407196045f}, +{-0.14576366543769836f,0.19868183135986328f,-0.13502129912376404f,0.09569330513477325f,0.12987366318702698f,0.09705229103565216f,0.2711336314678192f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.21950477361679077f,0.39862415194511414f,0.3811538517475128f,-0.2120383083820343f,0.03948197886347771f,-0.2580723166465759f}, +{-0.2600649297237396f,-0.025024279952049255f,0.0457797646522522f,-0.38467252254486084f,-0.03321319818496704f,-0.4283318817615509f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.22829373180866241f,0.3545852601528168f,-0.3647043704986572f,0.43810027837753296f,-0.3747478723526001f,-0.30320504307746887f}, +{0.2563563287258148f,0.2848908305168152f,0.3954955041408539f,0.5324105024337769f,0.0033026933670043945f,0.013189428485929966f,-0.264487624168396f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,-0.11690916121006012f,-0.30937525629997253f,-0.04322272539138794f,-0.09333206713199615f,0.3114027976989746f,0.3084369897842407f}, +{-0.3773934841156006f,-0.6149998903274536f,-0.15798500180244446f,0.5414841175079346f,-0.37393757700920105f,0.36136573553085327f,-0.09854983538389206f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,0.7696143388748169f,-0.5884778499603271f,0.22634319961071014f,-1.2850054502487183f,-0.5686250925064087f,0.9768475294113159f}, +{-0.276047021150589f,0.5364649891853333f,-0.2018718123435974f,-1.2126439809799194f,0.07545611262321472f,1.2168824672698975f,-0.1937575489282608f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,0.17477856576442719f,-0.5366932153701782f,-0.2861739993095398f,0.8198944926261902f,-0.42945852875709534f,-0.006084125488996506f}, {0.4138670265674591f,0.1604653298854828f,0.056746453046798706f,0.036025404930114746f,0.3228367865085602f,-0.07083973288536072f,0.018455177545547485f,0.0059362053871154785f,0.40515169501304626f,0.014240056276321411f,-0.07738298177719116f,0.1407785713672638f,-0.13024571537971497f,-0.29546058177948f,-0.11976784467697144f,-0.35825538635253906f}, -{-0.46657031774520874f,0.3603224754333496f,0.12081471085548401f,-0.6525219678878784f,0.29976895451545715f,-0.3780849874019623f,0.04173128679394722f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,0.6254821419715881f,-0.06403668224811554f,-0.2615106403827667f,-0.2841106355190277f,-0.020944762974977493f,0.24394959211349487f}, +{-0.4368991553783417f,0.7573152184486389f,0.12081471085548401f,1.7409113645553589f,0.29976895451545715f,0.646031379699707f,-0.0614682137966156f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,0.36895906925201416f,-0.2702392637729645f,-0.2760795056819916f,0.030236508697271347f,0.5722708702087402f,0.1181602030992508f}, }; const float h3[16][16] = { - {-0.36079341173171997f,-0.030723435804247856f,-0.10280819237232208f,-0.3743261694908142f,-0.1324009746313095f,0.10063944011926651f,0.3332441747188568f,0.3036012351512909f,-0.2405819296836853f,0.04891335964202881f,0.06792311370372772f,0.33556240797042847f,0.03479746729135513f,0.19397124648094177f,-0.3191870450973511f,0.1584681123495102f}, -{0.047732532024383545f,0.5006909370422363f,-0.6345558166503906f,-1.725974202156067f,-3.2036168575286865f,0.961625337600708f,-0.3459742069244385f,0.3216327726840973f,0.003414712380617857f,-0.464531809091568f,0.7604407668113708f,-0.39640337228775024f,-0.19692669808864594f,-0.7184784412384033f,-0.6826145052909851f,-0.3840222656726837f}, -{0.07903262972831726f,0.3081454932689667f,-0.11946268379688263f,0.04248586297035217f,-0.1963958442211151f,-0.22234474122524261f,-0.4038352966308594f,0.015906542539596558f,0.15353140234947205f,0.030178606510162354f,0.16924922168254852f,0.13805970549583435f,-0.0816211998462677f,-0.29722118377685547f,-0.3036302626132965f,0.054825395345687866f}, -{-0.30922991037368774f,-0.3244438171386719f,1.187119483947754f,-1.89874267578125f,-0.4626938998699188f,-0.5747583508491516f,0.13438235223293304f,0.09185263514518738f,-0.2636560797691345f,-0.5356540679931641f,2.0849862098693848f,-2.418192148208618f,-0.24698223173618317f,0.9093489646911621f,-0.3955540359020233f,-0.21804869174957275f}, + {-0.36079341173171997f,-0.09681249409914017f,-0.06886705011129379f,-0.37561914324760437f,-0.17487698793411255f,0.030626926571130753f,0.3332441747188568f,0.3036012351512909f,-0.2405819296836853f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,0.02868601679801941f,0.29298722743988037f,-0.3218167722225189f,0.16941024363040924f}, +{0.047732532024383545f,0.7677332758903503f,-0.6549031138420105f,0.6898878216743469f,-0.08954807370901108f,0.35312116146087646f,-0.3198729455471039f,-0.17536860704421997f,0.5324662327766418f,-0.10279136896133423f,0.1338483840227127f,-0.4699574112892151f,0.14342889189720154f,0.7929010987281799f,-2.605299949645996f,-4.501281261444092f}, +{0.07903262972831726f,0.2790505588054657f,-0.07798504829406738f,0.04248586297035217f,-0.1963958442211151f,-0.19260792434215546f,-0.4038352966308594f,0.015906542539596558f,0.15353140234947205f,0.030178606510162354f,0.2488909661769867f,0.13805970549583435f,-0.0816211998462677f,-0.20733052492141724f,-0.3036302626132965f,0.054825395345687866f}, +{-0.30922991037368774f,-0.5324777364730835f,-0.01334094163030386f,-1.137447476387024f,-0.08508370071649551f,1.2484461069107056f,0.20021501183509827f,0.20383602380752563f,-0.8121843338012695f,-0.41293272376060486f,-0.2107127159833908f,0.2525291442871094f,0.4615950882434845f,0.17830145359039307f,-3.0680086612701416f,-0.21777895092964172f}, {-0.39607733488082886f,-0.05481579899787903f,0.1976260244846344f,0.022423356771469116f,0.16892847418785095f,-0.27518749237060547f,0.16012099385261536f,0.3626593053340912f,-0.08640444278717041f,-0.11053556203842163f,-0.10529157519340515f,-0.31317979097366333f,-0.1530032455921173f,-0.1336749792098999f,0.22959044575691223f,0.19986507296562195f}, -{-0.37449589371681213f,0.41615030169487f,-0.5608540773391724f,-0.6361187696456909f,1.9270976781845093f,-0.7580529451370239f,-0.20031505823135376f,0.43172505497932434f,-0.46900054812431335f,-0.16388018429279327f,-0.3535109758377075f,1.7969706058502197f,-0.16324763000011444f,-0.9558305740356445f,0.0823487937450409f,-0.4255358576774597f}, -{0.4110594093799591f,0.2756858766078949f,-0.23905593156814575f,0.382222980260849f,0.20388288795948029f,-0.22044363617897034f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.2795402705669403f,0.335384726524353f,0.03966398909687996f,0.07285787910223007f,-0.3391006588935852f}, +{-0.37449589371681213f,-0.4617343842983246f,-2.9039862155914307f,-0.6735435724258423f,-0.0729021355509758f,0.05089283734560013f,-0.18732719123363495f,0.14435407519340515f,-2.1771042346954346f,-0.36949434876441956f,-0.2574214041233063f,0.0323423407971859f,-0.580498218536377f,-0.5253073573112488f,1.406813621520996f,-0.6369833946228027f}, +{0.4110594093799591f,0.1266968697309494f,-0.12601256370544434f,0.37246426939964294f,0.3083249628543854f,-0.23091493546962738f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.38588830828666687f,-0.06421742588281631f,0.1807081550359726f,-0.13609033823013306f}, {-0.40892091393470764f,0.043769627809524536f,-0.3867315948009491f,0.25968697667121887f,0.3424709737300873f,-0.051169753074645996f,-0.23312048614025116f,-0.390264093875885f,0.28059282898902893f,-0.1559126079082489f,-0.14134526252746582f,-0.0003446042537689209f,-0.2742875814437866f,-0.36560842394828796f,0.07994696497917175f,0.005298197269439697f}, -{0.10697010159492493f,-0.3403710424900055f,-0.24158746004104614f,0.21184906363487244f,-0.37222859263420105f,-0.5165332555770874f,-0.1382003128528595f,0.5236299633979797f,-0.360889196395874f,-0.3875247836112976f,0.2645629346370697f,-0.20597228407859802f,-0.3289247751235962f,-0.5121046304702759f,0.09620395302772522f,-0.06898030638694763f}, +{0.10697010159492493f,-0.12228584289550781f,-0.37870171666145325f,0.21184906363487244f,-0.37222859263420105f,-0.17138728499412537f,-0.1382003128528595f,0.3493293821811676f,-0.360889196395874f,-0.3875247836112976f,0.42142823338508606f,-0.3482915461063385f,-0.3289247751235962f,-0.2186824083328247f,0.09620395302772522f,-0.06898030638694763f}, {0.2847062647342682f,0.018552124500274658f,0.11435768008232117f,0.36562982201576233f,-0.047046810388565063f,0.30447837710380554f,0.2430230677127838f,0.2909286320209503f,-0.2802048921585083f,0.18043199181556702f,0.41849127411842346f,-0.287167489528656f,0.24394884705543518f,-0.14084559679031372f,-0.10168051719665527f,0.010465055704116821f}, -{0.15459725260734558f,1.0160398483276367f,0.6945615410804749f,-0.5207881927490234f,-5.408054828643799f,-0.2257770299911499f,-0.08742031455039978f,0.5413029193878174f,-0.3207188844680786f,-0.5697242617607117f,0.050796788185834885f,-1.3108309507369995f,-0.23409070074558258f,-1.9511581659317017f,0.4019995927810669f,0.16767722368240356f}, -{-0.408692330121994f,1.9138723611831665f,0.39115116000175476f,0.5739253759384155f,3.193286418914795f,-3.1259846687316895f,0.015898048877716064f,2.4435510635375977f,-0.20705322921276093f,-0.25883403420448303f,-1.2534292936325073f,3.9350192546844482f,0.5162205696105957f,-4.484452247619629f,-0.8899465799331665f,0.3150562644004822f}, -{-0.2991822361946106f,0.14823931455612183f,0.07672751694917679f,-0.05932474136352539f,0.09542100876569748f,-0.013279345817863941f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,0.10030028223991394f,-0.2621331512928009f,0.023185068741440773f,-0.14980164170265198f,0.36124154925346375f,-0.16869547963142395f}, -{-0.2675279378890991f,0.05099257454276085f,0.08411905914545059f,-0.10413927584886551f,-0.7241613864898682f,0.30467256903648376f,-0.32875844836235046f,-9.193814277648926f,-0.6806216239929199f,-0.6331622004508972f,-1.9146071672439575f,0.6346508264541626f,-0.2797616720199585f,-2.2959039211273193f,0.17193923890590668f,-0.006947796791791916f}, -{-0.015470266342163086f,-0.2424277514219284f,0.8375282883644104f,0.014725916087627411f,0.23800323903560638f,0.42196986079216003f,-0.004887910094112158f,0.6202435493469238f,-0.38354402780532837f,-0.5163152813911438f,0.5975462794303894f,1.8399231433868408f,0.08155638724565506f,-0.15693733096122742f,-0.019000373780727386f,-0.7551562190055847f}, -{0.1863725483417511f,0.2799197733402252f,0.2087642103433609f,-0.8532849550247192f,-2.3844048976898193f,-0.23211170732975006f,0.04860696196556091f,-6.5380048751831055f,-0.30845537781715393f,-0.012700200080871582f,0.31490662693977356f,0.8377508521080017f,0.04945338889956474f,-0.45305052399635315f,-0.1647207885980606f,-0.25199466943740845f}, +{0.15459725260734558f,0.19472281634807587f,-0.04078362509608269f,-0.8504932522773743f,-0.3033522963523865f,-0.05692460387945175f,-0.08742031455039978f,-0.1338864266872406f,0.004945448599755764f,-0.55107182264328f,-0.17419999837875366f,-0.46206751465797424f,-0.6499282121658325f,0.3578055799007416f,1.2463433742523193f,0.8631985187530518f}, +{-0.408692330121994f,-0.2623419165611267f,0.11236652731895447f,-0.022254934534430504f,0.023289965465664864f,-0.3169271647930145f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.38538986444473267f,-0.3014340400695801f,-0.3794373869895935f,0.30830731987953186f}, +{-0.2991822361946106f,0.1327047497034073f,0.1439894586801529f,0.017815517261624336f,0.3019440472126007f,0.010314002633094788f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.22736459970474243f,-0.36900195479393005f,0.054683245718479156f,-0.12663790583610535f}, +{-0.2675279378890991f,0.18547336757183075f,0.3068101406097412f,-1.2076926231384277f,0.09505590796470642f,-0.05560934171080589f,-0.32875844836235046f,-0.5921741127967834f,-3.3620553016662598f,-0.8969767689704895f,-0.6669066548347473f,-0.5687218904495239f,1.189428687095642f,-1.5511449575424194f,0.23931676149368286f,0.2895069718360901f}, +{-0.015470266342163086f,-1.127381682395935f,0.570023775100708f,1.1186641454696655f,-0.09940701723098755f,-0.7367652058601379f,0.05196094512939453f,-0.09006329625844955f,-0.32208630442619324f,-0.3993879556655884f,-0.1511162966489792f,-0.2641661763191223f,-0.36931276321411133f,-0.6036758422851562f,0.7165645956993103f,1.002623438835144f}, +{0.1863725483417511f,0.7084315419197083f,-2.923417568206787f,-4.6950788497924805f,-0.06254304945468903f,0.45470181107521057f,0.04860696196556091f,0.026327338069677353f,-1.0392210483551025f,-0.02976890094578266f,-0.703682005405426f,0.03872205317020416f,-0.19652250409126282f,0.22584570944309235f,-0.4665553867816925f,-0.540266215801239f}, }; -const float hout[16] = { 0.45773375034332275f,0.14631381630897522f,-0.22999529540538788f,-0.030070684850215912f,-0.2831701338291168f,0.055488184094429016f,-0.11228165030479431f,0.17394007742404938f,-0.1411089152097702f,-0.06577444821596146f,0.23537015914916992f,-0.20813216269016266f,0.025011662393808365f,-0.10921727865934372f,0.03399183228611946f,-0.12528467178344727f }; +const float hout[16] = { 0.45773375034332275f,0.13910500705242157f,-0.31846562027931213f,-0.829768717288971f,-0.04622025787830353f,0.23739540576934814f,0.0030125975608825684f,0.2194291055202484f,-0.5970004200935364f,0.14143159985542297f,-0.060366179794073105f,-0.1263774186372757f,-0.5301146507263184f,0.20959031581878662f,0.2230408638715744f,-0.23622384667396545f }; -const float b1[16] = { 1.01943838596344f,2.6422019004821777f,-1.7145336866378784f,0.4208109676837921f,0.8277526497840881f,0.8997405767440796f,-0.058932315558195114f,0.6894977688789368f,0.5092201232910156f,-0.9256697297096252f,0.9643260836601257f,0.593098521232605f,-0.3523768186569214f,-1.628794550895691f,-1.087764859199524f,0.7544463276863098f }; +const float b1[16] = { 0.624637246131897f,1.1785094738006592f,-1.7145336866378784f,0.24004428088665009f,1.2390985488891602f,1.5458461046218872f,-0.058932315558195114f,1.2576862573623657f,0.5300702452659607f,-0.8932367563247681f,0.6044619679450989f,1.6490927934646606f,-0.7020912766456604f,-1.2473779916763306f,-1.087764859199524f,1.356432318687439f }; -const float b2[16] = { -0.3902733623981476f,-1.1347911357879639f,-1.549425482749939f,-0.2813558578491211f,-0.6939148902893066f,0.15833285450935364f,0.13303270936012268f,-0.30969977378845215f,-1.0462977886199951f,-1.912178635597229f,1.3354045152664185f,2.6406900882720947f,-0.2966046929359436f,1.7676101922988892f,2.591891288757324f,1.4619697332382202f }; +const float b2[16] = { -0.3033750057220459f,-0.41359907388687134f,-1.4564176797866821f,-0.7798851728439331f,-0.6939148902893066f,0.24389976263046265f,0.22602230310440063f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,0.3609001636505127f,0.4167090356349945f,-0.2721056044101715f,1.6417027711868286f,0.1061401441693306f,1.2605841159820557f }; -const float b3[16] = { -1.963319182395935f,-0.07368154078722f,-0.34889450669288635f,-0.6999592185020447f,-0.2067682445049286f,-0.6203318238258362f,-0.47910937666893005f,-2.2642292976379395f,0.22698374092578888f,0.18241459131240845f,-4.054250240325928f,1.3901464939117432f,-0.9813683032989502f,-0.602583110332489f,-1.4065110683441162f,-0.6076282262802124f }; +const float b3[16] = { -1.963319182395935f,-0.09155551344156265f,-0.08878234773874283f,-0.3621630370616913f,-0.20168974995613098f,0.814752995967865f,-0.45353031158447266f,-0.9044259190559387f,0.10726872086524963f,0.14615927636623383f,-0.442954957485199f,-0.10643069446086884f,-1.0190728902816772f,1.1627894639968872f,-1.0242581367492676f,-0.30497246980667114f }; -const float bout[1] = { 0.02764555998146534f }; +const float bout[1] = { -0.2451157569885254f }; float VALVE_POS_RAW_NN = 0.0f;