![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Original Version of STM Board
Diff: main.cpp
- Revision:
- 159:9dbc8dce3695
- Parent:
- 158:cb9a6999d5e2
- Child:
- 160:f374bb098370
diff -r cb9a6999d5e2 -r 9dbc8dce3695 main.cpp --- a/main.cpp Sun Oct 11 13:20:29 2020 +0000 +++ b/main.cpp Mon Oct 12 00:34:29 2020 +0000 @@ -1,4 +1,4 @@ -//201011-5 +//201012-1 #include "mbed.h" #include "FastPWM.h" #include "INIT_HW.h" @@ -193,77 +193,77 @@ float input_NN[num_input] = { 0.0f }; const float h1[num_input][16] = { - {-0.995478630065918f,0.9198314547538757f,0.12024858593940735f,0.41609469056129456f,-1.220615029335022f,0.9601585268974304f,-0.1628284603357315f,0.7834000587463379f,-0.274306058883667f,-0.8252388834953308f,-0.21210439503192902f,-0.5697677731513977f,-0.5173769593238831f,-0.5151278972625732f,-0.2396446317434311f,-0.6752611398696899f}, -{-0.793222188949585f,0.6508582234382629f,-0.36603355407714844f,0.0721883550286293f,-0.9411556124687195f,0.47195619344711304f,-0.3777896761894226f,0.355355441570282f,-0.0824921503663063f,-0.27552446722984314f,-0.24640965461730957f,-0.35485702753067017f,0.046066828072071075f,-0.7441280484199524f,-0.1953967958688736f,-0.2680785655975342f}, -{-0.5368599891662598f,0.31608015298843384f,0.33912619948387146f,-0.3091577887535095f,-0.35867923498153687f,0.2646964192390442f,0.2676515281200409f,0.2080632448196411f,-0.158430278301239f,0.04930341616272926f,-0.31468620896339417f,-0.26437973976135254f,-0.07669703662395477f,-0.021274851635098457f,0.05209478735923767f,-0.3424776792526245f}, -{-0.1376415640115738f,-0.2578064799308777f,0.3703531324863434f,0.25495287775993347f,0.04572847858071327f,-0.46923601627349854f,-0.10795548558235168f,0.1248013973236084f,0.012896922416985035f,0.5033134818077087f,0.09927070140838623f,0.25469693541526794f,-0.12730878591537476f,0.1781374216079712f,-0.27597576379776f,0.11622545123100281f}, -{0.6801324486732483f,-0.47010254859924316f,-0.004794687032699585f,0.16070765256881714f,0.45550698041915894f,-0.5952674150466919f,0.12058994174003601f,-0.5624579191207886f,0.018951361998915672f,0.6855383515357971f,0.3340449929237366f,0.16443736851215363f,0.06441787630319595f,0.6239033341407776f,-0.36018112301826477f,-0.00606316514313221f}, -{1.2907555103302002f,-1.4289828538894653f,0.20290347933769226f,0.14411549270153046f,1.0873916149139404f,-1.2877576351165771f,0.15389427542686462f,-1.2166301012039185f,0.02208642102777958f,1.0948045253753662f,-0.22055046260356903f,0.533970296382904f,-0.015460304915904999f,1.1318421363830566f,-0.38513508439064026f,0.16354717314243317f}, -{0.19245342910289764f,-0.07002278417348862f,-0.2331579178571701f,-0.4873920679092407f,-0.134405255317688f,0.1848319172859192f,0.05604562163352966f,-0.48525747656822205f,0.3328070640563965f,0.19053687155246735f,0.1441093385219574f,0.2963859736919403f,-0.24228647351264954f,0.3815491795539856f,-0.14554673433303833f,-0.19456599652767181f}, -{0.11431179940700531f,-0.26932448148727417f,-0.24806702136993408f,0.007744771894067526f,-0.14775075018405914f,-0.133896142244339f,-0.16704979538917542f,-0.45989078283309937f,0.018813233822584152f,0.20975583791732788f,0.10153167694807053f,-0.10331901162862778f,0.27167901396751404f,0.1237683892250061f,0.04009982943534851f,0.011260374449193478f}, -{0.23008863627910614f,0.29850244522094727f,0.09550115466117859f,-0.45261427760124207f,-0.02464119717478752f,0.10702452063560486f,-0.06753402948379517f,-0.48733916878700256f,-0.2574649155139923f,0.4113394021987915f,-0.27366748452186584f,0.2584075927734375f,0.14615985751152039f,0.1685597002506256f,-0.2847418785095215f,0.03212627395987511f}, -{-0.058576181530952454f,-0.1520775556564331f,0.17205187678337097f,-0.23176325857639313f,0.19266363978385925f,0.29146021604537964f,-0.2786858379840851f,-0.10855390876531601f,-0.01258982066065073f,-0.40122514963150024f,-0.00432794401422143f,-0.5538689494132996f,0.2873327434062958f,-0.3270157277584076f,0.3247623145580292f,-0.17453411221504211f}, -{0.2796000838279724f,0.2806985378265381f,0.34649983048439026f,0.11515120416879654f,-0.07202741503715515f,0.1997632533311844f,-0.1895401030778885f,0.15238909423351288f,-0.4028747081756592f,-0.06700267642736435f,0.32801246643066406f,-0.47007516026496887f,-0.11403506249189377f,-0.30518004298210144f,0.24870619177818298f,-0.5064005255699158f}, -{-0.5265949368476868f,-0.1171315386891365f,-0.3757385015487671f,-0.13702787458896637f,-0.07295999675989151f,0.2033991515636444f,0.1429324448108673f,0.6307908892631531f,-0.14448182284832f,0.01648864895105362f,-0.3825119137763977f,-0.14606429636478424f,0.09395758807659149f,-0.44470077753067017f,0.09779238700866699f,-0.2896309792995453f}, -{-0.06216251477599144f,-0.12313024699687958f,0.18496140837669373f,0.030517641454935074f,0.22695113718509674f,0.18921145796775818f,-0.22405625879764557f,0.17777903378009796f,-0.16424080729484558f,-0.10926032066345215f,-0.0980188176035881f,-0.423651784658432f,0.03238815814256668f,-0.0007389821112155914f,-0.2075144499540329f,-0.5701436996459961f}, -{-0.13212797045707703f,-0.050929244607686996f,0.38466766476631165f,-0.19960886240005493f,-0.2853042781352997f,-0.20291918516159058f,-0.2982172966003418f,-0.24819315969944f,-0.11454647034406662f,-0.12860772013664246f,-0.17784970998764038f,-0.4023285210132599f,-0.32813894748687744f,-0.05741819739341736f,0.04470124840736389f,-0.09045199304819107f}, -{0.18911682069301605f,0.02184387296438217f,0.18900898098945618f,-0.06120866537094116f,0.29918089509010315f,-0.12990643084049225f,0.03916636109352112f,0.27754464745521545f,0.294809490442276f,0.16454772651195526f,-0.2563917934894562f,-0.6306189298629761f,0.07625232636928558f,-0.042805060744285583f,0.062258750200271606f,0.00815045926719904f}, -{0.010950831696391106f,-0.3184400200843811f,-0.37685394287109375f,-0.20837026834487915f,-0.14668962359428406f,-0.005104088224470615f,-0.14507901668548584f,-0.008478466421365738f,0.20007987320423126f,0.10023065656423569f,-0.4374823272228241f,-0.295104056596756f,-0.25695890188217163f,0.029228802770376205f,-0.07684260606765747f,0.0788344144821167f}, -{-0.0020756064914166927f,-0.15600785613059998f,0.15568438172340393f,-0.040645476430654526f,0.013410675339400768f,-0.24375024437904358f,-0.03859376907348633f,0.006403104867786169f,-0.04657333716750145f,0.2023845762014389f,-0.3253058195114136f,0.11324697732925415f,0.11497766524553299f,0.37465381622314453f,0.2742314636707306f,-0.05325615778565407f}, -{-0.03647683560848236f,0.029813161119818687f,0.19490453600883484f,-0.26787275075912476f,-0.3508029878139496f,-0.09458376467227936f,-0.336474746465683f,0.09033996611833572f,-0.3672536015510559f,0.0338810533285141f,-0.15078192949295044f,0.05409295856952667f,0.28317949175834656f,-0.05363159254193306f,-0.2561379373073578f,-0.09754713624715805f}, -{-0.3112502992153168f,0.12961868941783905f,-0.2776013910770416f,0.1249362975358963f,0.32369133830070496f,-0.08901474624872208f,0.25546005368232727f,-0.29435303807258606f,-0.3631085157394409f,0.16439467668533325f,-0.3914984464645386f,0.04883434623479843f,0.11115027964115143f,0.24574552476406097f,-0.30415377020835876f,-0.5628020167350769f}, -{0.27675676345825195f,0.3699065148830414f,0.1420871913433075f,-0.33024224638938904f,-0.2858830392360687f,0.15492358803749084f,-0.13263443112373352f,-0.3092022240161896f,-0.15029919147491455f,0.16352060437202454f,0.10471759736537933f,0.0782412514090538f,0.25936394929885864f,0.38325467705726624f,0.13351169228553772f,0.02357879839837551f}, -{-0.19520823657512665f,-0.28190430998802185f,-0.07561364769935608f,0.0776611715555191f,-0.29055726528167725f,-0.205047607421875f,0.14428457617759705f,0.003635459579527378f,-0.347451776266098f,-0.09555500000715256f,-0.37855178117752075f,-0.48709622025489807f,-0.1475732922554016f,0.46260973811149597f,0.019461065530776978f,0.16023290157318115f}, -{-0.12973491847515106f,-0.4877428412437439f,0.2631795108318329f,-0.5585244297981262f,0.3175758719444275f,-0.5141003727912903f,0.27224990725517273f,-0.1198103204369545f,-0.05590752884745598f,0.44488760828971863f,0.04196930676698685f,-0.4491702914237976f,0.2668069303035736f,0.30941274762153625f,0.06011766195297241f,0.1083567887544632f}, + {-0.8492984771728516f,0.9099417924880981f,0.12024858593940735f,0.545981228351593f,-1.1106514930725098f,0.9457226395606995f,-0.1628284603357315f,-0.005150910001248121f,-0.3260757327079773f,-0.712827742099762f,-0.19537952542304993f,-1.0242116451263428f,-0.3126377761363983f,-0.4866222143173218f,-0.2396446317434311f,-1.0748564004898071f}, +{-0.672598123550415f,0.6584800481796265f,-0.36603355407714844f,0.09554877132177353f,-0.8417408466339111f,0.48124250769615173f,-0.3777896761894226f,-0.016235176473855972f,-0.13373571634292603f,-0.19750408828258514f,-0.22961115837097168f,-0.6376965641975403f,0.17010805010795593f,-0.7074562311172485f,-0.1953967958688736f,-0.5506498217582703f}, +{-0.4483485519886017f,0.34817928075790405f,0.33912619948387146f,-0.39045676589012146f,-0.2757887542247772f,0.3047306537628174f,0.2676515281200409f,0.2585502862930298f,-0.20897063612937927f,0.08551584184169769f,-0.29858946800231934f,-0.37691909074783325f,-0.034444112330675125f,0.01831231266260147f,0.05209478735923767f,-0.513065755367279f}, +{-0.08198308199644089f,-0.2010560780763626f,0.3703531324863434f,0.06700243055820465f,0.11178603768348694f,-0.3979300856590271f,-0.10795548558235168f,0.608457088470459f,-0.03680473566055298f,0.4978812336921692f,0.11513403058052063f,0.31660690903663635f,-0.1676224172115326f,0.22054733335971832f,-0.27597576379776f,0.061807893216609955f}, +{0.7069430351257324f,-0.3948570191860199f,-0.004794687032699585f,-0.14202511310577393f,0.5086361765861511f,-0.4975832402706146f,0.12058994174003601f,0.38800549507141113f,-0.029777072370052338f,0.6449450254440308f,0.34986329078674316f,0.4208693504333496f,-0.05950910970568657f,0.6702831387519836f,-0.36018112301826477f,0.08313877135515213f}, +{1.2792919874191284f,-1.329975962638855f,0.20290347933769226f,-0.28504160046577454f,1.1173235177993774f,-1.1572359800338745f,0.15389427542686462f,0.25882840156555176f,-0.025503801181912422f,1.0139389038085938f,-0.20506200194358826f,1.0025477409362793f,-0.22417566180229187f,1.1668107509613037f,-0.38513508439064026f,0.4302481412887573f}, +{0.15661951899528503f,-0.09095073491334915f,-0.2331579178571701f,-0.5861133337020874f,-0.2296011745929718f,0.15582023561000824f,0.05604562163352966f,-0.6794319748878479f,0.31682249903678894f,0.31334957480430603f,0.16509030759334564f,0.3604009449481964f,-0.2074126899242401f,0.4814450740814209f,-0.14554673433303833f,0.22453908622264862f}, +{0.10004112124443054f,-0.3021745979785919f,-0.24806702136993408f,-0.06547222286462784f,-0.223054900765419f,-0.17619021236896515f,-0.16704979538917542f,-0.6810923218727112f,0.001245745923370123f,0.3383333384990692f,0.12251671403646469f,-0.03324584662914276f,0.3008471429347992f,0.24459579586982727f,0.04009982943534851f,0.4212760925292969f}, +{0.20482861995697021f,0.28756871819496155f,0.09550115466117859f,-0.47870898246765137f,-0.1096387654542923f,0.08366865664720535f,-0.06753402948379517f,-0.7364226579666138f,-0.2765253186225891f,0.5107592940330505f,-0.25273358821868896f,0.32433879375457764f,0.16932949423789978f,0.28294825553894043f,-0.2847418785095215f,0.41117802262306213f}, +{-0.09929998219013214f,-0.1364968866109848f,0.17205187678337097f,-0.1935434192419052f,0.09821620583534241f,0.28844186663627625f,-0.2786858379840851f,-0.4350501000881195f,-0.03394133225083351f,-0.33818697929382324f,0.01661299727857113f,-0.5088529586791992f,0.30430319905281067f,-0.20859365165233612f,0.3247623145580292f,0.1299620419740677f}, +{0.24080930650234222f,0.30563318729400635f,0.34649983048439026f,0.23845022916793823f,-0.15149186551570892f,0.19734467566013336f,-0.1895401030778885f,-0.35955509543418884f,-0.4259641170501709f,-0.025349216535687447f,0.34883156418800354f,-0.4635045826435089f,-0.10190600156784058f,-0.15069465339183807f,0.24870619177818298f,-0.3417206108570099f}, +{-0.5682200789451599f,-0.08445471525192261f,-0.3757385015487671f,0.049192700535058975f,-0.13675469160079956f,0.20117755234241486f,0.1429324448108673f,0.007615856826305389f,-0.16889803111553192f,0.041727371513843536f,-0.3619164824485779f,-0.14894835650920868f,0.0994650274515152f,-0.2559431791305542f,0.09779238700866699f,-0.23166526854038239f}, +{-0.1827574372291565f,-0.009826376102864742f,0.18496140837669373f,0.1817261129617691f,0.146279975771904f,0.28821292519569397f,-0.22405625879764557f,-0.15408681333065033f,-0.1897873878479004f,-0.23687532544136047f,-0.07764522731304169f,-0.4355945587158203f,0.05735225975513458f,-0.12637566030025482f,-0.2075144499540329f,-0.4271939992904663f}, +{-0.17383800446987152f,-0.034563202410936356f,0.38466766476631165f,-0.05654198303818703f,-0.2707003653049469f,-0.19788400828838348f,-0.2982172966003418f,-0.5219294428825378f,-0.1404845416545868f,-0.1646503210067749f,-0.15761259198188782f,-0.3067583739757538f,-0.31143051385879517f,-0.09045254439115524f,0.04470124840736389f,0.11851692944765091f}, +{0.1728459745645523f,-0.00703522190451622f,0.18900898098945618f,0.08381005376577377f,0.34986403584480286f,-0.16866271197795868f,0.03916636109352112f,0.04764685779809952f,0.2688429355621338f,0.164563849568367f,-0.23614686727523804f,-0.4883577525615692f,0.0853995606303215f,-0.043375782668590546f,0.062258750200271606f,0.2238379716873169f}, +{-0.01701122522354126f,-0.35623687505722046f,-0.37685394287109375f,-0.05631903558969498f,-0.10359413176774979f,-0.052469588816165924f,-0.14507901668548584f,-0.1828162670135498f,0.17396096885204315f,0.098472960293293f,-0.4172263443470001f,-0.14259591698646545f,-0.2549686133861542f,0.02150176279246807f,-0.07684260606765747f,0.27587127685546875f}, +{-0.05607142299413681f,-0.18326444923877716f,0.15568438172340393f,0.12472385168075562f,0.028769543394446373f,-0.28050854802131653f,-0.03859376907348633f,-0.11900969594717026f,-0.07300025969743729f,0.17833161354064941f,-0.3050765097141266f,0.2522740364074707f,0.11018209904432297f,0.34029421210289f,0.2742314636707306f,0.10523013770580292f}, +{-0.09820817410945892f,0.0009285397245548666f,0.19490453600883484f,-0.09818669408559799f,-0.3468706011772156f,-0.13196644186973572f,-0.336474746465683f,0.029904179275035858f,-0.39393532276153564f,0.001689919619821012f,-0.13059896230697632f,0.19046276807785034f,0.27048033475875854f,-0.10027212649583817f,-0.2561379373073578f,0.041108958423137665f}, +{-0.36399978399276733f,0.09115079790353775f,-0.2776013910770416f,0.3044928014278412f,0.33408617973327637f,-0.1356847733259201f,0.25546005368232727f,-0.34019359946250916f,-0.3901272416114807f,0.13206130266189575f,-0.3713352382183075f,0.17076872289180756f,0.08965739607810974f,0.2048226147890091f,-0.30415377020835876f,-0.47396668791770935f}, +{0.245314821600914f,0.31605231761932373f,0.1420871913433075f,-0.14755000174045563f,-0.2570189833641052f,0.09309244155883789f,-0.13263443112373352f,-0.3516319990158081f,-0.17755484580993652f,0.13453561067581177f,0.12483186274766922f,0.1766178011894226f,0.226878821849823f,0.35600408911705017f,0.13351169228553772f,0.04911954328417778f}, +{-0.21414637565612793f,-0.34188276529312134f,-0.07561364769935608f,0.23371613025665283f,-0.25377175211906433f,-0.2709762752056122f,0.14428457617759705f,0.07864826917648315f,-0.37458890676498413f,-0.13281816244125366f,-0.3584631681442261f,-0.38679075241088867f,-0.19576646387577057f,0.4250577986240387f,0.019461065530776978f,0.17940476536750793f}, +{-0.13337408006191254f,-0.552194356918335f,0.2631795108318329f,-0.45346561074256897f,0.3645413815975189f,-0.5801919102668762f,0.27224990725517273f,0.17330202460289001f,-0.08266540616750717f,0.3959578275680542f,0.06200104579329491f,-0.2999556362628937f,0.19839297235012054f,0.2461359053850174f,0.06011766195297241f,0.18188437819480896f}, }; const float h2[16][16] = { - {-1.2742830514907837f,-8.216069221496582f,-0.06966331601142883f,1.674540638923645f,-0.21907491981983185f,1.9304863214492798f,1.2657678127288818f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,1.2774198055267334f,-0.13161320984363556f,0.12968102097511292f,-1.9181091785430908f,-1.128833293914795f,0.9952762126922607f}, -{0.21769967675209045f,-0.03279580548405647f,0.057057321071624756f,-0.130713552236557f,-0.35503754019737244f,-0.6355394124984741f,-0.7871437072753906f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-0.8292768001556396f,-0.6762306690216064f,0.11294345557689667f,0.1347757875919342f,-0.2996438443660736f,-0.7626554369926453f}, + {-0.9642000198364258f,1.343051552772522f,-0.06966331601142883f,0.09929964691400528f,-0.21907491981983185f,1.71962308883667f,-0.6432740092277527f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,1.0855543613433838f,-0.24237537384033203f,0.12968102097511292f,-1.5968960523605347f,-0.9398881793022156f,0.73473060131073f}, +{0.16045331954956055f,-0.586158275604248f,0.057057321071624756f,-0.10139778256416321f,-0.35503754019737244f,-0.7619335651397705f,-0.17082005739212036f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-0.7716104388237f,-0.6531919240951538f,0.08444632589817047f,0.17077073454856873f,-0.22546739876270294f,-0.6895788908004761f}, {-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.00037817173870280385f,-0.2971179485321045f,-0.2894435524940491f,0.3345993161201477f,0.08946844935417175f,0.269562691450119f,-0.1220422089099884f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.22127428650856018f,0.33625349402427673f,-0.4890212416648865f,-0.16970062255859375f,0.27696576714515686f,0.1764375865459442f}, -{-0.5087411403656006f,-3.0196681022644043f,-0.25313520431518555f,0.3799387216567993f,0.036378175020217896f,0.4310392737388611f,0.2283390611410141f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,0.12561427056789398f,-0.6622838973999023f,-0.15686243772506714f,-0.7882266044616699f,-0.5833307504653931f,-0.00721104396507144f}, -{0.545232355594635f,-1.1969337463378906f,-0.3519742488861084f,0.13727954030036926f,-0.3015052080154419f,-0.6779929995536804f,-0.8127923011779785f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-0.6117130517959595f,-0.2662375867366791f,-0.4148453176021576f,0.3935193717479706f,0.2210693508386612f,-1.0503193140029907f}, +{0.02367369644343853f,-0.3221997916698456f,-0.2894435524940491f,0.3088652789592743f,0.08946844935417175f,0.20461073517799377f,-0.30286312103271484f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.17855378985404968f,0.3440825045108795f,-0.5558211207389832f,-0.15224124491214752f,0.30055153369903564f,0.13030540943145752f}, +{-0.48098519444465637f,0.6531736850738525f,-0.25313520431518555f,0.22264760732650757f,0.036378175020217896f,0.47749000787734985f,-0.708697497844696f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,-0.2755904793739319f,-0.6945989727973938f,-0.14218522608280182f,-0.7226676940917969f,-0.5625969767570496f,-0.34312206506729126f}, +{0.4495331645011902f,-0.1500912755727768f,-0.3519742488861084f,0.27394503355026245f,-0.3015052080154419f,-0.9131686091423035f,-1.430025577545166f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-0.4220859110355377f,-0.2409338802099228f,-0.45946991443634033f,0.6032595038414001f,0.2848037779331207f,-0.8384043574333191f}, {-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.42481377720832825f,0.08354178816080093f,0.33083590865135193f,-0.638961672782898f,-0.14358049631118774f,-0.9569485783576965f,-0.325156033039093f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.15456505119800568f,-0.31921491026878357f,-0.5575046539306641f,0.6439890265464783f,0.19921045005321503f,-0.27064788341522217f}, -{-0.25856563448905945f,0.3172719478607178f,-0.11379697918891907f,0.088182233273983f,0.041274964809417725f,-0.37140029668807983f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.03279193863272667f,-0.3197441101074219f,-0.37024784088134766f,-0.2649827301502228f,-0.3698978126049042f,-0.24531885981559753f}, -{-0.4163046181201935f,1.138975739479065f,-0.13502129912376404f,0.28881412744522095f,0.12987366318702698f,0.2806353271007538f,0.11690293997526169f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.16815698146820068f,-0.10127609968185425f,0.1661040186882019f,-0.7292672991752625f,-0.2459457814693451f,-0.33932510018348694f}, -{-0.2709399461746216f,-0.046167198568582535f,0.0457797646522522f,-0.39113956689834595f,-0.03321319818496704f,-0.4463159143924713f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.25252240896224976f,0.3545852601528168f,-0.3647043704986572f,0.46133115887641907f,-0.34892070293426514f,-0.3220515251159668f}, -{0.23252029716968536f,0.14104707539081573f,0.3954955041408539f,0.04682459309697151f,0.0033026933670043945f,0.08521943539381027f,-0.2121642827987671f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,0.3302416503429413f,-0.24103686213493347f,-0.15225455164909363f,-0.15551511943340302f,0.2549321949481964f,-0.0172280166298151f}, -{-0.17599348723888397f,-0.30498379468917847f,-0.15798500180244446f,0.006913657765835524f,-0.37393757700920105f,0.20840831100940704f,-0.7214387059211731f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.18604308366775513f,-0.31451216340065f,0.33477315306663513f,-0.00666414899751544f,-0.09796348214149475f,-0.01855120249092579f}, -{-0.46010053157806396f,0.521247386932373f,-0.2018718123435974f,0.34600862860679626f,0.07545611262321472f,0.17964282631874084f,-0.20153208076953888f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,0.2656141519546509f,-0.5542343258857727f,-0.390186071395874f,-0.20683544874191284f,-0.5108092427253723f,-0.03198432922363281f}, +{-0.15824732184410095f,0.3100895285606384f,0.33083590865135193f,-0.3111240565776825f,-0.14358049631118774f,-0.3204266428947449f,-0.3786042332649231f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.3861054480075836f,-0.33435386419296265f,-0.31673234701156616f,0.31598109006881714f,0.09100812673568726f,0.11863487213850021f}, +{-0.2313188761472702f,0.2215956598520279f,-0.11379697918891907f,0.10697845369577408f,0.041274964809417725f,-0.46601107716560364f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,-0.039307329803705215f,-0.3197441101074219f,-0.37024784088134766f,-0.18803510069847107f,-0.30993136763572693f,-0.3439880609512329f}, +{-0.20020389556884766f,0.3499562442302704f,-0.13502129912376404f,-0.2152949571609497f,0.12987366318702698f,0.039842408150434494f,0.481656938791275f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,-0.05184692516922951f,0.06430460512638092f,0.12637434899806976f,-0.7024967074394226f,0.055537257343530655f,-0.4547477662563324f}, +{-0.2696972191333771f,-0.029670022428035736f,0.0457797646522522f,-0.3910249173641205f,-0.03321319818496704f,-0.4363076686859131f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.2314555048942566f,0.3545852601528168f,-0.3647043704986572f,0.44268926978111267f,-0.37382790446281433f,-0.30918431282043457f}, +{0.18380744755268097f,0.3810768723487854f,0.3954955041408539f,0.2266073226928711f,0.0033026933670043945f,0.2300996333360672f,-0.20526285469532013f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,0.21912433207035065f,-0.3691490590572357f,-0.1671862155199051f,-0.7035973072052002f,0.13936488330364227f,0.06390596181154251f}, +{-0.3576127290725708f,-0.2540516257286072f,-0.15798500180244446f,0.32394546270370483f,-0.37393757700920105f,0.27878326177597046f,0.11292675137519836f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.16400329768657684f,-0.3137088716030121f,0.33017146587371826f,0.0033205924555659294f,-0.08937478065490723f,0.05422728881239891f}, +{-0.5424008369445801f,0.6589258313179016f,-0.2018718123435974f,0.1066291555762291f,0.07545611262321472f,0.23985128104686737f,0.14221832156181335f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,0.16009680926799774f,-0.5371860265731812f,-0.42098698019981384f,-0.4947930872440338f,-0.3484362065792084f,-0.1262238770723343f}, {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.3440137803554535f,0.24742190539836884f,0.12081471085548401f,-0.13798409700393677f,0.29976895451545715f,0.03644004464149475f,-0.015634635463356972f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,0.3084188997745514f,-0.18034115433692932f,-0.5072152614593506f,-0.11024320870637894f,0.14975693821907043f,-0.04733842983841896f}, +{-0.43699032068252563f,0.4844839572906494f,0.12081471085548401f,-0.18040834367275238f,0.29976895451545715f,0.05251223221421242f,-5.744298934936523f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,0.03466442599892616f,-0.2911178171634674f,-0.29703089594841003f,-0.4136774241924286f,0.1451783925294876f,-0.33639493584632874f}, }; const float h3[16][16] = { - {-0.36079341173171997f,-1.0544452667236328f,0.7038430571556091f,-0.8672530055046082f,0.5853394865989685f,-0.7604526281356812f,0.3332441747188568f,0.3036012351512909f,-0.34396663308143616f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,0.7708577513694763f,-0.5298871994018555f,-1.2042515277862549f,0.947374701499939f}, -{0.047732532024383545f,2.2811532020568848f,-0.24632537364959717f,-0.09127037227153778f,0.3101942539215088f,1.866165041923523f,-0.3198729455471039f,0.06247803568840027f,0.15138906240463257f,-0.1780138611793518f,0.4144817292690277f,-0.20516811311244965f,-0.0705946609377861f,1.6417969465255737f,1.4484448432922363f,-0.8021634817123413f}, + {-0.36079341173171997f,-0.37961024045944214f,0.2727331519126892f,-0.045185238122940063f,0.1409938931465149f,-0.3124193549156189f,0.3332441747188568f,0.3036012351512909f,-0.34058231115341187f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,0.36346468329429626f,-0.031135106459259987f,-0.8088640570640564f,0.7760459780693054f}, +{0.047732532024383545f,1.122470736503601f,-0.624617874622345f,-1.112703800201416f,-1.7029247283935547f,0.5000482201576233f,-0.3198729455471039f,0.06247803568840027f,0.160978764295578f,-0.364486962556839f,0.2591341733932495f,-0.4495503902435303f,-3.293431043624878f,0.755120575428009f,-0.024609113112092018f,-1.0851298570632935f}, {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.5821611881256104f,0.04768321290612221f,-0.3119675815105438f,-0.9963893294334412f,0.18216006457805634f,0.20021501183509827f,0.07002416253089905f,-0.3955146372318268f,-0.44760510325431824f,0.13192829489707947f,0.41590794920921326f,-0.3412694036960602f,-0.30323413014411926f,0.07018550485372543f,-2.7179760932922363f}, +{-0.30922991037368774f,-0.17104242742061615f,0.3103553056716919f,-0.3615863025188446f,-0.21604417264461517f,0.10202165693044662f,0.20021501183509827f,0.07002416253089905f,-0.25071975588798523f,-0.365601509809494f,0.13192829489707947f,0.41021624207496643f,-0.044967006891965866f,0.07644736766815186f,0.14009788632392883f,-0.011317851953208447f}, {-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.02663254737854f,-0.7398565411567688f,-0.6998475790023804f,-0.43675336241722107f,0.7572932839393616f,-0.18732719123363495f,0.22384825348854065f,-0.5360782742500305f,-0.1331947147846222f,-0.08919548988342285f,0.25957953929901123f,-0.25768864154815674f,0.1251194328069687f,0.5887293815612793f,-3.1540911197662354f}, -{0.4110594093799591f,0.7196425199508667f,-2.027987003326416f,-1.9523835182189941f,-0.32279857993125916f,0.31668388843536377f,-0.08670487999916077f,-0.25336313247680664f,-0.17651404440402985f,-0.09454577416181564f,-0.1344406008720398f,-0.5434226989746094f,0.15909500420093536f,-0.19125749170780182f,0.06309600919485092f,-1.21132493019104f}, +{-0.37449589371681213f,0.664101779460907f,-1.6190450191497803f,-1.2680985927581787f,-0.11343993246555328f,-0.07152222096920013f,-0.18732719123363495f,0.22384825348854065f,-0.6354295015335083f,-0.20105324685573578f,-0.24213463068008423f,0.06208771839737892f,-0.8292376399040222f,-0.1763886660337448f,0.6295005679130554f,-0.920184850692749f}, +{0.4110594093799591f,1.183567762374878f,-0.18527109920978546f,0.23897826671600342f,0.46834972500801086f,0.8559867739677429f,-0.08670487999916077f,-0.25336313247680664f,0.5982553958892822f,-0.06259563565254211f,-0.1344406008720398f,0.2251717746257782f,-0.56312495470047f,1.023147463798523f,0.3126353323459625f,-0.3391006588935852f}, {-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.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.7178587913513184f,-0.2128341943025589f,-0.42007604241371155f,-0.16466139256954193f,0.1898089051246643f,-0.08742031455039978f,0.05785742402076721f,-0.17930063605308533f,-0.32197272777557373f,0.1268840730190277f,-0.6984773874282837f,-0.0976514220237732f,-0.7508705854415894f,0.10835370421409607f,-7.471405506134033f}, -{-0.408692330121994f,-0.1483868509531021f,0.10186062008142471f,-0.05043145269155502f,0.013434916734695435f,-0.2031942754983902f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.4311254620552063f,-0.27929094433784485f,-0.32302793860435486f,0.2955302298069f}, -{-0.2991822361946106f,0.10490165650844574f,0.17309918999671936f,0.14030085504055023f,0.33410418033599854f,-0.020069653168320656f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.264950692653656f,-0.3796345591545105f,0.10643193125724792f,-0.04422954097390175f}, -{-0.2675279378890991f,-0.2803032398223877f,0.28943002223968506f,0.38500481843948364f,0.024833407253026962f,-0.36406010389328003f,-0.32875844836235046f,-0.31893211603164673f,-0.554490327835083f,-0.5241096019744873f,-0.3685331642627716f,-0.38139936327934265f,0.32159000635147095f,-1.0209484100341797f,-0.17682968080043793f,0.5818156003952026f}, -{-0.015470266342163086f,-0.9361926317214966f,0.85772305727005f,1.6152592897415161f,0.5753886699676514f,-0.8444603085517883f,0.05196094512939453f,-0.008358269929885864f,-0.4502861201763153f,-0.38441595435142517f,0.13179203867912292f,-0.11511552333831787f,0.7613057494163513f,-0.5449571013450623f,-0.3422447741031647f,0.12619388103485107f}, -{0.1863725483417511f,0.6990513801574707f,-0.48478227853775024f,-0.4526713788509369f,0.0654483363032341f,0.21365918219089508f,0.04860696196556091f,0.17769548296928406f,-0.17769290506839752f,0.2766591012477875f,-0.3929237127304077f,0.37913018465042114f,0.3094521760940552f,-0.3581784665584564f,-0.34003302454948425f,4.435397148132324f}, +{0.15459725260734558f,0.29588302969932556f,0.021936722099781036f,-0.4330016076564789f,-0.2723066210746765f,0.044726040214300156f,-0.08742031455039978f,0.05785742402076721f,-0.1713423728942871f,-0.365364134311676f,0.004663276020437479f,-0.30447322130203247f,-0.2910298705101013f,-0.2773756980895996f,0.3341991901397705f,0.13116025924682617f}, +{-0.408692330121994f,0.12047936022281647f,-0.029836419969797134f,0.06642091274261475f,-0.056933991611003876f,-0.10314364731311798f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.5866727232933044f,-0.17112480103969574f,-0.25140365958213806f,0.185969278216362f}, +{-0.2991822361946106f,0.16573359072208405f,0.10651422291994095f,-0.05932474136352539f,0.2603442370891571f,0.04720616713166237f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.19220085442066193f,-0.31166696548461914f,0.29107141494750977f,-0.09926263242959976f}, +{-0.2675279378890991f,-0.2350405901670456f,0.313805490732193f,0.41810116171836853f,-0.19775700569152832f,-0.34699633717536926f,-0.32875844836235046f,-0.31893211603164673f,-0.6228004693984985f,-0.6480187773704529f,-0.5199958086013794f,-0.5213960409164429f,-0.11256730556488037f,-0.5176361799240112f,0.1850929856300354f,0.24172839522361755f}, +{-0.015470266342163086f,-0.6028173565864563f,0.7139843106269836f,0.565295934677124f,0.41700321435928345f,-0.6924205422401428f,0.05196094512939453f,-0.008358269929885864f,-0.44527438282966614f,-0.38441595435142517f,0.13179203867912292f,-0.11511552333831787f,0.5869813561439514f,-0.3824767768383026f,-0.1713346540927887f,-0.04788174107670784f}, +{0.1863725483417511f,0.1452990174293518f,-0.29230234026908875f,-0.937971830368042f,0.30705341696739197f,-0.046191416680812836f,0.04860696196556091f,0.17769548296928406f,-0.21911637485027313f,0.19530586898326874f,-0.3942420482635498f,0.19592127203941345f,0.15968672931194305f,0.0622314028441906f,-0.12126956880092621f,-0.2643684148788452f}, }; -const float hout[16] = { 0.45773375034332275f,0.20628854632377625f,-0.5375609993934631f,-0.6480298042297363f,-0.03200441971421242f,0.4680277407169342f,0.0030125975608825684f,0.15066689252853394f,-0.10572303831577301f,-0.11379087716341019f,0.24303162097930908f,0.04681791737675667f,-0.2690132260322571f,0.8610103130340576f,0.5980288982391357f,-0.7344372272491455f }; +const float hout[16] = { 0.45773375034332275f,0.5076037645339966f,-0.6031156778335571f,-0.9297167658805847f,-0.36779141426086426f,0.40702489018440247f,0.0030125975608825684f,0.15066689252853394f,0.1388959437608719f,-0.0007445760420523584f,0.10825144499540329f,-0.2560523450374603f,-0.5822726488113403f,0.2159338742494583f,0.6327763199806213f,-0.9761723279953003f }; -const float b1[16] = { 0.6560888290405273f,1.0107191801071167f,-1.7145336866378784f,0.24362370371818542f,1.078859806060791f,0.909169614315033f,-0.058932315558195114f,0.9273037910461426f,0.5253145098686218f,-0.8128840923309326f,0.5778790712356567f,1.4138038158416748f,-0.43705815076828003f,-0.8157239556312561f,-1.087764859199524f,0.9317583441734314f }; +const float b1[16] = { 0.5636089444160461f,1.0060498714447021f,-1.7145336866378784f,0.32790324091911316f,1.043145775794983f,0.8833159804344177f,-0.058932315558195114f,0.3794618546962738f,0.5066848993301392f,-0.7948933839797974f,0.6001797914505005f,1.4424771070480347f,-0.3881424069404602f,-0.830315113067627f,-1.087764859199524f,1.1414244174957275f }; -const float b2[16] = { -0.14536833763122559f,-0.8282498717308044f,-1.4564176797866821f,-0.4575670063495636f,-0.6939148902893066f,0.1445312649011612f,0.25461912155151367f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,0.09596142917871475f,0.4225890338420868f,-0.3009510934352875f,1.916262149810791f,-0.05483059585094452f,0.8465275168418884f }; +const float b2[16] = { -0.1441032886505127f,-0.8158493041992188f,-1.4564176797866821f,-0.5851497054100037f,-0.6939148902893066f,0.03841487318277359f,0.4496266543865204f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,0.0017658945871517062f,0.45096147060394287f,-0.33285990357398987f,1.9599958658218384f,0.056265752762556076f,0.7597144246101379f }; -const float b3[16] = { -1.963319182395935f,-0.3481362462043762f,0.3035060167312622f,0.20574529469013214f,-0.1369716227054596f,0.7419196963310242f,-0.45353031158447266f,-0.6562485098838806f,0.3646324574947357f,0.42342549562454224f,-0.14371006190776825f,0.10180169343948364f,-0.6005617380142212f,-0.17257480323314667f,-1.5606380701065063f,-0.4937981367111206f }; +const float b3[16] = { -1.963319182395935f,-0.22755396366119385f,0.25398433208465576f,0.2688892185688019f,0.37361857295036316f,0.7228637933731079f,-0.45353031158447266f,-0.6562485098838806f,0.3554319739341736f,0.3015795648097992f,-0.2996135950088501f,-0.09616515040397644f,0.3919917345046997f,0.2858927845954895f,-1.3354506492614746f,-0.4255044460296631f }; -const float bout[1] = { -0.2966403067111969f }; +const float bout[1] = { -0.3180387020111084f }; float VALVE_POS_RAW_NN = 0.0f;