Sungwoo Kim
/
HydraulicControlBoard_Rainbow_v1_2_
rainbow
Diff: main.cpp
- Revision:
- 106:a511a5a84439
- Parent:
- 105:9118e2878373
- Child:
- 107:562ce0156532
diff -r 9118e2878373 -r a511a5a84439 main.cpp --- a/main.cpp Wed Sep 09 06:09:48 2020 +0000 +++ b/main.cpp Wed Sep 09 07:59:49 2020 +0000 @@ -1,4 +1,4 @@ -//200909-2 +//200909-3 #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.04754844680428505f,-0.530216634273529f,0.11304140090942383f,-0.08370041102170944f,-0.6523385047912598f,-0.027381086722016335f,-0.15306922793388367f,-0.07661134004592896f,-0.27261433005332947f,0.19044241309165955f,0.056362804025411606f,-0.4614968001842499f,-0.30060797929763794f,-0.3224359452724457f,-0.22528137266635895f,0.6348539590835571f}, -{-0.08525237441062927f,-0.44170600175857544f,-0.3440950810909271f,-0.2526363432407379f,0.13600286841392517f,-0.04025866463780403f,-0.3551466166973114f,-0.20479238033294678f,-0.09210298210382462f,0.45660921931266785f,-0.8007382750511169f,-0.3188437223434448f,0.10237079113721848f,-0.5417499542236328f,-0.1836855560541153f,0.8492973446846008f}, -{-0.12187230587005615f,-0.8927391767501831f,0.3188004493713379f,-0.7997753620147705f,-0.5879339575767517f,0.16414476931095123f,0.2516096830368042f,-0.017284952104091644f,-0.16378964483737946f,-0.06449131667613983f,-0.05198131874203682f,-0.44168129563331604f,-0.27568191289901733f,-0.004879156593233347f,0.04897245764732361f,-0.4043995440006256f}, -{-0.19940543174743652f,-0.7108068466186523f,0.34815579652786255f,-0.3866218030452728f,-0.5316346883773804f,-0.1056811586022377f,-0.10148510336875916f,0.2431148886680603f,-0.003201532643288374f,0.3288455307483673f,0.8373333215713501f,0.26523029804229736f,-0.3624171316623688f,0.1131914034485817f,-0.2594349980354309f,-0.11279565840959549f}, -{-0.22260814905166626f,2.995941400527954f,-0.004507303237915039f,0.4836748540401459f,1.0383654832839966f,-0.0665469616651535f,0.11336228251457214f,-0.1142578199505806f,0.0018505657790228724f,2.3285422325134277f,-4.838907718658447f,0.2447872906923294f,0.40370386838912964f,1.3186441659927368f,-0.33859342336654663f,-2.596590995788574f}, -{0.21719342470169067f,0.06512513756752014f,0.19074231386184692f,0.6491201519966125f,0.9997032284736633f,-0.1537536233663559f,0.1446705460548401f,-0.29998549818992615f,0.00398442754521966f,-0.03770201653242111f,-1.7278112173080444f,0.8585587739944458f,-0.38560086488723755f,0.006212359759956598f,-0.36205175518989563f,-0.38310468196868896f}, -{-0.07639120519161224f,0.07174117863178253f,-0.21918344497680664f,-0.11482009291648865f,0.15254071354866028f,0.21446041762828827f,0.05268651247024536f,-0.33566030859947205f,0.29489514231681824f,-0.13286027312278748f,-0.8627548813819885f,0.7991014719009399f,-0.28489285707473755f,0.019886821508407593f,-0.13682329654693604f,0.003697440028190613f}, -{-0.12378792464733124f,-0.40798240900039673f,-0.23319895565509796f,0.22465209662914276f,-0.31218400597572327f,-0.1492762714624405f,-0.15703755617141724f,-0.3482123017311096f,-0.0002592300297692418f,-0.08527708053588867f,-0.04766494780778885f,0.053324487060308456f,0.22746938467025757f,-0.17692768573760986f,0.03769642114639282f,0.33347076177597046f}, -{0.013091196306049824f,-0.05674178525805473f,0.08977723121643066f,-0.25362423062324524f,-0.3664046823978424f,0.03523936867713928f,-0.06348633766174316f,-0.4033523201942444f,-0.2599254250526428f,0.044075313955545425f,-0.009293384850025177f,0.3319243788719177f,0.1332373172044754f,-0.05664161965250969f,-0.2676756680011749f,0.45130348205566406f}, -{-0.19049197435379028f,-0.5320309400558472f,0.16173982620239258f,-0.12147263437509537f,-0.08784742653369904f,0.1467514932155609f,-0.26198261976242065f,-0.1130669042468071f,-0.02968011051416397f,-0.6143247485160828f,0.4633010923862457f,-0.515257716178894f,0.29062506556510925f,-0.3647685945034027f,0.3052974343299866f,0.23399080336093903f}, -{0.25436368584632874f,0.5146796107292175f,0.32573211193084717f,-0.10260577499866486f,-0.1565724015235901f,-0.09953721612691879f,-0.17817988991737366f,-0.02161337248980999f,-0.39656782150268555f,0.7200503349304199f,2.2578909397125244f,-1.5699495077133179f,-0.02465977519750595f,-0.038833267986774445f,0.23379981517791748f,-0.9229269623756409f}, -{-0.4841022491455078f,-1.063336968421936f,-0.3532183766365051f,-1.0758341550827026f,-1.7367539405822754f,-0.12255798280239105f,0.13436567783355713f,0.27674612402915955f,-0.15377266705036163f,-0.2762676477432251f,3.559654474258423f,-0.498639315366745f,-0.038896698504686356f,-0.0166151262819767f,0.09193113446235657f,0.1312442123889923f}, -{-0.22781755030155182f,-0.23967871069908142f,0.173875629901886f,-0.4890464246273041f,-0.0458119697868824f,0.06596936285495758f,-0.21062730252742767f,0.07226380705833435f,-0.17287254333496094f,-0.30909931659698486f,2.316343307495117f,-0.25767719745635986f,-0.02527442015707493f,-0.11135999113321304f,-0.19507692754268646f,-0.25568655133247375f}, -{-0.3556059002876282f,-0.07427522540092468f,0.36161231994628906f,-0.3828604817390442f,-0.5163854360580444f,-0.39600393176078796f,-0.2803434431552887f,-0.3590245246887207f,-0.12620092928409576f,-0.09647113084793091f,0.5913520455360413f,-0.10468284785747528f,-0.18907563388347626f,-0.25505077838897705f,0.04202204942703247f,0.26759618520736694f}, -{-0.083421491086483f,0.7541764974594116f,0.1776806116104126f,-0.0566239096224308f,1.4747079610824585f,-0.6094958782196045f,0.036818891763687134f,0.10590196400880814f,0.2585754692554474f,0.4095909595489502f,-1.7406926155090332f,0.12349403649568558f,0.4589124917984009f,0.10347452759742737f,0.058527231216430664f,-0.18394438922405243f}, -{-0.08033468574285507f,3.6094319820404053f,-0.3542669713497162f,-0.9382401704788208f,4.40432071685791f,-0.6789908409118652f,-0.13638360798358917f,-0.1387057602405548f,0.1693507730960846f,3.290762186050415f,0.0159761905670166f,-2.5206587314605713f,0.20578302443027496f,0.718266487121582f,-0.07223698496818542f,-3.175769567489624f}, -{0.5376663208007812f,-3.1047873497009277f,0.14635330438613892f,2.006746768951416f,-3.179218292236328f,0.8806692361831665f,-0.03628063201904297f,-0.0736081525683403f,-0.06275229901075363f,-3.155949831008911f,-2.9432685375213623f,3.767887830734253f,-0.9273963570594788f,-0.8037996292114258f,0.25779521465301514f,2.716948986053467f}, -{0.011155981570482254f,-0.739599883556366f,0.18322283029556274f,-0.9413151144981384f,-3.23013973236084f,0.044112659990787506f,-0.3163079023361206f,-0.04608027637004852f,-0.3635421395301819f,-0.3238906264305115f,3.8069698810577393f,-1.3923182487487793f,0.017072753980755806f,-0.19094349443912506f,-0.2407861351966858f,0.09836848080158234f}, -{-0.4185675084590912f,-0.42745763063430786f,-0.2609631419181824f,-1.4110053777694702f,-3.0199358463287354f,-0.3853732645511627f,0.2401489019393921f,-0.47074052691459656f,-0.3592066764831543f,0.0931406021118164f,4.473484039306641f,-2.0279228687286377f,0.16768452525138855f,0.5762042999267578f,-0.28592410683631897f,-0.6751209497451782f}, -{0.09488676488399506f,0.13548988103866577f,0.1335710883140564f,-1.0007416009902954f,-1.452916145324707f,-0.23490624129772186f,-0.1246849000453949f,-0.533019483089447f,-0.15883906185626984f,0.020903607830405235f,2.6365842819213867f,-0.8403635025024414f,0.2839359939098358f,0.589792788028717f,0.1255095899105072f,0.1356075257062912f}, -{-0.37042614817619324f,0.08344288170337677f,-0.07108169794082642f,0.17757529020309448f,-0.22492939233779907f,-0.3946172893047333f,0.13563674688339233f,-0.1727876365184784f,-0.3436216413974762f,-0.142774298787117f,-0.6026859283447266f,-0.36614087224006653f,-0.13681428134441376f,0.556492030620575f,0.01829466223716736f,-0.07202178239822388f}, -{-0.3357718884944916f,-0.2833663523197174f,0.24740570783615112f,-0.21576672792434692f,0.05170443654060364f,-0.40916311740875244f,0.25593245029449463f,-0.1437111347913742f,-0.06947224587202072f,0.19163371622562408f,-0.29480987787246704f,-0.4021371901035309f,0.14401984214782715f,0.07988113909959793f,0.056514471769332886f,0.1972517967224121f}, -{0.17162151634693146f,0.13157309591770172f,-0.3288555443286896f,0.02019149251282215f,-0.4041925370693207f,-0.41843894124031067f,-0.11800059676170349f,-0.1558438539505005f,-0.27031198143959045f,0.37474364042282104f,0.15695686638355255f,-0.046958811581134796f,-0.11344640702009201f,-0.189126655459404f,-0.3194865584373474f,0.5693081021308899f}, -{-0.023064570501446724f,-0.3052598536014557f,-0.29844698309898376f,-0.3763624131679535f,0.31388363242149353f,0.1362769603729248f,-0.249517560005188f,0.21263225376605988f,-0.41347092390060425f,0.2033153474330902f,-0.6397644281387329f,0.02053062617778778f,0.21230348944664001f,0.15966153144836426f,0.23831695318222046f,0.09426836669445038f}, -{0.11385727673768997f,-0.466043621301651f,0.20589900016784668f,0.16036953032016754f,0.1651490330696106f,-0.13242949545383453f,-0.2483310103416443f,0.07130590081214905f,-0.14293693006038666f,0.27093780040740967f,-0.7953394055366516f,0.12759838998317719f,-0.26265954971313477f,-0.19955605268478394f,0.06927120685577393f,0.07971415668725967f}, -{-0.3343367278575897f,0.22834834456443787f,0.008588135242462158f,-0.24758897721767426f,-0.20855441689491272f,-0.025101521983742714f,0.013287186622619629f,-0.10844322293996811f,0.18275825679302216f,0.04077226296067238f,0.375319242477417f,-0.02896328642964363f,-0.03308872878551483f,-0.2338634729385376f,-0.1702093929052353f,0.2048746943473816f}, -{-0.19001160562038422f,-0.13944029808044434f,0.06708025932312012f,0.3464275002479553f,0.10913650691509247f,0.022747507318854332f,0.27470332384109497f,-0.14586248993873596f,-0.09178425371646881f,0.324962317943573f,0.2919461131095886f,0.0514339953660965f,-0.01721585914492607f,0.07078077644109726f,0.11447501182556152f,0.15832282602787018f}, + {-0.7205343246459961f,0.7419704794883728f,0.12024858593940735f,0.38752004504203796f,-0.9582854509353638f,0.8627209663391113f,-0.1628284603357315f,0.5959230065345764f,-0.27036166191101074f,-0.05762685090303421f,-0.19153670966625214f,1.0370631217956543f,-0.07188097387552261f,-0.4302806854248047f,-0.2396446317434311f,-0.8284722566604614f}, +{-0.7194277048110962f,0.663811981678009f,-0.36603355407714844f,0.08603872358798981f,-0.8419951796531677f,0.550467312335968f,-0.3777896761894226f,0.3841404914855957f,-0.07829008251428604f,0.17515970766544342f,-0.2257521003484726f,0.36814022064208984f,0.11784404516220093f,-0.8009785413742065f,-0.1953967958688736f,-0.4288317859172821f}, +{-0.6284462213516235f,0.48318836092948914f,0.33912619948387146f,-0.24606414139270782f,-0.3897612988948822f,0.48486700654029846f,0.2676515281200409f,0.41653814911842346f,-0.15395483374595642f,0.1774345338344574f,-0.29445499181747437f,-0.4113295376300812f,-0.3272067606449127f,-0.18403460085391998f,0.05209478735923767f,-0.4740968942642212f}, +{-0.3094835877418518f,-0.023736318573355675f,0.3703531324863434f,0.3815275728702545f,-0.03493168205022812f,-0.19027291238307953f,-0.10795548558235168f,0.4229019284248352f,0.017679547891020775f,0.3006705641746521f,0.11927741765975952f,-0.6338480114936829f,-0.6180754899978638f,-0.00576560664921999f,-0.27597576379776f,0.11007877439260483f}, +{0.5881397128105164f,-0.33633923530578613f,-0.004794687032699585f,0.36331984400749207f,0.4700590670108795f,-0.41323167085647583f,0.12058994174003601f,-0.34995532035827637f,0.024007221683859825f,0.12634949386119843f,0.354213148355484f,-0.9676119685173035f,-0.4644494950771332f,0.5638055801391602f,-0.36018112301826477f,0.22210441529750824f}, +{1.5646047592163086f,-1.691567301750183f,0.20290347933769226f,0.4277845621109009f,1.4553509950637817f,-1.4792941808700562f,0.15389427542686462f,-1.4074681997299194f,0.027464931830763817f,0.1330241858959198f,-0.20056027173995972f,0.2283659428358078f,-0.18869847059249878f,1.4480334520339966f,-0.38513508439064026f,0.7740161418914795f}, +{0.07315056025981903f,-0.10020650178194046f,-0.2331579178571701f,-0.5290883183479309f,-0.27339714765548706f,0.13000839948654175f,0.05604562163352966f,-0.42487725615501404f,0.3342047929763794f,0.08126848191022873f,0.16734424233436584f,0.14318615198135376f,-0.020626740530133247f,0.36356982588768005f,-0.14554673433303833f,-0.3457086384296417f}, +{0.009768801741302013f,-0.2827050983905792f,-0.24806702136993408f,-0.116264209151268f,-0.28403201699256897f,-0.16823835670948029f,-0.16704979538917542f,-0.3876325190067291f,0.0200372152030468f,0.12407517433166504f,0.12481429427862167f,0.14211106300354004f,0.5974664092063904f,0.10399382561445236f,0.04009982943534851f,0.03040451742708683f}, +{0.1903877854347229f,0.24740448594093323f,0.09550115466117859f,-0.6463638544082642f,-0.12743352353572845f,0.05189865082502365f,-0.06753402948379517f,-0.48754027485847473f,-0.2562808096408844f,0.33943983912467957f,-0.2503495514392853f,1.5401339530944824f,0.6530331969261169f,0.18994569778442383f,-0.2847418785095215f,0.16921773552894592f}, +{0.018991850316524506f,-0.2982185482978821f,0.17205187678337097f,-0.43302521109580994f,0.19336019456386566f,0.16474361717700958f,-0.2786858379840851f,-0.2566869854927063f,-0.011198584921658039f,-0.425802618265152f,0.018935799598693848f,1.3210058212280273f,0.7750313878059387f,-0.16118350625038147f,0.3247623145580292f,0.2511598765850067f}, +{0.3365301787853241f,0.1671297699213028f,0.34649983048439026f,-0.0508774109184742f,-0.08637697249650955f,0.11029358953237534f,-0.1895401030778885f,0.008466334082186222f,-0.401608407497406f,0.038096848875284195f,0.35123616456985474f,0.04587366059422493f,-0.331816703081131f,-0.10900888592004776f,0.24870619177818298f,-0.08113718777894974f}, +{-0.6724706292152405f,-0.04440240561962128f,-0.3757385015487671f,-0.2130572646856308f,-0.2125193029642105f,0.27195048332214355f,0.1429324448108673f,0.7561992406845093f,-0.14329275488853455f,0.19957302510738373f,-0.3593345284461975f,-3.8846237659454346f,-1.500577688217163f,-0.37282925844192505f,0.09779238700866699f,-0.35725072026252747f}, +{0.04182598739862442f,-0.3434183597564697f,0.18496140837669373f,-0.08634470403194427f,0.3166789412498474f,-0.024002427235245705f,-0.22405625879764557f,0.021628160029649734f,-0.15976841747760773f,-0.17521367967128754f,-0.07410822808742523f,-0.8040768504142761f,0.26287204027175903f,0.14514821767807007f,-0.2075144499540329f,-0.8606001734733582f}, +{0.00047114171320572495f,-0.32387128472328186f,0.38466766476631165f,-0.36545827984809875f,-0.19024938344955444f,-0.4352966248989105f,-0.2982172966003418f,-0.4868769645690918f,-0.10956888645887375f,-0.20816442370414734f,-0.15371173620224f,1.149558186531067f,-0.6369872689247131f,0.12389315664768219f,0.04470124840736389f,-0.6724342107772827f}, +{0.14582407474517822f,-0.04093043878674507f,0.18900898098945618f,-0.22146084904670715f,0.23115453124046326f,-0.16587874293327332f,0.03916636109352112f,0.2159150093793869f,0.30006158351898193f,0.0751003697514534f,-0.23226957023143768f,1.208760380744934f,-0.30131998658180237f,-0.05107875168323517f,0.062258750200271606f,-0.5829180479049683f}, +{-0.08866515755653381f,-0.27252885699272156f,-0.37685394287109375f,-0.2777993977069855f,-0.23848019540309906f,0.03124363161623478f,-0.14507901668548584f,0.006778541952371597f,0.20509424805641174f,-0.011224335990846157f,-0.4133926331996918f,0.5038067698478699f,-0.4255642592906952f,-0.05953584238886833f,-0.07684260606765747f,-0.3335677981376648f}, +{-0.08247224241495132f,-0.11288215219974518f,0.15568438172340393f,-0.016921447589993477f,-0.04755457490682602f,-0.2318030297756195f,-0.03859376907348633f,0.011767009273171425f,-0.0416894406080246f,0.07188878953456879f,-0.30125221610069275f,0.16349679231643677f,-0.167131245136261f,0.29581838846206665f,0.2742314636707306f,-0.33326107263565063f}, +{0.005308357533067465f,-0.058676086366176605f,0.19490453600883484f,-0.2061605006456375f,-0.3000243008136749f,-0.21581299602985382f,-0.336474746465683f,-0.02189900167286396f,-0.36205869913101196f,-0.12414123862981796f,-0.12676608562469482f,0.10858763754367828f,-0.16615992784500122f,-0.010149971581995487f,-0.2561379373073578f,-0.2327856719493866f}, +{-0.29800769686698914f,0.061823371797800064f,-0.2776013910770416f,0.1834843009710312f,0.351822167634964f,-0.18955576419830322f,0.25546005368232727f,-0.3548872470855713f,-0.35744574666023254f,0.01672988384962082f,-0.36751410365104675f,-0.017727170139551163f,-0.43373245000839233f,0.27730315923690796f,-0.30415377020835876f,-0.6896868944168091f}, +{0.20595230162143707f,0.40023162961006165f,0.1420871913433075f,-0.26757368445396423f,-0.3140244483947754f,0.13928018510341644f,-0.13263443112373352f,-0.2674402892589569f,-0.1444980353116989f,0.03381512314081192f,0.12867237627506256f,-0.06305091083049774f,-0.16141922771930695f,0.3491332530975342f,0.13351169228553772f,-0.1378682404756546f}, +{-0.2598593831062317f,-0.20998069643974304f,-0.07561364769935608f,0.15943816304206848f,-0.30184200406074524f,-0.19948355853557587f,0.14428457617759705f,0.058048065751791f,-0.34185507893562317f,-0.297762930393219f,-0.3541494309902191f,-0.2737050950527191f,-0.24019746482372284f,0.41691821813583374f,0.019461065530776978f,0.05305967107415199f}, +{-0.23449298739433289f,-0.3391593098640442f,0.2631795108318329f,-0.4546434283256531f,0.2766669690608978f,-0.4402789771556854f,0.27224990725517273f,-0.01527832355350256f,-0.05046592280268669f,0.08712353557348251f,0.0664888545870781f,0.06529980152845383f,0.4431493282318115f,0.19581477344036102f,0.06011766195297241f,0.098237045109272f}, }; const float h2[16][16] = { - {-0.23879092931747437f,-0.2247074842453003f,-0.06966331601142883f,0.07895159721374512f,-0.21907491981983185f,0.3905109465122223f,0.12049764394760132f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,0.2126878947019577f,-0.1415361613035202f,0.10642024874687195f,0.1622174233198166f,-0.009342985227704048f,-0.24883486330509186f}, -{0.04574314132332802f,-4.606758117675781f,0.057057321071624756f,2.2958874702453613f,-0.35503754019737244f,2.987067699432373f,-0.6205443143844604f,-0.4497179388999939f,-0.33757925033569336f,0.2895788848400116f,0.3997703790664673f,-1.0605665445327759f,0.9789016246795654f,-0.7224385142326355f,-0.8387327790260315f,-0.21319285035133362f}, + {-2.011418342590332f,0.66354900598526f,-0.06966331601142883f,0.266120046377182f,-0.21907491981983185f,1.551965594291687f,0.11646361649036407f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,2.077694892883301f,-0.29647549986839294f,0.04047860950231552f,-1.6273587942123413f,-0.8223180174827576f,0.5573763847351074f}, +{0.8606846332550049f,-0.6045804023742676f,0.057057321071624756f,-0.2407878190279007f,-0.35503754019737244f,-0.8900831341743469f,-0.4798884689807892f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-0.9539225101470947f,-0.679617702960968f,0.2324916571378708f,0.9474988579750061f,0.09201426804065704f,-1.1725492477416992f}, {-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.02742648310959339f,-0.3625330626964569f,-0.2894435524940491f,-0.07894079387187958f,0.08946844935417175f,-0.1604781448841095f,-0.41668185591697693f,0.2566985785961151f,0.26211628317832947f,0.2953031361103058f,0.5621348023414612f,0.2075783610343933f,0.044909264892339706f,0.16965551674365997f,-0.07103067636489868f,-0.0564725399017334f}, -{-0.28105083107948303f,-0.5965664386749268f,-0.25313520431518555f,2.4203219413757324f,0.036378175020217896f,2.2264177799224854f,-0.5140271782875061f,-0.22565282881259918f,-0.024399548768997192f,-0.39465832710266113f,2.0184779167175293f,-0.7885417938232422f,1.1242095232009888f,-2.920522689819336f,-0.4898601174354553f,-0.12347309291362762f}, -{0.30809175968170166f,0.2815673351287842f,-0.3519742488861084f,0.6510557532310486f,-0.3015052080154419f,-0.01307283341884613f,-0.4332692325115204f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,0.06305015087127686f,-0.26302075386047363f,-0.1484527736902237f,0.5012978315353394f,0.21090148389339447f,-0.523945689201355f}, +{-0.03076210804283619f,-0.36051371693611145f,-0.2894435524940491f,0.3910362720489502f,0.08946844935417175f,0.17786893248558044f,-0.23805393278598785f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.21434222161769867f,0.2971459925174713f,-0.5151641964912415f,0.04401179775595665f,0.4101961553096771f,0.15710106492042542f}, +{-0.552639901638031f,0.12118880450725555f,-0.25313520431518555f,0.07695791125297546f,0.036378175020217896f,0.21381855010986328f,-0.3850887715816498f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,0.470564067363739f,-0.7306436896324158f,-0.0011296207085251808f,0.16337630152702332f,-0.6304192543029785f,-0.4033041298389435f}, +{0.6029080152511597f,-0.21391348540782928f,-0.3519742488861084f,0.05109525844454765f,-0.3015052080154419f,-0.6223318576812744f,-0.5689435005187988f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,0.21507896482944489f,-0.3183901309967041f,-0.3099704682826996f,-0.34512659907341003f,0.14357130229473114f,-1.0389233827590942f}, {-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.09149304032325745f,0.39382967352867126f,0.33083590865135193f,-0.3982222080230713f,-0.14358049631118774f,-0.4295612573623657f,-0.09043094515800476f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.3922218382358551f,-0.3200107216835022f,-0.06807977706193924f,0.16958321630954742f,-0.028019586578011513f,0.1325443536043167f}, -{-0.25820738077163696f,0.3221603035926819f,-0.11379697918891907f,0.1347288340330124f,0.041274964809417725f,-0.2986799478530884f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.027452558279037476f,-0.3197441101074219f,-0.4190613329410553f,-0.2655027210712433f,-0.3592628836631775f,-0.21385815739631653f}, -{-0.18270914256572723f,-3.3988454341888428f,-0.13502129912376404f,0.4474813640117645f,0.12987366318702698f,-1.694394588470459f,-0.19735857844352722f,-0.5084154009819031f,-0.13619378209114075f,0.16938945651054382f,-0.42759886384010315f,-0.23108264803886414f,1.8501368761062622f,0.7278321981430054f,-3.3775484561920166f,0.13835789263248444f}, -{-0.3177672028541565f,-0.1910296529531479f,0.0457797646522522f,-3.2129592895507812f,-0.03321319818496704f,-0.9024812579154968f,-0.14804573357105255f,-0.30097073316574097f,-0.050184011459350586f,0.12480869889259338f,-0.490828275680542f,-0.1105574369430542f,-0.09525325894355774f,-0.5781571269035339f,-0.3580318093299866f,0.12321771681308746f}, -{0.2798016369342804f,1.7974588871002197f,0.3954955041408539f,3.0996081829071045f,0.0033026933670043945f,1.3121733665466309f,-0.5159802436828613f,-0.2739883065223694f,0.3487861454486847f,-0.32520344853401184f,2.1173388957977295f,-0.3887023627758026f,-0.17047901451587677f,0.8024866580963135f,1.0452569723129272f,-1.2933293581008911f}, -{-0.36529868841171265f,-0.2148248255252838f,-0.15798500180244446f,-0.01582324132323265f,-0.37393757700920105f,0.4237067997455597f,-0.2887723743915558f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.15431059896945953f,-0.6320168375968933f,0.20954912900924683f,-0.3726774752140045f,-0.16320562362670898f,0.4442850351333618f}, -{-0.2728922665119171f,0.31573981046676636f,-0.2018718123435974f,0.633874237537384f,0.07545611262321472f,0.033286914229393005f,-0.3082107603549957f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,-0.7568179965019226f,-0.5766573548316956f,0.09766939282417297f,0.9515406489372253f,-0.21473047137260437f,0.3493078649044037f}, +{0.31874772906303406f,-0.48234909772872925f,0.33083590865135193f,-0.7641312479972839f,-0.14358049631118774f,-0.8910525441169739f,-0.21761532127857208f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.024734262377023697f,-0.35538432002067566f,-0.41408634185791016f,1.6746866703033447f,-0.26790979504585266f,-0.36940354108810425f}, +{-0.20805826783180237f,0.3221401870250702f,-0.11379697918891907f,0.10322239995002747f,0.041274964809417725f,-0.3837966024875641f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.036657851189374924f,-0.3197441101074219f,-0.37024784088134766f,-0.2710683345794678f,-0.37486517429351807f,-0.2382662147283554f}, +{-0.13247865438461304f,0.2027098387479782f,-0.13502129912376404f,0.0760958343744278f,0.12987366318702698f,0.09067129343748093f,0.2711336314678192f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.2211703509092331f,0.3686046898365021f,0.3811538517475128f,-0.2216392159461975f,0.03086618334054947f,-0.25772354006767273f}, +{-0.2795250713825226f,-0.03190617635846138f,0.0457797646522522f,-0.4016319811344147f,-0.03321319818496704f,-0.40776312351226807f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.23398490250110626f,0.3545852601528168f,-0.3647043704986572f,0.4472369849681854f,-0.3694407045841217f,-0.3125919699668884f}, +{0.48079368472099304f,0.8067870736122131f,0.3954955041408539f,0.05574827641248703f,0.0033026933670043945f,0.4055675268173218f,-0.3359658718109131f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,-0.24555759131908417f,-0.45610931515693665f,-0.020625948905944824f,-1.1760506629943848f,0.8001130819320679f,-0.20443212985992432f}, +{0.18895186483860016f,0.3147413432598114f,-0.15798500180244446f,0.15786811709403992f,-0.37393757700920105f,-0.2874547243118286f,-0.02463788166642189f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.6756131052970886f,-0.44619011878967285f,0.3147597312927246f,-1.0995818376541138f,-1.0115329027175903f,0.09324407577514648f}, +{-0.43092072010040283f,0.7953181266784668f,-0.2018718123435974f,-0.0025991906877607107f,0.07545611262321472f,0.4165809154510498f,-0.2669230103492737f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,-0.44402000308036804f,-0.5985558032989502f,-0.2859877645969391f,0.08705544471740723f,-0.39378318190574646f,0.030345579609274864f}, {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.44096609950065613f,3.432812452316284f,0.12081471085548401f,-2.4027888774871826f,0.29976895451545715f,0.3685931861400604f,-0.45547792315483093f,0.15438655018806458f,-0.3893685042858124f,-0.02222958207130432f,0.6889567375183105f,-0.5884279608726501f,-0.8097412586212158f,-2.008504867553711f,1.5001810789108276f,0.7552077770233154f}, +{-0.23918215930461884f,0.006884745322167873f,0.12081471085548401f,-0.2690953314304352f,0.29976895451545715f,-0.7412405014038086f,-0.19714364409446716f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,-0.4336813986301422f,-0.16207142174243927f,-0.3038010001182556f,0.0891510546207428f,-1.447880744934082f,-0.20797188580036163f}, }; const float h3[16][16] = { - {-0.36079341173171997f,-0.09034993499517441f,-0.07572291046380997f,-0.37736067175865173f,-0.18604205548763275f,0.038391318172216415f,0.3332441747188568f,0.3036012351512909f,-0.2405819296836853f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,0.026616152375936508f,0.30597126483917236f,-0.31185421347618103f,0.15487313270568848f}, -{0.047732532024383545f,0.2335854172706604f,0.6154120564460754f,-0.363690048456192f,-0.19451680779457092f,-0.5180659294128418f,-0.3198729455471039f,0.06168501824140549f,0.2882016599178314f,2.025585174560547f,0.25681862235069275f,-0.3128277659416199f,3.7107362747192383f,-4.186375141143799f,-9.185410499572754f,-0.04473866894841194f}, + {-0.36079341173171997f,-2.807149648666382f,-0.6200020909309387f,-0.6962459683418274f,-0.3255932927131653f,0.7693279981613159f,0.3332441747188568f,0.3036012351512909f,-0.2405819296836853f,-0.10299688577651978f,-0.7548122406005859f,0.2476046085357666f,1.675858497619629f,0.7385035157203674f,-0.46183863282203674f,1.6698130369186401f}, +{0.047732532024383545f,0.5485827326774597f,-0.7834116220474243f,-0.31200599670410156f,-1.2432564496994019f,-0.08440756052732468f,-0.3198729455471039f,0.06247803568840027f,0.21882383525371552f,-0.2795126736164093f,1.1186026334762573f,-0.4649718105792999f,0.7214251160621643f,-0.3016168177127838f,-1.0697804689407349f,-0.8627910017967224f}, {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.4399411976337433f,0.19089920818805695f,-0.21634826064109802f,0.6928690671920776f,-0.45441821217536926f,0.20021501183509827f,-0.04819854348897934f,-0.43857869505882263f,-0.36678487062454224f,-0.02409454807639122f,0.41021624207496643f,1.9820834398269653f,-0.4715946614742279f,-0.13249875605106354f,-0.10361111909151077f}, +{-0.30922991037368774f,-0.10844157636165619f,0.24370351433753967f,-0.3752414286136627f,-0.2799035310745239f,0.11482025682926178f,0.20021501183509827f,0.07002416253089905f,-0.17697909474372864f,-0.365601509809494f,0.05610799789428711f,0.41021624207496643f,-0.10943176597356796f,0.1265021413564682f,0.19687585532665253f,-0.15066522359848022f}, {-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.993119239807129f,-0.24474097788333893f,-0.19117528200149536f,-0.24062587320804596f,-0.061214469373226166f,-0.18732719123363495f,0.02858704887330532f,-0.5947392582893372f,-7.169979572296143f,-0.3781808912754059f,0.0333346351981163f,0.6293804049491882f,-2.8978209495544434f,1.0871620178222656f,-0.9900457859039307f}, -{0.4110594093799591f,0.2323508858680725f,-0.14298677444458008f,0.37246426939964294f,0.23099927604198456f,-0.11933191865682602f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.30075234174728394f,-0.019709786400198936f,0.2527919411659241f,-0.3391006588935852f}, -{-0.40892091393470764f,-0.0428597629070282f,-0.29680168628692627f,0.25968697667121887f,0.42528533935546875f,-0.051169753074645996f,-0.23312048614025116f,-0.390264093875885f,0.28059282898902893f,-0.1559126079082489f,-0.14134526252746582f,-0.0003446042537689209f,-0.19779664278030396f,-0.36560842394828796f,-0.009836526587605476f,0.005298197269439697f}, +{-0.37449589371681213f,0.8138107657432556f,-0.5966983437538147f,0.01996510662138462f,-0.26122617721557617f,0.3970755636692047f,-0.18732719123363495f,0.22384825348854065f,-0.4603998064994812f,-0.2525792419910431f,-0.18898500502109528f,0.03716854378581047f,-1.2102360725402832f,-0.017480900511145592f,0.8051949739456177f,-0.6421521306037903f}, +{0.4110594093799591f,0.2575571537017822f,-0.2829606235027313f,0.37246426939964294f,0.1494692862033844f,-0.09544742852449417f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.21619804203510284f,0.09352782368659973f,0.302450031042099f,-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,-1.483699917793274f,0.3342244625091553f,-0.29217076301574707f,-0.7100313305854797f,-0.42425405979156494f,-0.08742031455039978f,-0.29005128145217896f,-0.10932233184576035f,-1.1359978914260864f,-0.18788401782512665f,-0.4558790922164917f,-1.7333769798278809f,-3.314079999923706f,-0.28138259053230286f,0.1997302621603012f}, -{-0.408692330121994f,-0.0963486060500145f,-0.0798807442188263f,0.05693887919187546f,-0.16263824701309204f,-0.0489184744656086f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.10372414439916611f,0.12809070944786072f,0.03996849060058594f,-0.6786553263664246f,-0.3557840585708618f,-0.14653949439525604f,0.3149169385433197f}, -{-0.2991822361946106f,0.8242707252502441f,-0.5490741729736328f,-2.211770534515381f,-0.8496814370155334f,1.3128535747528076f,-0.11253207921981812f,0.06128481402993202f,-0.22888995707035065f,-0.6089873313903809f,-0.20140421390533447f,-0.5045773386955261f,-0.5882917642593384f,-0.24254660308361053f,0.08921010047197342f,-1.6710102558135986f}, -{-0.2675279378890991f,-0.27166828513145447f,0.196381613612175f,0.036262739449739456f,0.8081451058387756f,0.23969271779060364f,-0.32875844836235046f,-0.31893211603164673f,-1.0048253536224365f,-2.336460590362549f,-0.5136703252792358f,-0.5677506327629089f,2.2608680725097656f,-2.0822367668151855f,-4.124178886413574f,-0.4129162132740021f}, -{-0.015470266342163086f,0.2076922506093979f,2.0901122093200684f,0.4231385290622711f,-0.24825504422187805f,0.6368523240089417f,0.05196094512939453f,-0.11772739887237549f,-0.8139349222183228f,0.17219232022762299f,-0.02355935424566269f,-0.26322120428085327f,-0.14041846990585327f,-0.9002529382705688f,0.004994128830730915f,-0.09836287796497345f}, -{0.1863725483417511f,-2.964024066925049f,-0.16529524326324463f,-0.5731563568115234f,-0.14589117467403412f,-0.22239737212657928f,0.04860696196556091f,0.05421847850084305f,-0.3410601019859314f,0.3701612055301666f,-0.5499403476715088f,0.03876710683107376f,-1.2966328859329224f,0.35098761320114136f,1.4443241357803345f,-0.1990971565246582f}, +{0.15459725260734558f,0.2684120833873749f,0.19281090795993805f,-0.23334281146526337f,0.42064112424850464f,0.13330669701099396f,-0.08742031455039978f,0.05785742402076721f,-0.10703469812870026f,-0.3555331230163574f,-4.099601745605469f,-0.30447322130203247f,-4.643102169036865f,0.08451677858829498f,0.23248213529586792f,0.14514295756816864f}, +{-0.408692330121994f,-0.08732582628726959f,0.19967782497406006f,0.0922636091709137f,0.10512958467006683f,-0.3146759867668152f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.4165765047073364f,-0.3874877691268921f,-0.32974645495414734f,0.34212207794189453f}, +{-0.2991822361946106f,0.25162002444267273f,0.040185634046792984f,-0.05932474136352539f,0.20402681827545166f,0.12170617282390594f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.13443897664546967f,-0.2534151077270508f,0.2412060648202896f,-0.04798906669020653f}, +{-0.2675279378890991f,-0.004467185586690903f,0.22158296406269073f,-0.10471480339765549f,0.26637670397758484f,-0.41637933254241943f,-0.32875844836235046f,-0.31893211603164673f,-0.48884138464927673f,-0.6636244058609009f,-1.410874366760254f,-0.5651125311851501f,-0.2373117059469223f,-0.34833693504333496f,0.7316285967826843f,0.5321375131607056f}, +{-0.015470266342163086f,-0.5351518392562866f,0.9574418067932129f,0.2444150596857071f,0.6173192262649536f,0.3776930570602417f,0.05196094512939453f,-0.008358269929885864f,-0.47192806005477905f,-0.5418168306350708f,0.17384567856788635f,-0.24931377172470093f,1.4269436597824097f,0.11368156224489212f,-0.9144942760467529f,0.824849009513855f}, +{0.1863725483417511f,0.2647557854652405f,-0.053099680691957474f,-0.5838266015052795f,0.16582004725933075f,0.2729530930519104f,0.04860696196556091f,0.17769548296928406f,-0.09623570740222931f,0.13812074065208435f,0.60963374376297f,0.04573923349380493f,-0.9541709423065186f,-0.035604771226644516f,0.3689681887626648f,-0.18582205474376678f}, }; -const float hout[16] = { 0.45773375034332275f,0.05784709006547928f,-0.1404813975095749f,-0.12895242869853973f,-0.01166574563831091f,0.28172412514686584f,0.0030125975608825684f,-0.1872355341911316f,0.02613774500787258f,0.25827687978744507f,-0.05314243212342262f,-0.11721450090408325f,-0.17019878327846527f,0.26956355571746826f,0.07062312960624695f,-0.06712948530912399f }; +const float hout[16] = { 0.45773375034332275f,0.3591092824935913f,-0.13520705699920654f,-0.12559610605239868f,-0.13056552410125732f,0.3744151294231415f,0.0030125975608825684f,0.15066689252853394f,-0.1979801505804062f,-0.0912344828248024f,0.8885056972503662f,-0.1337854266166687f,-0.34207358956336975f,0.033815596252679825f,0.18102125823497772f,-0.38011065125465393f }; -const float b1[16] = { 0.6664221286773682f,1.3991615772247314f,-1.7145336866378784f,1.1238877773284912f,4.139063358306885f,0.8804880380630493f,-0.058932315558195114f,0.8360020518302917f,0.5085859894752502f,-1.0549907684326172f,-2.1933367252349854f,2.968667507171631f,-0.5985863208770752f,-1.2552247047424316f,-1.087764859199524f,1.338204264640808f }; +const float b1[16] = { 0.6026520133018494f,1.0227911472320557f,-1.7145336866378784f,0.12106171250343323f,1.0229506492614746f,0.885691225528717f,-0.058932315558195114f,0.9778276681900024f,0.5295315384864807f,-0.9006378054618835f,0.6019347310066223f,0.42815279960632324f,0.822638213634491f,-0.8606744408607483f,-1.087764859199524f,1.3601866960525513f }; -const float b2[16] = { -0.15995901823043823f,-1.8434703350067139f,-1.4564176797866821f,-1.616771936416626f,-0.6939148902893066f,-0.1738164871931076f,0.012100458145141602f,-0.46641260385513306f,-1.20063054561615f,-1.912178635597229f,1.1003904342651367f,0.06154978647828102f,-0.06523963063955307f,1.6217546463012695f,0.37085679173469543f,0.1973559856414795f }; +const float b2[16] = { -0.018663981929421425f,-0.8035765290260315f,-1.4564176797866821f,-0.7603859305381775f,-0.6939148902893066f,0.2634040117263794f,0.29558777809143066f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,0.10520845651626587f,0.3829072117805481f,-0.18266476690769196f,1.8565086126327515f,-0.11708316951990128f,0.8565111756324768f }; -const float b3[16] = { -1.963319182395935f,-0.3822685182094574f,0.3768531382083893f,-0.3494439721107483f,-0.4437258839607239f,0.7685852646827698f,-0.45353031158447266f,-0.9905993938446045f,0.10549575835466385f,2.6102547645568848f,-0.4560318887233734f,-0.10725808143615723f,-2.040526866912842f,0.868899941444397f,-1.317742943763733f,-0.45540651679039f }; +const float b3[16] = { -1.963319182395935f,-0.18257209658622742f,0.20342917740345f,-0.20930224657058716f,0.04115280136466026f,0.8082581162452698f,-0.45353031158447266f,-0.6562485098838806f,0.43290436267852783f,0.2585538923740387f,-0.7908613085746765f,-0.10547517985105515f,-1.3251028060913086f,0.3596514165401459f,-0.8781511783599854f,-0.1490040123462677f }; -const float bout[1] = { -0.6484206914901733f }; +const float bout[1] = { -0.3784976899623871f }; float VALVE_POS_RAW_NN = 0.0f;