![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
for learning
Diff: main.cpp
- Revision:
- 234:1cdc45c27ba7
- Parent:
- 233:0a37cdd59651
- Child:
- 236:1276112e0147
diff -r 0a37cdd59651 -r 1cdc45c27ba7 main.cpp --- a/main.cpp Thu Dec 31 15:08:02 2020 +0000 +++ b/main.cpp Fri Jan 01 11:59:50 2021 +0000 @@ -1,4 +1,4 @@ -//201231_1 CAN request +//210101_1 1kHz #include "mbed.h" #include "FastPWM.h" #include "INIT_HW.h" @@ -199,70 +199,72 @@ float input_NN[num_input] = { 0.0f }; const float h1[num_input][16] = { - {-0.7107096910476685f,0.5748042464256287f,0.1331346035003662f,-0.3472170829772949f,-1.0555211305618286f,1.4034713506698608f,-0.18027740716934204f,-0.4855819046497345f,-0.20866943895816803f,-1.9396588802337646f,0.19308307766914368f,-1.0236271619796753f,-0.2692645788192749f,-1.6421189308166504f,-0.26532530784606934f,-1.6460516452789307f}, -{-0.3166443407535553f,0.37179794907569885f,-0.4052582383155823f,-0.04261920601129532f,-0.5801109671592712f,0.7438966631889343f,-0.4182741641998291f,-1.070746898651123f,-0.009645428508520126f,-1.2099772691726685f,-0.529838502407074f,-0.3876437842845917f,0.24623174965381622f,-2.647522449493408f,-0.21633580327033997f,-0.25429075956344604f}, -{-0.8552024960517883f,0.8861677050590515f,0.3754674196243286f,-0.8698447346687317f,-0.655875563621521f,1.1211286783218384f,0.2963334321975708f,0.024058960378170013f,0.004207349382340908f,-0.9657742381095886f,-0.10435186326503754f,-0.7742842435836792f,0.00044973072363063693f,-1.305156946182251f,0.05767732858657837f,-0.5994040966033936f}, -{-1.2889316082000732f,1.011116862297058f,0.4100407361984253f,-0.8771803975105286f,-0.9098381996154785f,0.68509840965271f,-0.11952415108680725f,1.734102487564087f,0.28687670826911926f,-0.2261476367712021f,1.2308095693588257f,-0.6753180027008057f,-0.16679362952709198f,0.7073665857315063f,-0.3055497407913208f,-0.5141171216964722f}, -{-0.15122489631175995f,0.41318944096565247f,-0.005308479070663452f,-0.5509499907493591f,-0.09470018744468689f,-0.2180773764848709f,0.1335124969482422f,1.7583210468292236f,0.19842270016670227f,0.9754910469055176f,1.4297466278076172f,-0.1669011116027832f,-0.06724929064512253f,2.9021966457366943f,-0.39877864718437195f,-0.04117067530751228f}, -{3.318035364151001f,-3.2440054416656494f,0.22464686632156372f,2.7212905883789062f,3.258376121520996f,-3.7212142944335938f,0.17038583755493164f,-1.9575566053390503f,-0.26509812474250793f,3.351072311401367f,-2.2606804370880127f,3.22605562210083f,-0.2700563967227936f,2.0248615741729736f,-0.42640674114227295f,3.0299110412597656f}, -{-1.839550256729126f,0.743869423866272f,-0.25814348459243774f,-3.041593551635742f,-2.0454094409942627f,0.6462511420249939f,0.062051594257354736f,1.7397657632827759f,1.430230975151062f,3.1958296298980713f,3.4760305881500244f,-1.3133124113082886f,-0.182450070977211f,5.020411491394043f,-0.16114374995231628f,0.17034372687339783f}, -{0.6584609150886536f,-1.0038152933120728f,-0.2746502459049225f,1.0311936140060425f,0.019197814166545868f,-0.9970395565032959f,-0.18495109677314758f,-2.9535651206970215f,0.10813623666763306f,4.2084150314331055f,-0.01593662239611149f,0.5004336833953857f,0.37967556715011597f,-0.9130421280860901f,0.04439696669578552f,-0.09382707625627518f}, -{0.3895723521709442f,-0.0030134194530546665f,0.105735182762146f,0.6469439268112183f,-0.06099357828497887f,0.04842674732208252f,-0.07477107644081116f,-1.7170462608337402f,-0.5312995314598083f,1.1699137687683105f,-0.8609651923179626f,0.49720850586891174f,0.23342889547348022f,-1.3745323419570923f,-0.31525522470474243f,-1.208768606185913f}, -{-0.05031483992934227f,-0.6435171961784363f,0.19048917293548584f,0.4463956952095032f,0.15471532940864563f,-0.002435207599774003f,-0.30855023860931396f,-0.7755460143089294f,-0.23457880318164825f,-0.20801405608654022f,-0.5772057771682739f,-0.44403669238090515f,0.381221204996109f,-0.1106160581111908f,0.35956430435180664f,-1.150540828704834f}, -{0.21932409703731537f,-0.15730774402618408f,0.38363122940063477f,0.2351817786693573f,-0.1871233582496643f,-0.01937558315694332f,-0.20985150337219238f,-0.11008226126432419f,-0.6354061365127563f,-0.683839738368988f,-0.13569213449954987f,-0.4661896824836731f,-0.07176927477121353f,0.21223489940166473f,0.2753579616546631f,-1.1578141450881958f}, -{-0.34123319387435913f,-0.5856785178184509f,-0.41600319743156433f,0.06370597332715988f,0.13166840374469757f,-0.2644786238670349f,0.15824931859970093f,0.08150170743465424f,-0.40871983766555786f,-0.3228833079338074f,-0.8897232413291931f,0.20386344194412231f,0.14613376557826996f,-0.008566160686314106f,0.10827195644378662f,-0.4468332827091217f}, -{-0.052340418100357056f,-0.23061873018741608f,0.2047821283340454f,0.22683338820934296f,0.2552613615989685f,0.02660255692899227f,-0.24806645512580872f,-0.09685809910297394f,-0.45292937755584717f,-0.22743451595306396f,-0.34933555126190186f,-0.27536541223526f,0.09192687273025513f,-0.0028655955102294683f,-0.22975200414657593f,-0.709994912147522f}, -{-0.17850808799266815f,-0.36447224020957947f,0.42588919401168823f,0.09280404448509216f,-0.3457636535167694f,-0.33955615758895874f,-0.3301747143268585f,-0.2679907977581024f,-0.41200390458106995f,-0.16191090643405914f,-0.387783408164978f,-0.2718203663825989f,-0.32551702857017517f,0.002818679204210639f,0.04949149489402771f,-0.5213664174079895f}, -{-0.07672131061553955f,-1.0163432359695435f,0.20926350355148315f,0.20689204335212708f,0.0508851632475853f,-0.19116075336933136f,0.043363481760025024f,0.3114475607872009f,-0.0352475568652153f,-0.4374855160713196f,-0.6171332001686096f,-0.8803253173828125f,0.1041073426604271f,-0.050098564475774765f,0.06893044710159302f,-1.505090355873108f}, + {-0.3518959879875183f,-1.69797682762146f,-2.1282193660736084f,0.07460802793502808f,0.4083598852157593f,-0.7478575110435486f,-0.24204020202159882f,0.022494137287139893f,-0.38182884454727173f,0.1710560917854309f,-0.5618472695350647f,-0.24755993485450745f,0.07800555229187012f,-0.11408881843090057f,2.00408673286438f,0.08599450439214706f}, +{-0.23303905129432678f,-0.6088531017303467f,-1.162105917930603f,-0.2855757474899292f,-0.4139590263366699f,-0.12036176770925522f,-0.33242931962013245f,0.33744025230407715f,0.019223570823669434f,0.025203019380569458f,0.010082818567752838f,-0.32528552412986755f,0.07627367973327637f,0.36430639028549194f,0.8490098118782043f,0.02658339962363243f}, +{0.054309576749801636f,-0.6756351590156555f,-0.38059884309768677f,-0.3997206389904022f,0.37840962409973145f,-0.46292808651924133f,-0.3337523639202118f,-0.21087387204170227f,0.18194907903671265f,-0.15486115217208862f,-0.48726019263267517f,0.2976128160953522f,-0.10916683077812195f,0.1307639181613922f,0.19809672236442566f,0.3890748620033264f}, +{-0.28941866755485535f,0.2456064522266388f,-0.393026202917099f,-0.3544938564300537f,-0.3382750153541565f,0.27266401052474976f,-0.4222949147224426f,0.2507844567298889f,0.405910849571228f,0.15534931421279907f,0.07898453623056412f,-0.21736784279346466f,-0.35986700654029846f,-0.4081882834434509f,-0.42403799295425415f,0.0561867393553257f}, +{0.260015070438385f,0.585556149482727f,0.30323508381843567f,-0.3760731518268585f,0.08130717277526855f,0.005908521823585033f,0.35346728563308716f,0.05169829726219177f,0.39578813314437866f,0.3265618085861206f,0.09266892820596695f,-0.24159389734268188f,0.3847886323928833f,0.3471701741218567f,-1.3181854486465454f,0.3569074869155884f}, +{0.07367211580276489f,1.521565556526184f,2.345362901687622f,0.21967214345932007f,0.4170142412185669f,0.6747139096260071f,0.16131609678268433f,-0.05181002616882324f,0.03649970889091492f,0.3132137656211853f,0.4686543047428131f,0.0925305187702179f,-0.004373282194137573f,0.3530316650867462f,-2.0337753295898438f,0.4983721375465393f}, +{-0.1849803626537323f,-0.9590993523597717f,-0.2802956998348236f,0.10853719711303711f,-0.34670042991638184f,-0.13690190017223358f,-0.07871395349502563f,-0.3424152731895447f,-0.0723131000995636f,-0.09276700019836426f,0.43821901082992554f,0.37728869915008545f,0.1583765149116516f,0.24978892505168915f,-0.07854941487312317f,-0.04284338653087616f}, +{0.3363311290740967f,-0.7796613574028015f,-0.12148615717887878f,0.2931549549102783f,-0.2531799077987671f,-0.21972180902957916f,-0.15988385677337646f,-0.16074800491333008f,-0.3888390362262726f,-0.03829273581504822f,0.7230599522590637f,0.08995217829942703f,-0.03030523657798767f,0.035904496908187866f,0.294111967086792f,-0.49187636375427246f}, +{-0.008942186832427979f,-0.2458847463130951f,0.04273533821105957f,-0.26002514362335205f,0.369967520236969f,0.3970028758049011f,0.06158176064491272f,0.3959408402442932f,-0.011539667844772339f,-0.3851383328437805f,0.6504956483840942f,-0.18361234664916992f,-0.3491899371147156f,-0.4619986414909363f,0.335550457239151f,-0.36968812346458435f}, +{-0.23328730463981628f,-0.36262547969818115f,0.1724269986152649f,-0.14789578318595886f,-0.1547950804233551f,-0.2832684814929962f,-0.09938845038414001f,0.10942506790161133f,-0.3328583538532257f,0.32593780755996704f,0.08618786185979843f,0.01168887410312891f,0.025072604417800903f,-0.15519265830516815f,-0.09023689478635788f,-0.2123822718858719f}, +{-0.2889084219932556f,-0.023485874757170677f,-0.05854697525501251f,0.358765184879303f,-0.4070855379104614f,-0.6087843179702759f,-0.14795801043510437f,0.12666010856628418f,0.2193526029586792f,0.2858560085296631f,-0.4274939298629761f,0.1574348509311676f,-0.35532402992248535f,-0.06206052377820015f,-0.10873384028673172f,0.20974156260490417f}, +{-0.349159836769104f,0.09926782548427582f,0.1492946594953537f,-0.09636816382408142f,-0.3470844030380249f,-0.14391815662384033f,-0.24872183799743652f,-0.3441091775894165f,-0.20228171348571777f,-0.3132234513759613f,-0.445285826921463f,-0.08717029541730881f,0.11759966611862183f,0.10235890001058578f,-0.0059266467578709126f,-0.32778745889663696f}, +{0.38546842336654663f,0.042861178517341614f,0.16285735368728638f,-0.41764265298843384f,-0.4134422838687897f,-0.46370384097099304f,0.298126757144928f,-0.39963799715042114f,-0.06526103615760803f,0.03604122996330261f,-0.7327427268028259f,0.08789367228746414f,-0.30289945006370544f,0.14572061598300934f,-0.19186291098594666f,0.14228378236293793f}, +{-0.42283523082733154f,0.34684696793556213f,0.2423180788755417f,-0.14728012681007385f,-0.37331435084342957f,-0.20102868974208832f,-0.09241300821304321f,-0.04799109697341919f,-0.17356249690055847f,-0.053030580282211304f,-0.15261980891227722f,-0.13276861608028412f,-0.3399311900138855f,0.16978342831134796f,0.14468330144882202f,-0.3575900197029114f}, +{0.2842629551887512f,0.3705138564109802f,-0.010952235199511051f,-0.1726883053779602f,-0.16769343614578247f,-0.27340081334114075f,-0.18842191994190216f,0.35883063077926636f,-0.32441917061805725f,0.3678022027015686f,-0.3899131119251251f,0.3959941864013672f,-0.006959974765777588f,-0.07304153591394424f,0.07103786617517471f,-0.423795610666275f}, +{0.30670469999313354f,0.15568028390407562f,-0.0593489371240139f,-0.24774791300296783f,0.2930166721343994f,-0.5918793678283691f,-0.2875429093837738f,0.34532618522644043f,-0.07908278703689575f,0.264565646648407f,-0.9712560176849365f,-0.3862493932247162f,0.24430310726165771f,0.11583136022090912f,-0.15680170059204102f,-0.21749410033226013f}, +{0.06869709491729736f,0.42972221970558167f,-0.06558702141046524f,-0.3430131673812866f,-0.4249112606048584f,-1.058655023574829f,-0.2120281457901001f,-0.19189448654651642f,0.18253427743911743f,-0.026109665632247925f,-0.4158742129802704f,-0.05672925338149071f,0.24209386110305786f,-0.28700676560401917f,-0.13010510802268982f,-0.2501288056373596f}, }; const float h2[16][16] = { - {-0.05609544739127159f,-0.38644102215766907f,-0.06966331601142883f,2.8726747035980225f,-0.21907491981983185f,1.0402798652648926f,0.0787314921617508f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,-0.13463903963565826f,-0.6863351464271545f,0.004113723989576101f,-1.78252375125885f,-0.2182036191225052f,1.3725275993347168f}, -{-0.05584848299622536f,-0.5299791097640991f,0.057057321071624756f,-0.7371286749839783f,-0.35503754019737244f,0.5259296298027039f,-0.5525034070014954f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-0.5631104111671448f,-0.7347442507743835f,0.21366164088249207f,0.5616945028305054f,-0.5259544253349304f,0.16951774060726166f}, -{-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.07704363018274307f,-0.4680996537208557f,-0.2894435524940491f,0.4993690550327301f,0.08946844935417175f,0.15898147225379944f,-0.44716790318489075f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,-0.21996113657951355f,-0.19403861463069916f,-0.5333842039108276f,-2.6269991397857666f,0.09325726330280304f,0.5271802544593811f}, -{-0.14338722825050354f,0.1457262635231018f,-0.25313520431518555f,1.5323469638824463f,0.036378175020217896f,1.1596163511276245f,-0.46772268414497375f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,-0.5288034677505493f,-1.1926617622375488f,-0.02286139316856861f,0.13278329372406006f,-0.4184599816799164f,2.064659595489502f}, -{0.29662686586380005f,0.1254667490720749f,-0.3519742488861084f,-2.6433229446411133f,-0.3015052080154419f,0.524383008480072f,-0.5562416911125183f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-0.0675867348909378f,-0.3388383090496063f,-0.3332999646663666f,-0.5591659545898438f,0.13293559849262238f,2.4991962909698486f}, -{-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.047194842249155045f,0.2199276238679886f,0.33083590865135193f,0.6455643177032471f,-0.14358049631118774f,2.6129770278930664f,-0.09043094515800476f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.05876479297876358f,-0.5351912379264832f,-0.4464542269706726f,4.537297248840332f,-0.09857027977705002f,2.447502613067627f}, -{-0.557280421257019f,0.2913069427013397f,-0.11379697918891907f,-0.15351274609565735f,0.041274964809417725f,-0.24349066615104675f,-0.47820907831192017f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,-0.30974870920181274f,-0.7005243897438049f,-0.49426066875457764f,-0.3118366301059723f,-0.5539959669113159f,-0.18872801959514618f}, -{-0.2627328336238861f,-0.06322724372148514f,-0.13502129912376404f,0.1162288635969162f,0.12987366318702698f,-1.8505975008010864f,-0.039328936487436295f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,-0.2768089175224304f,-0.16349045932292938f,0.1311095952987671f,-1.1858068704605103f,-0.1411808729171753f,-1.9816197156906128f}, -{-0.5685315728187561f,-0.1078869178891182f,0.0457797646522522f,-0.13430047035217285f,-0.03321319818496704f,-1.7140648365020752f,-0.20198717713356018f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.42474398016929626f,-0.09458734095096588f,-0.489304780960083f,0.572925329208374f,-0.41582924127578735f,-1.5786478519439697f}, -{0.24515943229198456f,0.13837043941020966f,0.3954955041408539f,0.2866057753562927f,0.0033026933670043945f,0.037618476897478104f,-0.4772307574748993f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,0.08796805143356323f,-0.6295562982559204f,-0.04139839485287666f,-0.15657874941825867f,0.0724172443151474f,0.3648937940597534f}, -{-0.2708664536476135f,-0.21372267603874207f,-0.15798500180244446f,0.36655303835868835f,-0.37393757700920105f,0.3641175329685211f,0.11292675137519836f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.11133185029029846f,-0.3095161020755768f,0.41839322447776794f,-0.015707945451140404f,-0.1277320384979248f,0.10527979582548141f}, -{-0.4848700165748596f,0.03126031905412674f,-0.2018718123435974f,1.2748514413833618f,0.07545611262321472f,-1.0728566646575928f,-0.42942386865615845f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,-0.2219996452331543f,-0.8275692462921143f,-0.3878934979438782f,1.6959377527236938f,-0.4035681486129761f,-1.544219970703125f}, -{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.32686734199523926f,0.28102388978004456f,0.12081471085548401f,0.6564704179763794f,0.29976895451545715f,1.9885653257369995f,-0.112851083278656f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,0.2739725708961487f,-0.29374685883522034f,-0.13827009499073029f,1.8617192506790161f,0.2159491330385208f,-0.30338171124458313f}, + {-0.055980950593948364f,0.23325034976005554f,0.1310378611087799f,0.3538874685764313f,-0.3786364793777466f,0.3037426769733429f,-0.17743819952011108f,0.03198641538619995f,-0.25820767879486084f,-0.025972992181777954f,-0.1812897026538849f,-0.19700877368450165f,-0.23905162513256073f,0.3336930572986603f,-0.2611466646194458f,-0.14968061447143555f}, +{-0.44800564646720886f,0.3085605204105377f,-2.4579923152923584f,-1.2163007259368896f,-1.6898484230041504f,-0.043496813625097275f,-0.22812658548355103f,-1.5393556356430054f,0.16071566939353943f,0.2273702323436737f,-0.2186730057001114f,-0.09930881857872009f,-1.5238995552062988f,-1.4624199867248535f,-0.21292872726917267f,-1.4912246465682983f}, +{-0.3120139539241791f,0.3188628852367401f,-0.735779881477356f,-1.1049586534500122f,-0.9783118367195129f,0.16471511125564575f,1.0466843843460083f,-0.9424003958702087f,-1.0719295740127563f,0.229490727186203f,-0.29371505975723267f,-0.13699811697006226f,-17.021934509277344f,-2.445385217666626f,0.056768983602523804f,-1.0197019577026367f}, +{-0.28563398122787476f,0.07789990305900574f,0.40358296036720276f,0.3720850646495819f,-0.03832319378852844f,-0.1494518518447876f,-0.11764177680015564f,0.34294649958610535f,0.054388612508773804f,0.3634087145328522f,0.1569826900959015f,0.28783395886421204f,-0.13846668601036072f,0.12138035893440247f,-0.3007376194000244f,0.12193700671195984f}, +{0.1812863051891327f,0.25741907954216003f,-0.005224883556365967f,0.3340524137020111f,0.024127095937728882f,0.11559751629829407f,0.13140985369682312f,-0.02607312798500061f,0.060811251401901245f,0.1730591356754303f,0.4128219783306122f,0.03628826141357422f,-0.040624260902404785f,0.2442089021205902f,-0.39249828457832336f,-0.21546570956707f}, +{0.4620211124420166f,-0.3289546072483063f,-0.7837321758270264f,-0.025280611589550972f,-0.24652062356472015f,-0.4231514632701874f,-0.12136978656053543f,-0.5415066480636597f,0.17245952785015106f,0.17989537119865417f,-0.191977858543396f,0.26149240136146545f,0.3528016209602356f,-0.16127131879329681f,-0.4196912348270416f,-0.5733615756034851f}, +{0.03675055503845215f,-0.05131736397743225f,-0.2540779709815979f,-0.4151476323604584f,-0.3318796753883362f,0.2645241320133209f,0.06107431650161743f,-0.3474422097206116f,0.4012340009212494f,0.12852928042411804f,0.2119675576686859f,0.39421865344047546f,-0.14612942934036255f,0.4053405821323395f,-0.15860587358474731f,-0.00642770528793335f}, +{-0.011466562747955322f,-0.293976753950119f,-0.2703247666358948f,0.13940533995628357f,-0.3086448609828949f,-0.10881850123405457f,-0.18203827738761902f,-0.3606947958469391f,0.05907437205314636f,0.17521318793296814f,0.16556969285011292f,-0.017545759677886963f,0.4063515365123749f,0.1637323796749115f,0.0436977744102478f,0.21962454915046692f}, +{0.1453019678592682f,0.31070712208747864f,0.10406997799873352f,-0.34301185607910156f,-0.14203324913978577f,0.1393299400806427f,-0.07359349727630615f,-0.4255761206150055f,-0.24196511507034302f,0.4100019037723541f,-0.2432931661605835f,0.4171271026134491f,0.26163145899772644f,0.24838712811470032f,-0.31029027700424194f,0.24932292103767395f}, +{-0.09909564256668091f,-0.22814129292964935f,0.18748918175697327f,-0.08129695057868958f,0.17022588849067688f,0.2918822467327118f,-0.3036908507347107f,-0.09228748083114624f,0.024910658597946167f,-0.4239048957824707f,0.050207048654556274f,-0.4021540582180023f,0.4068380892276764f,-0.20195016264915466f,0.35390153527259827f,0.03321918845176697f}, +{0.43944549560546875f,0.11061021685600281f,-0.3057962954044342f,-0.3156031370162964f,-0.45479869842529297f,-0.053649116307497025f,-0.286143034696579f,-0.34322085976600647f,-0.2617630660533905f,0.08167347311973572f,0.41236647963523865f,-0.19175507128238678f,0.11758091300725937f,0.034750234335660934f,0.2710213363170624f,-0.5949099063873291f}, +{-0.34744709730148315f,-0.39544427394866943f,-0.4057272672653198f,0.0778622031211853f,0.17017926275730133f,-0.011973470449447632f,0.15536633133888245f,0.40981242060661316f,-0.11885038018226624f,0.2575679123401642f,-0.36203885078430176f,0.2510797083377838f,0.17438359558582306f,-0.0008050369215197861f,0.10656675696372986f,-0.07003151625394821f}, +{-0.01594102382659912f,-0.19719429314136505f,0.2015570104122162f,0.23486098647117615f,0.36742570996284485f,0.19432035088539124f,-0.24415965378284454f,0.16870906949043274f,-0.1409781575202942f,-0.15576940774917603f,-0.05214834213256836f,-0.16751256585121155f,0.12201771140098572f,0.031148135662078857f,-0.22613362967967987f,-0.3668502867221832f}, +{-0.05187244713306427f,-0.10105487704277039f,0.37118610739707947f,-0.04725774750113487f,-0.24894168972969055f,-0.253291517496109f,-0.27441465854644775f,-0.35106202960014343f,-0.12683960795402527f,-0.19223688542842865f,-0.13938084244728088f,-0.1388394832611084f,-0.23941120505332947f,-0.0906568095088005f,0.04871204495429993f,0.19558128714561462f}, +{0.24246004223823547f,-0.008572280406951904f,0.8558624982833862f,2.1420047283172607f,0.46652790904045105f,-0.23807457089424133f,-2.045154333114624f,0.25432783365249634f,1.3004506826400757f,0.11613044142723083f,-0.22509463131427765f,-0.3847343325614929f,-24.320430755615234f,-2.067932367324829f,0.06784489750862122f,0.32569828629493713f}, +{0.4314001202583313f,-0.35415053367614746f,-0.8243747353553772f,-0.38929200172424316f,-0.5110880732536316f,0.028057783842086792f,0.32799771428108215f,-0.4928995370864868f,0.1869022399187088f,0.021969109773635864f,-0.42253369092941284f,-0.02782580256462097f,0.12870386242866516f,-0.3325507938861847f,-0.08373728394508362f,0.5626990795135498f}, }; const float h3[16][16] = { - {-0.36079341173171997f,-0.07306690514087677f,-0.12081453949213028f,-0.43212243914604187f,-0.22348196804523468f,0.07063160836696625f,0.3332441747188568f,0.3036012351512909f,-0.3493002951145172f,0.04891335964202881f,-0.11870327591896057f,0.40483585000038147f,0.002901032567024231f,0.33374470472335815f,-0.27061396837234497f,0.10026850551366806f}, -{0.047732532024383545f,0.3057560324668884f,0.049646325409412384f,-0.11903899908065796f,-0.09661274403333664f,-0.05561372637748718f,-0.3198729455471039f,0.06247803568840027f,0.32669028639793396f,-0.1780138611793518f,0.4144817292690277f,-0.3128277659416199f,0.21720702946186066f,0.28560540080070496f,-0.43199121952056885f,-0.13802769780158997f}, -{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.154257133603096f,-0.7080875039100647f,-3.001275062561035f,-0.8676357269287109f,1.3672759532928467f,0.20021501183509827f,-0.07864704728126526f,-4.265562534332275f,-0.7747781872749329f,0.13192829489707947f,0.5505858063697815f,2.498959541320801f,1.0194077491760254f,-0.21604087948799133f,-2.9991185665130615f}, -{-0.39607733488082886f,-0.05481579899787903f,0.1976260244846344f,0.022423356771469116f,0.16892847418785095f,-0.27518749237060547f,0.16012099385261536f,0.3626593053340912f,-0.08640444278717041f,-0.11053556203842163f,-0.10529157519340515f,-0.31317979097366333f,-0.1530032455921173f,-0.1336749792098999f,0.22959044575691223f,0.19986507296562195f}, -{-0.37449589371681213f,-0.20135140419006348f,-0.24411803483963013f,0.7906783223152161f,-0.551617443561554f,0.3800472915172577f,-0.18732719123363495f,0.061251986771821976f,1.6608974933624268f,-0.15281745791435242f,-0.08919548988342285f,1.3888895511627197f,-2.4531946182250977f,1.3281203508377075f,0.35986292362213135f,-1.1433416604995728f}, -{0.4110594093799591f,0.2715781033039093f,-0.2908170819282532f,0.3614816665649414f,0.14944376051425934f,-0.08552135527133942f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.209029421210289f,0.09389619529247284f,0.3126353323459625f,-0.34530720114707947f}, -{-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.4193899929523468f,0.040408845990896225f,-0.277997225522995f,-0.27155259251594543f,0.2016066461801529f,-0.08742031455039978f,0.05785742402076721f,-0.006283224560320377f,-0.2220277339220047f,0.1268840730190277f,-0.14845798909664154f,-0.09734585136175156f,-0.11904080957174301f,0.41744107007980347f,0.20126450061798096f}, -{-0.408692330121994f,-0.18435567617416382f,0.03228508681058884f,-0.13460855185985565f,-0.11061125993728638f,-0.11353278160095215f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.14117814600467682f,-0.6666624546051025f,-0.1545296460390091f,-0.33491525053977966f,0.11735958606004715f}, -{-0.2991822361946106f,0.3794580399990082f,0.058577943593263626f,0.06719253212213516f,0.22317948937416077f,0.11788477748632431f,-0.11253207921981812f,0.34576353430747986f,0.06370384246110916f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,-0.11170624941587448f,-0.26119908690452576f,0.2235926240682602f,-0.0459212027490139f}, -{-0.2675279378890991f,-0.09571236371994019f,-0.025211667641997337f,-0.21431146562099457f,0.11284217238426208f,-0.6345430016517639f,-0.32875844836235046f,-0.5086509585380554f,-1.0642796754837036f,-0.867178201675415f,-0.3685331642627716f,-1.7945964336395264f,1.3065910339355469f,-1.022324800491333f,-0.07944300770759583f,0.925136148929596f}, -{-0.015470266342163086f,-0.30741915106773376f,0.36548328399658203f,0.37661212682724f,0.07643549889326096f,-0.33224648237228394f,0.05196094512939453f,-0.008358269929885864f,-0.3483721613883972f,-0.38441595435142517f,0.13179203867912292f,-0.12231884151697159f,0.2353481501340866f,0.015602431260049343f,0.12866826355457306f,-0.4552646279335022f}, -{0.1863725483417511f,0.16727414727210999f,-0.21832649409770966f,-6.15080451965332f,-0.19656047224998474f,-0.4116034507751465f,0.04860696196556091f,0.04096611589193344f,-1.0076631307601929f,0.24256081879138947f,-0.3929237127304077f,-0.0822499692440033f,1.4070152044296265f,-0.7986724376678467f,-0.5050287246704102f,0.893261730670929f}, + {-0.18879708647727966f,-0.14559394121170044f,-0.06966331601142883f,0.2882176339626312f,-0.21907491981983185f,0.6232825517654419f,-0.0018155425786972046f,0.0904630720615387f,-0.22329671680927277f,-0.5925017595291138f,0.39582139253616333f,-0.10159772634506226f,-0.01866203173995018f,0.056479066610336304f,-0.060674071311950684f,-0.40675783157348633f}, +{0.11036357283592224f,-0.3038245439529419f,0.057057321071624756f,0.08777192234992981f,-0.35503754019737244f,-0.29007279872894287f,-0.33918139338493347f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-0.3337714970111847f,-0.37158891558647156f,0.33698758482933044f,0.16647490859031677f,-0.3480874300003052f,-0.2740727365016937f}, +{-0.7437351942062378f,0.003037691116333008f,-0.1919207125902176f,0.8550335168838501f,0.05568113923072815f,0.06482237577438354f,-0.8604972958564758f,-0.08465918898582458f,0.8875115513801575f,-0.02379775047302246f,0.26386815309524536f,0.3004753887653351f,0.26245737075805664f,-0.6394146680831909f,0.08652284741401672f,-0.3352816104888916f}, +{-0.47847747802734375f,-0.38710832595825195f,-0.4291071593761444f,0.566381573677063f,0.08946844935417175f,0.15214984118938446f,-1.0603891611099243f,0.4122363030910492f,0.5083996653556824f,0.16379007697105408f,0.07776153832674026f,0.4110986292362213f,-0.4673307538032532f,-0.37362468242645264f,0.27305224537849426f,-1.1237341165542603f}, +{-0.4165594279766083f,0.40231046080589294f,-0.25313520431518555f,1.678422212600708f,0.036378175020217896f,1.5675896406173706f,-1.7537471055984497f,-0.08570799231529236f,1.440100073814392f,-0.862185537815094f,0.3691120743751526f,-0.4229513108730316f,-0.8029487729072571f,-0.11359894275665283f,-0.2544192671775818f,-1.9663056135177612f}, +{0.36151543259620667f,0.294185608625412f,-0.3519742488861084f,0.2310507744550705f,-0.3015052080154419f,-0.27176108956336975f,-0.27087995409965515f,-0.019414573907852173f,-0.3904707729816437f,0.3504062592983246f,0.04262559115886688f,0.001658409833908081f,-0.204361230134964f,0.3993215262889862f,0.15392538905143738f,-0.21421511471271515f}, +{-0.6778572797775269f,-0.02554568648338318f,-0.41483578085899353f,-4.090725421905518f,-0.38453540205955505f,-1.086576223373413f,1.048987865447998f,0.12387624382972717f,-1.7006561756134033f,0.2509230673313141f,-0.48044317960739136f,-0.32796353101730347f,0.017260095104575157f,-0.21863967180252075f,-0.27088475227355957f,4.220706462860107f}, +{-0.0029379886109381914f,0.33974209427833557f,0.33083590865135193f,0.5799209475517273f,-0.14358049631118774f,2.112962245941162f,-1.0051652193069458f,-0.3003333508968353f,1.0414808988571167f,-3.036134958267212f,1.8724721670150757f,-0.2890920341014862f,-1.8007065057754517f,0.36012205481529236f,0.048003822565078735f,-0.8006166815757751f}, +{-0.7076373100280762f,0.35453304648399353f,-0.2619188725948334f,0.9258419275283813f,0.041274964809417725f,0.22418546676635742f,-1.0241522789001465f,0.0019084513187408447f,0.8420276641845703f,-2.4723517894744873f,-0.05607831850647926f,-0.3197441101074219f,0.025936203077435493f,-0.44141992926597595f,-0.4068881571292877f,-1.219604253768921f}, +{-0.14576366543769836f,0.22098979353904724f,-0.13502129912376404f,0.1006976068019867f,0.12987366318702698f,0.11301741003990173f,0.2711336314678192f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.24499371647834778f,0.39862415194511414f,0.3811538517475128f,-0.23332324624061584f,0.011877655982971191f,-0.23860150575637817f}, +{-0.2709399461746216f,-0.006022721529006958f,0.0457797646522522f,-0.38090792298316956f,-0.03321319818496704f,-0.4148826003074646f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.20706263184547424f,0.3545852601528168f,-0.3647043704986572f,0.42127421498298645f,-0.39804020524024963f,-0.2870290279388428f}, +{0.33538809418678284f,0.3494977056980133f,0.3954955041408539f,0.3170476257801056f,0.0033026933670043945f,0.3035760819911957f,-0.18492193520069122f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,0.3952759802341461f,-0.15237495303153992f,0.0820283591747284f,-0.3793424367904663f,0.2430708110332489f,0.24988999962806702f}, +{-0.5453444123268127f,-0.180922269821167f,-0.3113976716995239f,-0.7183730006217957f,-0.37393757700920105f,0.1522810012102127f,0.20593959093093872f,-0.2947862446308136f,-0.8160192370414734f,0.1806139498949051f,-0.21704530715942383f,-0.2837170362472534f,0.47085094451904297f,-0.20227663218975067f,-0.15901821851730347f,-0.3262941837310791f}, +{-0.228446364402771f,0.26506301760673523f,-0.2018718123435974f,-0.7578633427619934f,0.07545611262321472f,-1.9875282049179077f,0.7327920794487f,-0.21416273713111877f,-1.1424970626831055f,2.6302576065063477f,-1.6244035959243774f,-0.25593626499176025f,-2.994697093963623f,0.27643296122550964f,-0.23556609451770782f,0.6344369649887085f}, +{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.5298225283622742f,0.3827712833881378f,0.041083551943302155f,1.0262250900268555f,0.29976895451545715f,0.8656129240989685f,-1.3744128942489624f,0.31089308857917786f,0.7874980568885803f,-0.7267993092536926f,1.067516803741455f,-0.11613789200782776f,-1.2103276252746582f,-0.03868785873055458f,0.22754064202308655f,-1.3016085624694824f}, }; -const float hout[16] = { 0.45773375034332275f,0.11496491730213165f,0.02869349531829357f,-0.14814786612987518f,-0.045156948268413544f,0.15993131697177887f,0.0030125975608825684f,-0.00026414694730192423f,0.2589924931526184f,0.01784598082304001f,0.24303162097930908f,-0.10908975452184677f,-0.2511503994464874f,0.2726236879825592f,0.2428593635559082f,-0.23646877706050873f }; - -const float b1[16] = { 0.8312101364135742f,1.6546001434326172f,-1.7145336866378784f,0.08073712140321732f,1.3426809310913086f,0.6138241291046143f,-0.058932315558195114f,1.9385660886764526f,0.2135201096534729f,-2.622662305831909f,0.27099642157554626f,1.3350555896759033f,-0.3749246597290039f,-1.1940302848815918f,-1.087764859199524f,3.277304172515869f }; - -const float b2[16] = { -0.23770350217819214f,-1.0067986249923706f,-1.4564176797866821f,-1.0290534496307373f,-0.6939148902893066f,0.9743399620056152f,0.11889128386974335f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,-0.042900536209344864f,0.09470154345035553f,-0.31811198592185974f,1.689566969871521f,-0.10080983489751816f,0.3293673098087311f }; - -const float b3[16] = { -1.963319182395935f,-0.43432754278182983f,-0.2351592630147934f,0.9060386419296265f,-0.2977774143218994f,1.0837714672088623f,-0.45353031158447266f,-0.730044960975647f,1.4574902057647705f,-0.14087486267089844f,-0.14371006190776825f,0.4661441445350647f,-1.9257787466049194f,1.134450912475586f,-1.6156606674194336f,0.4693182706832886f }; - -const float bout[1] = { -0.15797178447246552f }; +const float hout[16] = { -0.23292464017868042f,-0.17660260200500488f,0.09691864997148514f,-1.1401900053024292f,-0.20271384716033936f,-1.3284354209899902f,1.1631301641464233f,0.4165375232696533f,-0.7068449854850769f,1.1665889024734497f,-0.6449853181838989f,0.5489715337753296f,0.7872403264045715f,0.34426531195640564f,-0.480579137802124f,-0.503042995929718f }; + +const float b1[16] = { -0.31192219257354736f,-0.02815360203385353f,1.2719154357910156f,-0.407010555267334f,-0.8632325530052185f,1.2163810729980469f,-0.8388656973838806f,-0.8200502991676331f,-0.2854437828063965f,-1.6282782554626465f,0.5448050498962402f,-0.13274334371089935f,-1.5856122970581055f,-0.621955931186676f,0.6531851887702942f,-0.39145854115486145f }; + +const float b2[16] = { -0.42555102705955505f,-1.3118138313293457f,-0.15831980109214783f,1.015881896018982f,-0.05047077685594559f,-0.13647101819515228f,0.03206629306077957f,-0.14537771046161652f,-0.25401630997657776f,-1.6486880779266357f,-0.22539173066616058f,-2.15936541557312f,0.30588170886039734f,-0.01354543212801218f,-0.6625781655311584f,-0.1546604484319687f }; + +const float b3[16] = { 0.10032525658607483f,-0.1894310712814331f,0.08000034838914871f,-0.35410434007644653f,-0.4563063681125641f,-0.6629799008369446f,1.2059299945831299f,-0.7025120258331299f,0.42028599977493286f,-0.6067396998405457f,-0.33103999495506287f,-0.7519525289535522f,-0.21555250883102417f,0.0008875157218426466f,-0.45795938372612f,0.7625880241394043f }; + +const float bout[1] = { 0.5003952980041504f }; float valve_ref_pos_buffer[10] = {0.0f};