Sungwoo Kim
/
HydraulicControlBoard_Rainbow_v1_2_
rainbow
Diff: main.cpp
- Revision:
- 103:2727e5caa610
- Parent:
- 102:9a66b31af366
- Child:
- 104:be89a3a18c7e
diff -r 9a66b31af366 -r 2727e5caa610 main.cpp --- a/main.cpp Tue Sep 08 06:50:35 2020 +0000 +++ b/main.cpp Tue Sep 08 12:49:42 2020 +0000 @@ -1,4 +1,4 @@ -//200908-2 +//200908-3 #include "mbed.h" #include "FastPWM.h" #include "INIT_HW.h" @@ -193,82 +193,82 @@ float input_NN[num_input] = { 0.0f }; const float h1[num_input][16] = { - {0.11891105026006699f,-0.27321988344192505f,0.11304140090942383f,0.2326684147119522f,0.13083547353744507f,-0.03183041512966156f,-0.15306922793388367f,-0.25533971190452576f,-0.24843157827854156f,0.07506765425205231f,0.1102009043097496f,-0.30477869510650635f,0.1385290026664734f,0.2430848330259323f,-0.22528137266635895f,-0.1019677072763443f}, -{-0.012448405846953392f,-0.1525895893573761f,-0.3440950810909271f,-0.45196786522865295f,0.3333165943622589f,-0.051117196679115295f,-0.3551466166973114f,-0.3390023708343506f,-0.06824600696563721f,-0.08086904138326645f,0.04827173799276352f,-0.011031152680516243f,0.20921635627746582f,0.13023902475833893f,-0.1836855560541153f,0.24793070554733276f}, -{-0.0037230346351861954f,-0.17135031521320343f,0.3188004493713379f,0.10811025649309158f,0.645997166633606f,0.011516728438436985f,0.2516096830368042f,-0.2475629597902298f,-0.13976924121379852f,-0.17829178273677826f,-0.029338963329792023f,-0.2034567892551422f,0.0606568269431591f,0.3892652094364166f,0.04897245764732361f,-0.09518333524465561f}, -{-0.6253877878189087f,-0.8497551083564758f,0.34815579652786255f,0.19233572483062744f,0.4903877079486847f,-0.2636411190032959f,-0.10148510336875916f,-0.07404996454715729f,0.02117691934108734f,-0.023672999814152718f,-0.14819872379302979f,0.18381763994693756f,-0.19997692108154297f,0.42794540524482727f,-0.2594349980354309f,-0.005393548868596554f}, -{0.804305911064148f,2.4383373260498047f,-0.004507303237915039f,-1.7737332582473755f,-1.9878571033477783f,0.04179810732603073f,0.11336228251457214f,-0.10902296751737595f,0.026727354153990746f,0.9225599765777588f,-0.012577954679727554f,1.9308435916900635f,-0.9799442887306213f,0.36790886521339417f,-0.33859342336654663f,-1.2834763526916504f}, -{1.621711015701294f,-0.7942386269569397f,0.19074231386184692f,0.6978849768638611f,-1.1177424192428589f,0.013062538579106331f,0.1446705460548401f,-0.2211650013923645f,0.029533453285694122f,-0.9358444809913635f,-0.9422054886817932f,0.5923067927360535f,-1.6810799837112427f,-1.0811258554458618f,-0.36205175518989563f,0.7495694756507874f}, -{0.6090243458747864f,-0.24380889534950256f,-0.21918344497680664f,-0.12084835767745972f,-0.9154924750328064f,0.2762419283390045f,0.05268651247024536f,-0.3002548813819885f,0.32041603326797485f,-0.4253600239753723f,-0.0439620204269886f,0.40731197595596313f,-0.8418581485748291f,-0.4161022901535034f,-0.13682329654693604f,0.4825895428657532f}, -{0.05561351403594017f,-0.31424689292907715f,-0.23319895565509796f,0.2681264281272888f,-0.34244322776794434f,-0.14767350256443024f,-0.15703755617141724f,-0.34880250692367554f,0.02525143511593342f,-0.07237770408391953f,0.22332286834716797f,-0.26092222332954407f,0.15512831509113312f,-0.1925271600484848f,0.03769642114639282f,0.4079200029373169f}, -{-0.29467150568962097f,0.35141628980636597f,0.08977723121643066f,-0.26677823066711426f,0.27528494596481323f,-0.027910320088267326f,-0.06348633766174316f,-0.4413004517555237f,-0.2344430387020111f,0.3978966772556305f,0.06910879909992218f,-0.16305513679981232f,0.46308633685112f,0.27809450030326843f,-0.2676756680011749f,0.1749669462442398f}, -{-0.8026714324951172f,0.029235489666461945f,0.16173982620239258f,-0.28008711338043213f,0.7383080720901489f,0.034682925790548325f,-0.26198261976242065f,-0.1809414029121399f,-0.0042190528474748135f,-0.09204762428998947f,0.14849503338336945f,-0.7042822241783142f,0.7616125345230103f,0.1948241889476776f,0.3052974343299866f,-0.24552688002586365f}, -{-1.2090214490890503f,1.044128179550171f,0.32573211193084717f,-0.3152119815349579f,1.4418548345565796f,-0.28238555788993835f,-0.17817988991737366f,-0.12100369483232498f,-0.3711136281490326f,1.1661432981491089f,0.4969133734703064f,-0.20219875872135162f,1.2003483772277832f,1.1930829286575317f,0.23379981517791748f,-1.3348889350891113f}, -{-0.28250348567962646f,-0.37456822395324707f,-0.3532183766365051f,0.6079415082931519f,0.47373977303504944f,-0.05952784791588783f,0.13436567783355713f,0.26640602946281433f,-0.12828494608402252f,0.5410703420639038f,0.11071517318487167f,-1.0404213666915894f,0.4451516270637512f,-0.026991792023181915f,0.09193113446235657f,-0.1450853794813156f}, -{0.02582506090402603f,-0.4248056411743164f,0.173875629901886f,0.727272629737854f,0.9010303020477295f,0.09358251839876175f,-0.21062730252742767f,0.04844214767217636f,-0.14737147092819214f,0.19983139634132385f,0.13771219551563263f,-0.622833251953125f,0.38318967819213867f,-0.027559248730540276f,-0.19507692754268646f,-0.3069741129875183f}, -{-0.28290465474128723f,-0.6803123354911804f,0.36161231994628906f,0.5248990058898926f,0.6378991603851318f,-0.26349329948425293f,-0.2803434431552887f,-0.3813649117946625f,-0.1007230132818222f,-0.05143061280250549f,-0.15806236863136292f,-1.5134726762771606f,0.1879155933856964f,-0.20506656169891357f,0.04202204942703247f,0.2785740792751312f}, -{0.43120473623275757f,0.35419386625289917f,0.1776806116104126f,-0.5840943455696106f,0.23819109797477722f,-0.3973718285560608f,0.036818891763687134f,-0.006272938568145037f,0.2839867174625397f,0.24750444293022156f,-0.35145998001098633f,-2.9624078273773193f,0.2298077940940857f,-0.2754533588886261f,0.058527231216430664f,-0.197516530752182f}, -{0.0883091613650322f,2.221348285675049f,-0.3542669713497162f,-3.4279627799987793f,-0.7394808530807495f,-0.5215352177619934f,-0.13638360798358917f,-0.3457086682319641f,0.1947435736656189f,1.5190349817276f,-1.1693994998931885f,0.13867098093032837f,-0.2131810039281845f,1.063973069190979f,-0.07223698496818542f,-1.8134596347808838f}, -{0.35003969073295593f,-1.6372849941253662f,0.14635330438613892f,1.5864801406860352f,-1.5092610120773315f,0.0233170036226511f,-0.03628063201904297f,-0.06407646834850311f,-0.03726398944854736f,-1.5052744150161743f,-3.5440919399261475f,2.2680270671844482f,-0.9601197838783264f,-0.4515523910522461f,0.25779521465301514f,1.948490858078003f}, -{-1.2921823263168335f,0.046778082847595215f,0.18322283029556274f,0.8390130996704102f,1.6897039413452148f,-0.44580936431884766f,-0.3163079023361206f,-0.14299212396144867f,-0.33874908089637756f,0.35695555806159973f,-0.6919272541999817f,2.1619715690612793f,1.6044460535049438f,0.07630632072687149f,-0.2407861351966858f,-0.3300262689590454f}, -{-1.9646589756011963f,0.11086469143629074f,-0.2609631419181824f,0.7379636168479919f,0.7512302994728088f,-0.601274311542511f,0.2401489019393921f,-0.46611249446868896f,-0.33483636379241943f,0.9093155860900879f,0.29235851764678955f,2.1133012771606445f,1.5996805429458618f,1.1519701480865479f,-0.28592410683631897f,-0.5927081108093262f}, -{-0.08456036448478699f,-0.08369448035955429f,0.1335710883140564f,0.22850552201271057f,-1.7369736433029175f,0.06928970664739609f,-0.1246849000453949f,-0.25417712330818176f,-0.13479188084602356f,0.5387687087059021f,0.5820872187614441f,-0.5517093539237976f,0.564275860786438f,0.9248397946357727f,0.1255095899105072f,0.4651395380496979f}, -{-0.0061575579456985f,0.043599728494882584f,-0.07108169794082642f,-0.10724732279777527f,-1.8126723766326904f,-0.04026230424642563f,0.13563674688339233f,0.1537916213274002f,-0.32014426589012146f,0.42223477363586426f,0.3170647919178009f,-1.7117116451263428f,-0.269532173871994f,0.6451035737991333f,0.01829466223716736f,0.05245259776711464f}, -{-0.04927230626344681f,-0.22073353826999664f,0.24740570783615112f,-0.34048429131507874f,0.14276234805583954f,-0.1988213062286377f,0.25593245029449463f,0.07730936259031296f,-0.04615097865462303f,0.3050042688846588f,0.03207963705062866f,-0.7398303151130676f,-0.06595059484243393f,-0.04308776557445526f,0.056514471769332886f,0.025838233530521393f}, -{-0.006180575583130121f,0.07182402908802032f,-0.3288555443286896f,0.03609153628349304f,0.25712621212005615f,-0.2993857264518738f,-0.11800059676170349f,-0.002290050033479929f,-0.24711088836193085f,0.22255589067935944f,-0.006444407626986504f,0.029888996854424477f,-0.14609503746032715f,-0.2297406941652298f,-0.3194865584373474f,0.20274606347084045f}, -{-0.06325317174196243f,-0.26165610551834106f,-0.29844698309898376f,-0.35307204723358154f,0.2710855305194855f,0.2870788276195526f,-0.249517560005188f,0.3323829770088196f,-0.3901354968547821f,-0.11168718338012695f,0.045547403395175934f,0.1314256638288498f,-0.011943834833800793f,0.038852572441101074f,0.23831695318222046f,-0.07709437608718872f}, -{0.10143367946147919f,-0.15720993280410767f,0.20589900016784668f,0.22751997411251068f,0.030718274414539337f,-0.05869137495756149f,-0.2483310103416443f,0.0940062403678894f,-0.11915696412324905f,0.19102025032043457f,0.010263956151902676f,0.19119225442409515f,-0.20354312658309937f,-0.12661433219909668f,0.06927120685577393f,-0.21288511157035828f}, -{-0.11075524985790253f,0.1662895828485489f,0.008588135242462158f,-0.18531081080436707f,-0.20160110294818878f,0.0031360506545752287f,0.013287186622619629f,-0.10477010905742645f,0.20667634904384613f,-0.20318958163261414f,-0.0011674987617880106f,-0.14986133575439453f,0.11168224364519119f,-0.1283273547887802f,-0.1702093929052353f,-0.029348228126764297f}, -{0.20272181928157806f,-0.1255539357662201f,0.06708025932312012f,0.23287977278232574f,0.19730404019355774f,0.17395472526550293f,0.27470332384109497f,-0.10465449094772339f,-0.06794644147157669f,-0.0433085672557354f,0.04268309101462364f,-0.16848035156726837f,0.031149502843618393f,0.13248731195926666f,0.11447501182556152f,-0.1983349621295929f}, + {0.34092649817466736f,-0.17751096189022064f,0.11304140090942383f,-0.5783094167709351f,0.2361723631620407f,-0.03183041512966156f,-0.15306922793388367f,-0.25533971190452576f,-0.24843157827854156f,0.20545369386672974f,0.07281599193811417f,-0.549948513507843f,0.22998414933681488f,0.8487377166748047f,-0.22528137266635895f,0.5029056668281555f}, +{0.5579521059989929f,-0.5495786070823669f,-0.3440950810909271f,-0.7322233319282532f,0.49001023173332214f,-0.051117196679115295f,-0.3551466166973114f,-0.3390023708343506f,-0.06824600696563721f,0.18693794310092926f,0.03482111543416977f,0.31533128023147583f,0.20803998410701752f,2.2797598838806152f,-0.1836855560541153f,0.40769147872924805f}, +{0.15708136558532715f,0.10031973570585251f,0.3188004493713379f,-0.24857959151268005f,1.2874870300292969f,0.011516728438436985f,0.2516096830368042f,-0.2475629597902298f,-0.13976924121379852f,-0.04509475454688072f,-0.068355992436409f,0.005560964811593294f,0.2870408296585083f,1.5450286865234375f,0.04897245764732361f,0.21942755579948425f}, +{0.07325965166091919f,-4.668721675872803f,0.34815579652786255f,1.8144445419311523f,1.5153175592422485f,-0.2636411190032959f,-0.10148510336875916f,-0.07404996454715729f,0.02117691934108734f,-0.030644135549664497f,-0.15625081956386566f,-0.33362966775894165f,0.19487011432647705f,2.6744627952575684f,-0.2594349980354309f,-0.6878810524940491f}, +{0.6935062408447266f,6.573764324188232f,-0.004507303237915039f,-4.570895195007324f,-4.705199241638184f,0.04179810732603073f,0.11336228251457214f,-0.10902296751737595f,0.026727354153990746f,2.14497447013855f,-0.2724602520465851f,5.297976493835449f,-2.2599387168884277f,-0.0031771850772202015f,-0.33859342336654663f,-1.6475015878677368f}, +{3.1702845096588135f,-0.2631402313709259f,0.19074231386184692f,-0.5056807994842529f,-3.6120030879974365f,0.013062538579106331f,0.1446705460548401f,-0.2211650013923645f,0.029533453285694122f,-2.385817527770996f,-1.8329116106033325f,2.6066362857818604f,-3.683359146118164f,-2.4476754665374756f,-0.36205175518989563f,1.2466870546340942f}, +{1.172418236732483f,0.18126896023750305f,-0.21918344497680664f,-0.7763068079948425f,-2.224487066268921f,0.2762419283390045f,0.05268651247024536f,-0.3002548813819885f,0.32041603326797485f,-0.7808166742324829f,0.21839405596256256f,1.4843412637710571f,-1.630376935005188f,-1.193390130996704f,-0.13682329654693604f,0.6480371356010437f}, +{0.4696221351623535f,-0.2887144982814789f,-0.23319895565509796f,0.15379580855369568f,-0.9144590497016907f,-0.14767350256443024f,-0.15703755617141724f,-0.34880250692367554f,0.02525143511593342f,-0.31814560294151306f,0.8806858062744141f,0.10359556972980499f,-0.13706862926483154f,-0.8156021237373352f,0.03769642114639282f,0.8481214642524719f}, +{-0.3178448975086212f,-0.25239327549934387f,0.08977723121643066f,0.3152540922164917f,0.6136899590492249f,-0.027910320088267326f,-0.06348633766174316f,-0.4413004517555237f,-0.2344430387020111f,0.1942557692527771f,0.8886971473693848f,-0.9001786708831787f,0.7472579479217529f,0.4812140464782715f,-0.2676756680011749f,0.8172871470451355f}, +{-1.0507228374481201f,-1.2700998783111572f,0.16173982620239258f,0.5956149697303772f,1.8710905313491821f,0.034682925790548325f,-0.26198261976242065f,-0.1809414029121399f,-0.0042190528474748135f,-0.2413707971572876f,0.19517844915390015f,-2.4998934268951416f,1.2148574590682983f,1.3121814727783203f,0.3052974343299866f,0.25482454895973206f}, +{-3.4056408405303955f,2.050459384918213f,0.32573211193084717f,-0.04155329242348671f,4.419846534729004f,-0.28238555788993835f,-0.17817988991737366f,-0.12100369483232498f,-0.3711136281490326f,3.545614242553711f,-0.349995881319046f,-1.197167992591858f,3.6176984310150146f,2.942145824432373f,0.23379981517791748f,-3.5927908420562744f}, +{-0.2968965768814087f,-0.18221202492713928f,-0.3532183766365051f,0.7072476148605347f,1.4376311302185059f,-0.05952784791588783f,0.13436567783355713f,0.26640602946281433f,-0.12828494608402252f,0.6667514443397522f,0.11107440292835236f,-2.2602550983428955f,1.1174207925796509f,0.13434092700481415f,0.09193113446235657f,0.6295722723007202f}, +{0.3328736424446106f,-0.19119255244731903f,0.173875629901886f,0.6416075229644775f,1.741624116897583f,0.09358251839876175f,-0.21062730252742767f,0.04844214767217636f,-0.14737147092819214f,0.35168376564979553f,0.18776968121528625f,0.14158879220485687f,0.4233027994632721f,0.04836166650056839f,-0.19507692754268646f,0.20196767151355743f}, +{-0.02864127978682518f,-1.041516661643982f,0.36161231994628906f,2.211421251296997f,2.567561149597168f,-0.26349329948425293f,-0.2803434431552887f,-0.3813649117946625f,-0.1007230132818222f,-0.19206538796424866f,-0.2978189289569855f,-2.60141658782959f,0.6234521269798279f,-2.764857292175293f,0.04202204942703247f,0.58929443359375f}, +{0.12671801447868347f,0.37900495529174805f,0.1776806116104126f,1.0852323770523071f,-0.12410945445299149f,-0.3973718285560608f,0.036818891763687134f,-0.006272938568145037f,0.2839867174625397f,0.18113282322883606f,-0.3237169086933136f,-6.296355724334717f,0.793086588382721f,-4.45235013961792f,0.058527231216430664f,0.29454606771469116f}, +{-0.15460769832134247f,5.624226093292236f,-0.3542669713497162f,-8.794639587402344f,-3.956986427307129f,-0.5215352177619934f,-0.13638360798358917f,-0.3457086682319641f,0.1947435736656189f,4.303055286407471f,-2.064676523208618f,4.115015983581543f,-1.213339924812317f,-0.3341985046863556f,-0.07223698496818542f,-3.821223020553589f}, +{-2.1476898193359375f,-2.2809033393859863f,0.14635330438613892f,4.472037315368652f,-0.9735428690910339f,0.0233170036226511f,-0.03628063201904297f,-0.06407646834850311f,-0.03726398944854736f,-3.9975452423095703f,-8.447904586791992f,1.7297546863555908f,-1.5696922540664673f,2.6497104167938232f,0.25779521465301514f,4.545749664306641f}, +{-1.761641502380371f,0.8114403486251831f,0.18322283029556274f,3.0281319618225098f,4.990633964538574f,-0.44580936431884766f,-0.3163079023361206f,-0.14299212396144867f,-0.33874908089637756f,-0.32548049092292786f,-1.15664803981781f,5.41822624206543f,4.760635852813721f,0.5850329995155334f,-0.2407861351966858f,-3.4591903686523438f}, +{-4.470409393310547f,-1.367569923400879f,-0.2609631419181824f,0.4477810561656952f,-0.9020540714263916f,-0.601274311542511f,0.2401489019393921f,-0.46611249446868896f,-0.33483636379241943f,2.179175853729248f,0.7727879285812378f,2.9169886112213135f,3.2388529777526855f,2.113309860229492f,-0.28592410683631897f,-1.1962149143218994f}, +{-1.3898264169692993f,-0.8256547451019287f,0.1335710883140564f,0.6913424134254456f,-2.9332144260406494f,0.06928970664739609f,-0.1246849000453949f,-0.25417712330818176f,-0.13479188084602356f,1.152040958404541f,0.2123764455318451f,-2.6732516288757324f,0.466400146484375f,0.8652366995811462f,0.1255095899105072f,1.5170414447784424f}, +{-0.5360374450683594f,-0.2084455043077469f,-0.07108169794082642f,-0.028804941102862358f,-2.3895716667175293f,-0.04026230424642563f,0.13563674688339233f,0.1537916213274002f,-0.32014426589012146f,0.5466038584709167f,0.35192447900772095f,-2.317697763442993f,-0.8524144887924194f,-0.3777482509613037f,0.01829466223716736f,0.221949964761734f}, +{-0.20967860519886017f,-0.9088816046714783f,0.24740570783615112f,-0.17346380650997162f,0.3948204815387726f,-0.1988213062286377f,0.25593245029449463f,0.07730936259031296f,-0.04615097865462303f,0.0902913510799408f,-0.11319594830274582f,-0.20652931928634644f,-0.15401966869831085f,-0.6400507092475891f,0.056514471769332886f,-0.31130948662757874f}, +{0.33998772501945496f,-0.869303822517395f,-0.3288555443286896f,-0.09150969237089157f,0.5572262406349182f,-0.2993857264518738f,-0.11800059676170349f,-0.002290050033479929f,-0.24711088836193085f,0.04870563745498657f,0.05863558501005173f,0.08668135851621628f,-0.2687119245529175f,-0.2888387143611908f,-0.3194865584373474f,-0.3232150375843048f}, +{-0.07423838973045349f,-0.1332615613937378f,-0.29844698309898376f,-0.7846248745918274f,0.26193055510520935f,0.2870788276195526f,-0.249517560005188f,0.3323829770088196f,-0.3901354968547821f,-0.19566965103149414f,0.044784240424633026f,0.08455096185207367f,0.0996660366654396f,0.08371050655841827f,0.23831695318222046f,-0.12759900093078613f}, +{-0.007453622296452522f,0.06747183203697205f,0.20589900016784668f,0.2609877288341522f,0.10742098838090897f,-0.05869137495756149f,-0.2483310103416443f,0.0940062403678894f,-0.11915696412324905f,0.07536322623491287f,-0.029692847281694412f,0.3324778378009796f,-0.17434345185756683f,-1.0196783542633057f,0.06927120685577393f,0.19728459417819977f}, +{-0.41799303889274597f,0.5713720917701721f,0.008588135242462158f,-0.01941094733774662f,-0.30944591760635376f,0.0031360506545752287f,0.013287186622619629f,-0.10477010905742645f,0.20667634904384613f,-0.13338322937488556f,-0.03540487587451935f,-0.7131349444389343f,0.02426232397556305f,-0.19563768804073334f,-0.1702093929052353f,-0.18743069469928741f}, +{0.5501418709754944f,-0.4278038442134857f,0.06708025932312012f,0.0033748778514564037f,0.22755415737628937f,0.17395472526550293f,0.27470332384109497f,-0.10465449094772339f,-0.06794644147157669f,0.07854513078927994f,0.030631450936198235f,0.37434232234954834f,0.011960554867982864f,1.4014599323272705f,0.11447501182556152f,0.05627311021089554f}, }; const float h2[16][16] = { - {-0.22666147351264954f,-0.9731289744377136f,-0.06966331601142883f,-2.287287473678589f,-0.21907491981983185f,1.3988337516784668f,-0.10773514211177826f,-0.03515057638287544f,-0.43008196353912354f,-0.1415480375289917f,-2.4816269874572754f,0.6497769355773926f,-0.22605213522911072f,0.24233384430408478f,0.9509211778640747f,-0.1193104013800621f}, -{0.01997062750160694f,0.2502945363521576f,0.057057321071624756f,-0.8743723630905151f,-0.35503754019737244f,-0.38371074199676514f,-0.4695163369178772f,-0.3443279564380646f,-0.33757925033569336f,0.2895788848400116f,-1.5504399538040161f,-3.3185763359069824f,-0.07055536657571793f,-0.5348182916641235f,-0.5986486077308655f,-0.2146187573671341f}, + {-0.2620825469493866f,-0.35985758900642395f,-0.06966331601142883f,-1.9603711366653442f,-0.21907491981983185f,1.10932195186615f,-0.10773514211177826f,-0.15895317494869232f,-0.43008196353912354f,-0.1415480375289917f,-2.5349769592285156f,2.1444311141967773f,-0.22605213522911072f,1.3253021240234375f,-0.29533857107162476f,0.20053157210350037f}, +{-0.05788386985659599f,0.01112974900752306f,0.057057321071624756f,-0.827238917350769f,-0.4535830020904541f,0.10372825711965561f,-0.4695163369178772f,-0.3443279564380646f,-0.33757925033569336f,0.2895788848400116f,-1.427756905555725f,-4.168778419494629f,-0.07055536657571793f,0.04437457397580147f,-0.4495862126350403f,-0.19949151575565338f}, {-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.014338684268295765f,0.29755011200904846f,-0.2894435524940491f,0.8660193085670471f,0.08946844935417175f,0.6061522960662842f,-0.4850245714187622f,0.28153979778289795f,0.26211628317832947f,0.2953031361103058f,0.712110161781311f,-0.6467779874801636f,-0.5753626227378845f,0.38803771138191223f,-0.38519588112831116f,-0.024304376915097237f}, -{-0.2955113351345062f,0.7218867540359497f,-0.25313520431518555f,0.4289168119430542f,0.036378175020217896f,0.4847446382045746f,-0.42506909370422363f,-0.2573963403701782f,-0.024399548768997192f,-0.39465832710266113f,0.5750599503517151f,-0.09546228498220444f,-0.04892677441239357f,0.031837042421102524f,-1.531069040298462f,0.904072105884552f}, +{0.014338684268295765f,0.2903355360031128f,-0.2894435524940491f,0.015287850052118301f,-0.06276069581508636f,0.45387545228004456f,-0.4850245714187622f,0.14931835234165192f,0.26211628317832947f,0.2953031361103058f,1.0359928607940674f,-0.6029559373855591f,-0.5753626227378845f,0.08354675769805908f,-0.23263539373874664f,-0.13099294900894165f}, +{-0.43447214365005493f,0.4189300239086151f,-0.25313520431518555f,0.38307803869247437f,-0.060740407556295395f,0.5552945137023926f,-0.42506909370422363f,-0.3609646260738373f,-0.024399548768997192f,-0.39465832710266113f,1.2237313985824585f,0.22373980283737183f,-0.04892677441239357f,-0.36772483587265015f,-1.5048145055770874f,0.2625937759876251f}, {0.31476813554763794f,0.27144718170166016f,-0.3519742488861084f,0.06134898215532303f,-0.3015052080154419f,-0.05325409397482872f,-0.5385889410972595f,-0.06020664423704147f,-0.23047015070915222f,0.3579089343547821f,0.005141436122357845f,-0.04989812150597572f,-0.31370723247528076f,0.37895432114601135f,0.19419044256210327f,-0.8322383165359497f}, {-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.11485008150339127f,0.3802235722541809f,0.33083590865135193f,-0.174376979470253f,-0.14358049631118774f,-0.3392323851585388f,-0.16777488589286804f,-0.35042184591293335f,0.2600560486316681f,-0.37898191809654236f,0.35792621970176697f,-0.3227073550224304f,-0.3428466320037842f,0.23922686278820038f,0.0586688369512558f,-0.0637214332818985f}, {-0.24388009309768677f,0.3332919478416443f,-0.11379697918891907f,0.11333789676427841f,0.041274964809417725f,-0.3496009409427643f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.04694144055247307f,-0.3197441101074219f,-0.37024784088134766f,-0.28174179792404175f,-0.38282039761543274f,-0.22661948204040527f}, -{-0.24176129698753357f,0.9073949456214905f,-0.13502129912376404f,0.6467365622520447f,0.12987366318702698f,-1.0103875398635864f,-0.06564053893089294f,-0.4504117965698242f,-0.13619378209114075f,0.16938945651054382f,0.2671346664428711f,0.08683498203754425f,-0.07896587252616882f,-1.133154273033142f,0.13453996181488037f,0.4303555488586426f}, -{-0.3293219208717346f,0.8853071928024292f,0.0457797646522522f,-1.0035994052886963f,-0.03321319818496704f,-0.27788540720939636f,0.01888667605817318f,-0.20089131593704224f,-0.050184011459350586f,0.12480869889259338f,0.6677376627922058f,-6.225065231323242f,-0.7857663035392761f,0.7416887283325195f,0.5207316875457764f,-4.855598449707031f}, -{0.2346000075340271f,0.6364800333976746f,0.3954955041408539f,1.1117665767669678f,0.0033026933670043945f,0.023970767855644226f,-0.3883615732192993f,-0.2818208336830139f,0.3487861454486847f,-0.32520344853401184f,0.5535678863525391f,1.8628464937210083f,-0.3014766573905945f,-0.3113826811313629f,1.219274878501892f,0.14805778861045837f}, -{-0.3626471757888794f,0.7156172394752502f,-0.15798500180244446f,2.0958058834075928f,-0.37393757700920105f,0.03073740191757679f,-0.1401001513004303f,-0.4187661111354828f,-0.3764709532260895f,0.2424570620059967f,1.1321351528167725f,-0.48643267154693604f,0.18914110958576202f,-0.41340401768684387f,-0.9417580962181091f,-1.1570900678634644f}, -{-0.28509533405303955f,0.6864480972290039f,-0.2018718123435974f,-0.22834159433841705f,0.07545611262321472f,-0.12742458283901215f,-0.33396974205970764f,-0.26103681325912476f,-0.24509364366531372f,0.19522181153297424f,1.016654133796692f,-1.4945483207702637f,-0.5131900310516357f,-0.339977890253067f,0.30054378509521484f,0.4884703457355499f}, +{-0.3381052315235138f,1.9563337564468384f,-0.13502129912376404f,0.3351796269416809f,-0.020036695525050163f,-1.7428661584854126f,-0.06564053893089294f,-0.4504117965698242f,-0.13619378209114075f,0.16938945651054382f,0.14928607642650604f,-0.13259397447109222f,-0.07896587252616882f,-1.8224036693572998f,0.7662401795387268f,-0.6259181499481201f}, +{-0.5457655787467957f,1.4576342105865479f,0.0457797646522522f,-0.3774128556251526f,-0.03321319818496704f,0.17283335328102112f,0.01888667605817318f,-0.25532734394073486f,-0.050184011459350586f,0.12480869889259338f,1.2288336753845215f,-15.933256149291992f,-0.7857663035392761f,1.1419130563735962f,0.8216934204101562f,-9.063179969787598f}, +{0.14350873231887817f,0.9939987659454346f,0.3954955041408539f,2.9178481101989746f,0.0033026933670043945f,-0.04006713628768921f,-0.3883615732192993f,-0.2818208336830139f,0.3487861454486847f,-0.32520344853401184f,0.6712455153465271f,5.888098239898682f,-0.3014766573905945f,0.029262129217386246f,2.0022754669189453f,0.9187557101249695f}, +{-0.3626471757888794f,0.634451150894165f,-0.15798500180244446f,1.7455203533172607f,-0.47898760437965393f,-0.12288719415664673f,-0.1401001513004303f,-0.4187661111354828f,-0.3764709532260895f,0.2424570620059967f,1.3549307584762573f,-2.960801124572754f,0.18914110958576202f,0.5696824789047241f,-2.343952178955078f,-0.4149255156517029f}, +{-0.48061907291412354f,0.039684560149908066f,-0.2018718123435974f,-0.8694261908531189f,0.07545611262321472f,-0.012147990986704826f,-0.33396974205970764f,-0.26103681325912476f,-0.24509364366531372f,0.19522181153297424f,0.2439804971218109f,-3.703805446624756f,-0.5131900310516357f,-0.06884801387786865f,-0.15812617540359497f,0.0565507635474205f}, {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.45554113388061523f,-0.21074046194553375f,0.12081471085548401f,0.5717184543609619f,0.29976895451545715f,1.031011700630188f,-0.41204968094825745f,0.18378953635692596f,-0.3893685042858124f,-0.02222958207130432f,0.844425618648529f,0.6993454694747925f,-0.5635847449302673f,0.46124067902565f,0.7853267788887024f,0.009538305923342705f}, +{-0.6156227588653564f,0.0166426170617342f,0.12081471085548401f,2.11330246925354f,0.14446890354156494f,1.6178532838821411f,-0.41204968094825745f,0.04831470549106598f,-0.3893685042858124f,-0.02222958207130432f,1.0306525230407715f,2.0138447284698486f,-0.5635847449302673f,0.5296145677566528f,1.2883501052856445f,1.2618708610534668f}, }; const float h3[16][16] = { - {-0.36079341173171997f,-0.09076724946498871f,-0.07537460327148438f,-0.37359458208084106f,-0.1853119134902954f,0.037513528019189835f,0.3332441747188568f,0.3036012351512909f,-0.2405819296836853f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,0.02680664323270321f,0.3048058748245239f,-0.31226614117622375f,0.15539933741092682f}, -{0.047732532024383545f,0.382931113243103f,-0.9373628497123718f,-0.540813148021698f,-0.25092998147010803f,-0.12487810105085373f,-0.3198729455471039f,-0.025552408769726753f,-0.17903807759284973f,-0.040940821170806885f,1.012068748474121f,-0.3128277659416199f,-0.2322005033493042f,0.5240523219108582f,-0.5182741284370422f,-0.18848972022533417f}, + {-0.36079341173171997f,-0.1248636469244957f,0.04492071270942688f,-0.37359458208084106f,-0.052630770951509476f,-0.09110529720783234f,0.3332441747188568f,0.3036012351512909f,-0.2405819296836853f,0.18065515160560608f,-0.11870327591896057f,0.4001283347606659f,0.15306426584720612f,0.17602550983428955f,-0.31226614117622375f,0.27432310581207275f}, +{0.047732532024383545f,0.22905512154102325f,-8.683649063110352f,-0.5980826020240784f,-0.3548312187194824f,-0.23907701671123505f,-0.3198729455471039f,-0.11540349572896957f,-0.17903807759284973f,-0.3579120635986328f,1.0270487070083618f,-0.3128277659416199f,-0.4846734404563904f,0.47396665811538696f,-0.5182741284370422f,-0.7466837763786316f}, {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.378269225358963f,0.34528040885925293f,-0.6936429738998413f,-0.9290411472320557f,-0.6539890766143799f,0.20021501183509827f,-0.05345221608877182f,-0.34684479236602783f,0.551261842250824f,1.4039827585220337f,0.41021624207496643f,0.5317771434783936f,-0.958977460861206f,-0.0719471126794815f,-0.1573108732700348f}, -{-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,-1.201096773147583f,0.5920363664627075f,-0.09837193042039871f,0.7291061282157898f,-0.5595909953117371f,-0.18732719123363495f,0.06593009829521179f,-0.4283922016620636f,0.6031066179275513f,0.2844913601875305f,0.040939148515462875f,0.9712563753128052f,0.6961747407913208f,0.03177299723029137f,-0.1881311684846878f}, +{-0.30922991037368774f,0.2098940908908844f,0.655716598033905f,-0.6936429738998413f,-0.8924351930618286f,-0.2864685356616974f,0.20021501183509827f,-0.15297147631645203f,-0.34684479236602783f,0.36313191056251526f,1.6252870559692383f,0.41021624207496643f,0.27708855271339417f,-1.0030299425125122f,-0.0719471126794815f,-0.15554414689540863f}, +{-0.39607733488082886f,-0.05481579899787903f,0.09350710362195969f,0.022423356771469116f,0.04914037510752678f,-0.27518749237060547f,0.16012099385261536f,0.3626593053340912f,-0.08640444278717041f,-0.11053556203842163f,-0.10529157519340515f,-0.31317979097366333f,-0.2563604414463043f,-0.023318447172641754f,0.22959044575691223f,0.19986507296562195f}, +{-0.37449589371681213f,-1.5128178596496582f,1.1157286167144775f,0.012347618117928505f,0.1251792311668396f,-0.20481035113334656f,-0.18732719123363495f,0.06593009829521179f,-0.4283922016620636f,0.5244297385215759f,1.3325649499893188f,0.040939148515462875f,1.0490773916244507f,0.6641506552696228f,0.03177299723029137f,-0.9462454319000244f}, {0.4110594093799591f,0.06665301322937012f,-0.15713489055633545f,0.37246426939964294f,0.37014853954315186f,-0.28005847334861755f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.3002784252166748f,0.35313835740089417f,0.3444467782974243f,0.07210832834243774f,0.3126353323459625f,-0.18213681876659393f}, -{-0.40892091393470764f,0.1513758897781372f,-0.48923084139823914f,0.25968697667121887f,0.21361234784126282f,-0.045282695442438126f,-0.23312048614025116f,-0.390264093875885f,0.28059282898902893f,-0.1559126079082489f,-0.13780227303504944f,-0.0003446042537689209f,-0.3347875773906708f,-0.2383403778076172f,0.08461052924394608f,-0.08403428643941879f}, +{-0.40892091393470764f,0.1513758897781372f,-0.4842246174812317f,0.25968697667121887f,0.22073984146118164f,-0.045282695442438126f,-0.23312048614025116f,-0.390264093875885f,0.28059282898902893f,-0.1559126079082489f,-0.13780227303504944f,-0.0003446042537689209f,-0.3297728896141052f,-0.2426803708076477f,0.08461052924394608f,-0.08403428643941879f}, {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,0.7303779125213623f,-0.14170929789543152f,-0.3918849527835846f,-0.3932904303073883f,-0.24396364390850067f,-0.08742031455039978f,-0.06361637264490128f,-0.45792415738105774f,-3.600414514541626f,-0.23141351342201233f,-0.30447322130203247f,0.1891656517982483f,-0.9835952520370483f,0.13774916529655457f,-0.13530805706977844f}, -{-0.408692330121994f,0.6255720853805542f,0.7329188585281372f,-0.20464634895324707f,1.0601736307144165f,-0.21558696031570435f,0.03285527229309082f,0.24242457747459412f,-0.20705322921276093f,-1.6309973001480103f,0.3865607976913452f,0.03996849060058594f,0.37277746200561523f,0.8966895937919617f,-0.33430081605911255f,3.8933417797088623f}, +{0.15459725260734558f,0.37051424384117126f,0.6012240052223206f,-0.3918849527835846f,-0.22245243191719055f,0.12014298886060715f,-0.08742031455039978f,-0.06361637264490128f,-0.45792415738105774f,-3.0683937072753906f,-0.18316790461540222f,-0.30447322130203247f,0.40824562311172485f,-0.6893712282180786f,0.13774916529655457f,-1.7333446741104126f}, +{-0.408692330121994f,-0.6143487691879272f,-0.32306748628616333f,-0.20464634895324707f,1.9836362600326538f,-0.09671182930469513f,0.03285527229309082f,0.16731688380241394f,-0.20705322921276093f,-0.5043397545814514f,-2.0510904788970947f,0.03996849060058594f,0.0009960350580513477f,1.8711391687393188f,-0.33430081605911255f,-0.04315889626741409f}, {-0.2991822361946106f,0.03684067726135254f,0.09064116328954697f,-0.05932474136352539f,0.32539287209510803f,-0.1075403243303299f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.27204033732414246f,-0.33187779784202576f,-0.36229726672172546f,0.3473217785358429f,-0.40683186054229736f,0.35020312666893005f,-0.14019730687141418f}, -{-0.2675279378890991f,0.05023667961359024f,-0.6284725666046143f,-0.1852927953004837f,0.5861676931381226f,-0.2974196672439575f,-0.32875844836235046f,-0.4730899930000305f,-0.6182461380958557f,-1.001299500465393f,-0.7717978358268738f,-0.5690205693244934f,-0.11000235378742218f,-0.24170082807540894f,0.08752793073654175f,0.7927411198616028f}, -{-0.015470266342163086f,0.09972165524959564f,1.1208674907684326f,0.2817140817642212f,0.3754902482032776f,-0.16274574398994446f,0.05196094512939453f,-0.031816188246011734f,-0.48440781235694885f,1.4005353450775146f,-0.288275808095932f,-0.27183401584625244f,0.7272746562957764f,0.49798253178596497f,-0.2910749316215515f,0.9508339762687683f}, -{0.1863725483417511f,0.651580810546875f,0.7092840671539307f,-0.7156075239181519f,0.9787057638168335f,-0.41881075501441956f,0.04860696196556091f,0.051371075212955475f,-0.06240145489573479f,0.5102224946022034f,-1.134521484375f,0.037909068167209625f,0.08846279978752136f,0.6706823110580444f,-0.2567557394504547f,-2.4031741619110107f}, +{-0.2675279378890991f,0.8552074432373047f,-0.039093293249607086f,-0.21520304679870605f,0.6540526747703552f,-0.8742580413818359f,-0.32875844836235046f,-0.5644030570983887f,-0.6182461380958557f,-1.2593419551849365f,-1.025280237197876f,-0.5690205693244934f,-0.4771731197834015f,-0.23875974118709564f,0.08752793073654175f,0.8570985794067383f}, +{-0.015470266342163086f,-0.6720524430274963f,0.8159643411636353f,0.25489652156829834f,0.5940402150154114f,0.5447346568107605f,0.05196094512939453f,-0.11897651106119156f,-0.48440781235694885f,1.2287242412567139f,-0.6838560104370117f,-0.27183401584625244f,0.4658721685409546f,0.78135085105896f,-0.2910749316215515f,1.3705083131790161f}, +{0.1863725483417511f,0.9837093949317932f,-0.30160006880760193f,-0.800003707408905f,1.130357027053833f,-0.5972660779953003f,0.04860696196556091f,-0.04633398354053497f,-0.06240145489573479f,1.0374995470046997f,-1.6690632104873657f,0.037909068167209625f,-0.47789737582206726f,0.8016687631607056f,-0.2567557394504547f,-1.397141456604004f}, }; -const float hout[16] = { 0.45773375034332275f,0.13197922706604004f,-0.1375853270292282f,-0.048743341118097305f,-0.36748799681663513f,0.10402646660804749f,0.0030125975608825684f,0.0152152543887496f,-0.015293147414922714f,-0.38666924834251404f,0.28481343388557434f,-0.2470267117023468f,-0.15145397186279297f,0.31919413805007935f,0.13424155116081238f,-0.11630474030971527f }; +const float hout[16] = { 0.45773375034332275f,0.0875220075249672f,-0.14462095499038696f,-0.057044193148612976f,-0.22502626478672028f,0.09931062161922455f,0.0030125975608825684f,-0.08459780365228653f,-0.015293147414922714f,-0.18113473057746887f,0.14909648895263672f,-0.2470267117023468f,-0.13942600786685944f,0.16524046659469604f,0.13424155116081238f,-0.16988028585910797f }; -const float b1[16] = { 1.4650994539260864f,0.6028204560279846f,-1.7145336866378784f,0.6144894361495972f,0.48340240120887756f,0.9535374045372009f,-0.058932315558195114f,0.8230153322219849f,0.534460186958313f,-1.4429326057434082f,2.3309805393218994f,0.4888681471347809f,-0.8482300043106079f,-1.7240482568740845f,-1.087764859199524f,1.3414850234985352f }; +const float b1[16] = { 4.455581188201904f,0.617490291595459f,-1.7145336866378784f,0.6197854280471802f,0.44862285256385803f,0.9535374045372009f,-0.058932315558195114f,0.8230153322219849f,0.534460186958313f,-2.515536308288574f,5.642762660980225f,-1.5699793100357056f,-2.4434256553649902f,-2.287443161010742f,-1.087764859199524f,2.157510995864868f }; -const float b2[16] = { -0.20191192626953125f,-0.7284278273582458f,-1.4564176797866821f,-0.4845729172229767f,-0.6939148902893066f,0.5635812282562256f,0.04644674062728882f,-0.4364173710346222f,-1.20063054561615f,-1.912178635597229f,0.24028050899505615f,1.0980777740478516f,-0.5021564364433289f,2.146627426147461f,0.6193303465843201f,1.14039146900177f }; +const float b2[16] = { -0.30445876717567444f,-1.9393248558044434f,-1.4564176797866821f,-2.9421427249908447f,-0.8459792137145996f,0.18639250099658966f,0.04644674062728882f,-0.5634511113166809f,-1.20063054561615f,-1.912178635597229f,-0.2344026118516922f,0.1023261547088623f,-0.5021564364433289f,1.6916800737380981f,0.3282393515110016f,1.2668392658233643f }; -const float b3[16] = { -1.963319182395935f,-0.28526341915130615f,-0.12477435171604156f,-0.16373418271541595f,0.11069058626890182f,0.7716238498687744f,-0.45353031158447266f,-0.7867750525474548f,0.046030376106500626f,-0.14008677005767822f,-0.6905379891395569f,-0.1071791872382164f,-0.20729561150074005f,0.8568269610404968f,-1.4714709520339966f,-0.6465596556663513f }; +const float b3[16] = { -1.963319182395935f,-1.2699017524719238f,-5.383432388305664f,-0.21658669412136078f,0.3961924910545349f,1.4630637168884277f,-0.45353031158447266f,-0.8824658989906311f,0.046030376106500626f,-0.8927707672119141f,-1.3397759199142456f,-0.1071791872382164f,0.9851167798042297f,0.022405317053198814f,-1.4714709520339966f,-1.3137004375457764f }; -const float bout[1] = { 0.059294138103723526f }; +const float bout[1] = { 0.28033334016799927f }; float VALVE_POS_RAW_NN = 0.0f;