From 6fa398fb4ed37769ad3cbf4876457efd71f38121 Mon Sep 17 00:00:00 2001 From: Codex Date: Wed, 18 Nov 2026 12:21:26 -0600 Subject: [PATCH] Qualify turn forecasts and producer clocks alongside highway wobble detection --- .../flm/producer_clock_equivalence.py | 2 +- .../fixtures/recorded_turn_forecasts.json | 1 + .../flm/tests/test_observed_maneuvers.py | 36 +++++++++++++++++++ prebuilt.json | 2 +- 4 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 openpilot/starpilot/flm/tests/fixtures/recorded_turn_forecasts.json diff --git a/openpilot/starpilot/flm/producer_clock_equivalence.py b/openpilot/starpilot/flm/producer_clock_equivalence.py index a9e87159db..93357bbf7d 100644 --- a/openpilot/starpilot/flm/producer_clock_equivalence.py +++ b/openpilot/starpilot/flm/producer_clock_equivalence.py @@ -18,7 +18,7 @@ PRODUCER_SOURCE_HASHES = ( ('openpilot', 'system/camerad/cameras/spectra.cc', '4fa26c17f0fb792a4ab6815657beccddee1d641faa2fd02e5aa7393f717a2f3a'), ('openpilot', 'system/camerad/cameras/camera_qcom2.cc', 'b34c24c9984a0ac086f7b961cb7ff09d0501231da50aaad0e676bb3dc3f2edd9'), ('openpilot', 'system/camerad/cameras/camera_common.cc', 'bd9a416a6ee21047b4deec6df04276d8717cd92fe14de43f3e9daff86b62bb8f'), - ('openpilot', 'selfdrive/modeld/modeld.py', '1b8d96ca9f7ac267d180732a6646b128bcbaec9ac79f80814030ec84197fd9d5'), + ('openpilot', 'selfdrive/modeld/modeld.py', '58dc00dcfc6a497469ce71698f71650abcc5c995b299d560b576d291422eed3b'), ('openpilot', 'starpilot/car/volkswagen/model_smoothing.py', 'dd5d0ddaf77fe05960b673557b1b9f649d303ddfdad77a5185c7b3156fc6bbd2'), ('openpilot', 'starpilot/car/hyundai/model_smoothing.py', '28b1b8c64dd2d8e83f1bc71d39de7f797741d0911b39b7184a6e2d7d34d75243'), ('openpilot', 'selfdrive/modeld/fill_model_msg.py', 'b3916c34d1073d0c26a7a8adc51e7b148f63a1ac68b388226170fd0f8b8b56b4'), diff --git a/openpilot/starpilot/flm/tests/fixtures/recorded_turn_forecasts.json b/openpilot/starpilot/flm/tests/fixtures/recorded_turn_forecasts.json new file mode 100644 index 0000000000..ea4aa14cba --- /dev/null +++ b/openpilot/starpilot/flm/tests/fixtures/recorded_turn_forecasts.json @@ -0,0 +1 @@ +{"source_sha256":"8a6d6067a6e0d4596fa8fcbbf4cf564d811d04b3844f6b5500f1ee0cacae2d1e","recorded_revision":"a214a2916358ce5e76950512ccda18fe4daa571a","segment":66,"note":"Original recorded forecast and vehicle inputs. Test provides explicit fresh receipt/clock fixtures; original receive timing is not reconstructed.","rows":[{"dt_ns":3398754,"car":{"vEgo":13.074505805969238,"aEgo":-0.7467555403709412,"leftBlinker":false,"rightBlinker":false,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.08706913888454437,0.001618735259398818,0.8421230912208557,1.05578501461423e-05,0.0018191479612141848,0.012521346099674702,0.05483773723244667,2.671498862127919e-07,0.09248790144920349,0.002504465403035283,0.8028364777565002,2.5435869247303344e-05,0.004689826164394617,0.0196280088275671,0.07782749086618423,3.770969385641365e-07,0.10294263809919357,0.0032657734118402004,0.7620718479156494,5.827319546369836e-05,0.005455532111227512,0.025742733851075172,0.10046295076608658,3.3399871313122276e-07,0.1054549366235733,0.003641322022303939,0.7602155208587646,6.874671089462936e-05,0.006225911900401115,0.026231897994875908,0.09816139191389084,2.2370848284936073e-07],"lane_change_state":"off"},{"dt_ns":51255628,"car":{"vEgo":13.035083770751953,"aEgo":-0.7668455243110657,"leftBlinker":false,"rightBlinker":false,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.11044931411743164,0.003031198401004076,0.8500630855560303,2.546465657360386e-05,0.0020115619990974665,0.009262317791581154,0.025156835094094276,2.7356426812730206e-07,0.11119040101766586,0.004484702832996845,0.8345648646354675,4.963857281836681e-05,0.0039052441716194153,0.012763234786689281,0.03304155170917511,3.409934095088829e-07,0.12004214525222778,0.005747595801949501,0.8119537234306335,9.77385716396384e-05,0.0041107842698693275,0.0158071368932724,0.04224059358239174,2.943391450571653e-07,0.12452193349599838,0.006354882847517729,0.8039671182632446,0.00011604150495259091,0.004636895842850208,0.01631123572587967,0.044091664254665375,2.108871797190659e-07],"lane_change_state":"off"},{"dt_ns":103045388,"car":{"vEgo":12.982171058654785,"aEgo":-0.758842945098877,"leftBlinker":false,"rightBlinker":false,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.13001812994480133,0.0030423670541495085,0.8230878710746765,3.167659087921493e-05,0.0023314727004617453,0.0132597079500556,0.028228476643562317,3.471558898127114e-07,0.12778876721858978,0.004420710261911154,0.808583676815033,5.765524474554695e-05,0.004529894329607487,0.017772838473320007,0.03684605658054352,4.223288101457001e-07,0.13704442977905273,0.00564537150785327,0.78318190574646,0.00010919958003796637,0.005232370458543301,0.02163776382803917,0.04714854061603546,3.6742187603522325e-07,0.14700941741466522,0.006257378030568361,0.7672559022903442,0.00013822120672557503,0.006524184253066778,0.022540953010320663,0.05027371644973755,2.767467606190621e-07],"lane_change_state":"off"},{"dt_ns":151695462,"car":{"vEgo":12.956438064575195,"aEgo":-0.7823941111564636,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.14399610459804535,0.0018468290800228715,0.7772950530052185,3.228439891245216e-05,0.003104032250121236,0.01965775340795517,0.054067619144916534,4.116242848795082e-07,0.1445188969373703,0.002679640892893076,0.747387707233429,6.28245688858442e-05,0.006948428228497505,0.027039706707000732,0.07136227190494537,5.040000132794376e-07,0.1507185399532318,0.0033021981362253428,0.7212076187133789,0.00012578669702634215,0.007537933997809887,0.03121154196560383,0.08589591830968857,4.287647072942491e-07,0.15581217408180237,0.0035524459090083838,0.7173025608062744,0.00014762976206839085,0.008999636396765709,0.030394520610570908,0.08379078656435013,3.103942844973062e-07],"lane_change_state":"off"},{"dt_ns":203729422,"car":{"vEgo":12.90039348602295,"aEgo":-0.8589110970497131,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.11420727521181107,0.0018102733884006739,0.8329049348831177,2.416104507574346e-05,0.0036391171161085367,0.010978790931403637,0.03643515333533287,3.7097188965162786e-07,0.1149366945028305,0.0026387323159724474,0.8103874921798706,5.637149661197327e-05,0.008177746087312698,0.015237663872539997,0.048564717173576355,4.94087998959003e-07,0.125924751162529,0.0034008307848125696,0.7813695073127747,0.00010704118176363409,0.009179690852761269,0.018776224926114082,0.06124156713485718,4.1454109123151284e-07,0.1353694498538971,0.003868239000439644,0.769148588180542,0.00014240991731639951,0.010028498247265816,0.01931806094944477,0.06212446093559265,3.131616779228352e-07],"lane_change_state":"preLaneChange"},{"dt_ns":252641637,"car":{"vEgo":12.864348411560059,"aEgo":-0.8763702511787415,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.11112934350967407,0.0013723386218771338,0.8208386898040771,1.6238824173342437e-05,0.0032898709177970886,0.014979529194533825,0.04837360978126526,3.7009277775723604e-07,0.11168589442968369,0.0019447735976427794,0.7942485809326172,3.904109325958416e-05,0.007009292021393776,0.02034684829413891,0.0647251307964325,4.871073997492203e-07,0.12048284709453583,0.0024434071965515614,0.7662124633789062,7.175466453190893e-05,0.00736248167231679,0.02380603365600109,0.07962056249380112,3.9672136153967585e-07,0.13052070140838623,0.0029067406430840492,0.7552695870399475,9.76076116785407e-05,0.008114641532301903,0.023957140743732452,0.07913327217102051,3.051759449590463e-07],"lane_change_state":"preLaneChange"},{"dt_ns":303207015,"car":{"vEgo":12.825695991516113,"aEgo":-0.8314024209976196,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.12022392451763153,0.004121023695915937,0.8344688415527344,2.739852607192006e-05,0.0027433147188276052,0.015108815394341946,0.023306356742978096,3.907180143869482e-07,0.12051219493150711,0.005465234164148569,0.8205814361572266,5.401772796176374e-05,0.004709949251264334,0.01833469048142433,0.030342020094394684,4.69789711132762e-07,0.1385597437620163,0.006833148188889027,0.7895673513412476,9.95996524579823e-05,0.004804557655006647,0.021185999736189842,0.03894925117492676,3.9097221815609373e-07,0.1569688767194748,0.008147699758410454,0.7675970792770386,0.00014080028631724417,0.005245060659945011,0.021282393485307693,0.04061771556735039,3.044337120172713e-07],"lane_change_state":"preLaneChange"},{"dt_ns":351296091,"car":{"vEgo":12.778814315795898,"aEgo":-0.8711778521537781,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.09607820957899094,0.002208386082202196,0.8360398411750793,1.787983455869835e-05,0.0023037868086248636,0.021491503342986107,0.04186001420021057,4.299264162455074e-07,0.10124486684799194,0.0030819012317806482,0.8055522441864014,4.625583460438065e-05,0.00499797984957695,0.028262605890631676,0.05681345611810684,5.547207138079102e-07,0.12076855450868607,0.0037544292863458395,0.7656344771385193,9.854444215307012e-05,0.004659020341932774,0.03280407190322876,0.07228044420480728,4.5729797193416744e-07,0.14023824036121368,0.004373196512460709,0.7483409643173218,0.00013987330021336675,0.005284769926220179,0.03190344572067261,0.06971907615661621,3.5426333511168195e-07],"lane_change_state":"preLaneChange"},{"dt_ns":402895375,"car":{"vEgo":12.722679138183594,"aEgo":-0.9679310321807861,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.11635574698448181,0.003544093342497945,0.8557004928588867,3.2327210647054017e-05,0.0018375696381554008,0.008251847699284554,0.014277615584433079,3.4452654062988586e-07,0.11984086781740189,0.004668788053095341,0.8435994386672974,6.3481398683507e-05,0.0031894163694232702,0.01008810754865408,0.018549500033259392,4.1024250663213024e-07,0.14077240228652954,0.005905533209443092,0.8137792348861694,0.00010213727364316583,0.0033257377799600363,0.012081763707101345,0.02403281442821026,3.463693474259344e-07,0.15802837908267975,0.007195050362497568,0.7921060919761658,0.00014078863023314625,0.00417720340192318,0.01271557342261076,0.02563655748963356,2.7804765068140114e-07],"lane_change_state":"preLaneChange"},{"dt_ns":452289989,"car":{"vEgo":12.669289588928223,"aEgo":-1.0103297233581543,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.09443593770265579,0.00240463949739933,0.8741850256919861,1.9566328774089925e-05,0.0012509056832641363,0.009176787920296192,0.018526777625083923,3.1796648158888274e-07,0.0965145081281662,0.0034308640751987696,0.8603035807609558,4.691805588663556e-05,0.0029809740372002125,0.011972928419709206,0.02474980801343918,4.35950624932957e-07,0.11384322494268417,0.004491358529776335,0.8318902254104614,8.572982915211469e-05,0.0031649635639041662,0.01448780670762062,0.03203645721077919,3.667498731374508e-07,0.12729068100452423,0.0054506273008883,0.8158164620399475,0.00011922130943275988,0.003744355868548155,0.014842413365840912,0.03273602947592735,2.866765669296001e-07],"lane_change_state":"preLaneChange"},{"dt_ns":502113227,"car":{"vEgo":12.591654777526855,"aEgo":-1.1379456520080566,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.1182313859462738,0.0028837446589022875,0.8505299687385559,3.088901939918287e-05,0.0015506917843595147,0.009051029570400715,0.017721926793456078,3.745089145468228e-07,0.11880247294902802,0.003989215008914471,0.8396062254905701,6.51767841191031e-05,0.003277762094512582,0.011142275296151638,0.023116402328014374,4.819539185518806e-07,0.1381177455186844,0.00518921809270978,0.810716450214386,0.00010733611270552501,0.003282254096120596,0.012985690496861935,0.02960086241364479,3.9753922465024516e-07,0.15529745817184448,0.0063448697328567505,0.7902315258979797,0.00015570547839161009,0.0036942139267921448,0.01334821805357933,0.030927617102861404,3.1793658195056196e-07],"lane_change_state":"preLaneChange"},{"dt_ns":553136386,"car":{"vEgo":12.534310340881348,"aEgo":-1.238755226135254,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.14074400067329407,0.0030225457157939672,0.803638219833374,3.087478762608953e-05,0.002308191265910864,0.01693858951330185,0.033316999673843384,5.900724318053108e-07,0.15117692947387695,0.0042542279697954655,0.7720478773117065,9.188758849631995e-05,0.004887379240244627,0.022106729447841644,0.04543418437242508,7.71461884596647e-07,0.1810843050479889,0.005246136803179979,0.7239668965339661,0.00017443748947698623,0.00485906982794404,0.026484524831175804,0.0581839419901371,6.567878472196753e-07,0.2077982872724533,0.0063171046786010265,0.694826602935791,0.0002947538741864264,0.005732105579227209,0.02753680758178234,0.05749376118183136,5.233877686805499e-07],"lane_change_state":"preLaneChange"},{"dt_ns":601590821,"car":{"vEgo":12.468347549438477,"aEgo":-1.265845537185669,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.11093884706497192,0.0017891951138153672,0.830344021320343,1.4039635971130338e-05,0.001985518028959632,0.017174292355775833,0.03775358572602272,4.4824676592725154e-07,0.11955671012401581,0.002426101826131344,0.8030059337615967,4.0952199924504384e-05,0.0034804639872163534,0.021691061556339264,0.04979826882481575,5.688963824468374e-07,0.14192019402980804,0.0029590087942779064,0.7665999531745911,8.072635682765394e-05,0.003127165138721466,0.024830736219882965,0.060481857508420944,4.7279857540161174e-07,0.17309799790382385,0.0037493999116122723,0.733612596988678,0.0001356699358439073,0.0035116970539093018,0.026446877047419548,0.05944539234042168,3.987695720297779e-07],"lane_change_state":"preLaneChange"},{"dt_ns":653686586,"car":{"vEgo":12.419506072998047,"aEgo":-1.147125244140625,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.09042694419622421,0.0024480714928358793,0.8772986531257629,1.71890678757336e-05,0.001618477632291615,0.009587064385414124,0.01860329695045948,3.605363474434853e-07,0.09883254766464233,0.0033400915563106537,0.8576175570487976,4.85180426039733e-05,0.0029227787163108587,0.012191969901323318,0.025046035647392273,4.533493438430014e-07,0.12242196500301361,0.004131860565394163,0.8236801028251648,9.615121234674007e-05,0.002654036972671747,0.01438573095947504,0.03262971714138985,3.915829722700437e-07,0.1527789980173111,0.005050268489867449,0.7896773815155029,0.0001566411810927093,0.00287829153239727,0.015509533695876598,0.03394860774278641,3.192903932358604e-07],"lane_change_state":"preLaneChange"},{"dt_ns":702408450,"car":{"vEgo":12.333218574523926,"aEgo":-1.2815543413162231,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.08568540215492249,0.0013107802951708436,0.8819041848182678,7.184062269516289e-06,0.0014342284994199872,0.009248226881027222,0.02040982060134411,2.4210811488956097e-07,0.09555952250957489,0.0018909899517893791,0.8579979538917542,2.6533591153565794e-05,0.0028983827214688063,0.012399823404848576,0.029226569458842278,3.20254343932902e-07,0.11784455180168152,0.002379292855039239,0.8244016766548157,5.193290417082608e-05,0.002503926632925868,0.014602511189877987,0.038215868175029755,2.8263070817047264e-07,0.1467834860086441,0.0029027932323515415,0.7923045754432678,8.062348933890462e-05,0.0024258126504719257,0.015569779090583324,0.039932720363140106,2.1730164689870435e-07],"lane_change_state":"preLaneChange"},{"dt_ns":753626838,"car":{"vEgo":12.279440879821777,"aEgo":-1.3035352230072021,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.07294107973575592,0.0010945674730464816,0.8840802907943726,4.69789165435941e-06,0.0016965680988505483,0.011162463575601578,0.02902010641992092,2.311587365966261e-07,0.08149589598178864,0.0016237074742093682,0.8519818186759949,2.171742198697757e-05,0.004134844522923231,0.016170047223567963,0.0445716418325901,3.3124209153356787e-07,0.09535684436559677,0.002071103546768427,0.8223378658294678,3.883804311044514e-05,0.003970514051616192,0.018972311168909073,0.05725222826004028,2.934320093572751e-07,0.11376862972974777,0.0024875812232494354,0.8024511337280273,5.510354822035879e-05,0.003363576252013445,0.0195649154484272,0.0583089180290699,2.1638639680077176e-07],"lane_change_state":"preLaneChange"},{"dt_ns":802054830,"car":{"vEgo":12.216962814331055,"aEgo":-1.2808446884155273,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.0980319157242775,0.0015304327243939042,0.8210568428039551,1.2599482033692766e-05,0.0029456596821546555,0.019723867997527122,0.056698236614465714,4.1160780028803856e-07,0.10260260850191116,0.002087104134261608,0.7812416553497314,4.515497857937589e-05,0.00644025718793273,0.02555992640554905,0.08202280104160309,5.23949267972057e-07,0.11638575792312622,0.0024648464750498533,0.7432265877723694,9.341371332993731e-05,0.005389568395912647,0.027496598660945892,0.10494284331798553,4.4965693746235047e-07,0.13598456978797913,0.0027860738337039948,0.7264343500137329,0.00014551682397723198,0.004683279898017645,0.026290908455848694,0.1036749854683876,3.305478628590208e-07],"lane_change_state":"preLaneChange"},{"dt_ns":853762443,"car":{"vEgo":12.122748374938965,"aEgo":-1.4084150791168213,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.06485040485858917,0.0027637621387839317,0.9016494154930115,2.0409977878443897e-05,0.0023073935881257057,0.008568049408495426,0.019840287044644356,2.965892349493515e-07,0.06857316195964813,0.0037537184543907642,0.8840285539627075,5.895411595702171e-05,0.004093528725206852,0.011285964399576187,0.028205793350934982,3.6473198861131095e-07,0.07925821095705032,0.004468838684260845,0.8643751740455627,8.109689224511385e-05,0.0034339996054768562,0.012610457837581635,0.03577199950814247,2.907324017087376e-07,0.09827332198619843,0.00508733419701457,0.8434602618217468,0.0001159068924607709,0.0026261983439326286,0.012844855897128582,0.03759189695119858,2.252009636549701e-07],"lane_change_state":"preLaneChange"},{"dt_ns":901941285,"car":{"vEgo":12.045184135437012,"aEgo":-1.44953191280365,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.16443204879760742,0.012773669324815273,0.7996597290039062,8.595359395258129e-05,0.0034008976072072983,0.00832394789904356,0.011323192156851292,5.290777949085168e-07,0.16959881782531738,0.016712073236703873,0.7847307920455933,0.0001660557318245992,0.004090732894837856,0.009681064635515213,0.015019859187304974,5.907452873543662e-07,0.19068053364753723,0.02042466215789318,0.7546276450157166,0.00022409191296901554,0.003647675970569253,0.010644061490893364,0.019750777631998062,4.903992021354497e-07,0.2112315446138382,0.02305869571864605,0.7296791076660156,0.0003584057849366218,0.003272671950981021,0.010763839818537235,0.021635403856635094,3.777421113682067e-07],"lane_change_state":"preLaneChange"},{"dt_ns":954644034,"car":{"vEgo":11.982274055480957,"aEgo":-1.4973294734954834,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.0671980157494545,0.004991605877876282,0.9035977125167847,1.918873385875486e-05,0.002387048676609993,0.006625697016716003,0.01518047321587801,3.1783935128260055e-07,0.06819562613964081,0.006496393121778965,0.8928223848342896,5.552760194404982e-05,0.003328294726088643,0.00834326446056366,0.020758137106895447,3.810969531059527e-07,0.0775204598903656,0.007582148537039757,0.8772778511047363,6.84897240716964e-05,0.0026720769237726927,0.009279288351535797,0.02559935301542282,2.9236190357551095e-07,0.0969860628247261,0.008875708095729351,0.8548230528831482,0.00010869487596210092,0.0017944604624062777,0.009818270802497864,0.027593474835157394,2.341884055567789e-07],"lane_change_state":"preLaneChange"},{"dt_ns":1003886962,"car":{"vEgo":11.890958786010742,"aEgo":-1.519067406654358,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.10203555226325989,0.005262261722236872,0.8535310626029968,3.3612199331400916e-05,0.004043427295982838,0.011333261616528034,0.023760486394166946,3.8468971297334065e-07,0.09971501678228378,0.007089571096003056,0.8417781591415405,0.00011123780132038519,0.006249847821891308,0.013491583056747913,0.03156408295035362,4.59023965504457e-07,0.1117696687579155,0.008499104529619217,0.82042396068573,0.00018694312893785536,0.004925137851387262,0.014639299362897873,0.03955548629164696,3.7083370330037724e-07,0.13690374791622162,0.00975479744374752,0.7912610769271851,0.0003205762477591634,0.00379792763851583,0.015204654075205326,0.042756885290145874,2.862187216123857e-07],"lane_change_state":"preLaneChange"},{"dt_ns":1054026766,"car":{"vEgo":11.827231407165527,"aEgo":-1.5450266599655151,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.16961932182312012,0.004109099507331848,0.782995343208313,2.4685830794624053e-05,0.005420699715614319,0.01093484740704298,0.026895612478256226,3.827665864264418e-07,0.16808491945266724,0.005549139808863401,0.7666479349136353,0.00011833219468826428,0.00989528838545084,0.013460338115692139,0.036243535578250885,4.780514473168296e-07,0.18032896518707275,0.0064560123719275,0.7459496259689331,0.00018309950246475637,0.009583490900695324,0.014566459693014622,0.04293195158243179,3.891047413162596e-07,0.21456217765808105,0.0072976285591721535,0.7108322381973267,0.0003041400632355362,0.0065268645994365215,0.015314936637878418,0.045161813497543335,2.797670788368123e-07],"lane_change_state":"preLaneChange"},{"dt_ns":1103159854,"car":{"vEgo":11.726186752319336,"aEgo":-1.587944746017456,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.17170287668704987,0.007181323599070311,0.766907274723053,3.4770084312185645e-05,0.006328955292701721,0.016568562015891075,0.031275805085897446,5.017450916966482e-07,0.16696040332317352,0.008483552373945713,0.759972095489502,0.00014025266864337027,0.007733948528766632,0.01787102408707142,0.03883812576532364,5.612169502455799e-07,0.18069612979888916,0.009660650976002216,0.7408915162086487,0.00019614984921645373,0.007016720250248909,0.01753770373761654,0.044000666588544846,4.3288864048918185e-07,0.23461662232875824,0.011722087860107422,0.6842013001441956,0.0003782141429837793,0.004267777316272259,0.018086856231093407,0.0467267781496048,3.4257737979714875e-07],"lane_change_state":"preLaneChange"},{"dt_ns":1154509258,"car":{"vEgo":11.65084171295166,"aEgo":-1.6878972053527832,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.15232086181640625,0.0076044355519115925,0.8003822565078735,2.714704896789044e-05,0.006508066318929195,0.009621711447834969,0.023535093292593956,3.892263578109123e-07,0.14322087168693542,0.009210987947881222,0.7987442016601562,0.00013738944835495204,0.008343365974724293,0.010701392777264118,0.02964129112660885,4.600710497015825e-07,0.15378108620643616,0.010441566817462444,0.7826736569404602,0.00018116873980034143,0.008105242624878883,0.011070621199905872,0.03374626114964485,3.5163523648407136e-07,0.20521652698516846,0.012829895131289959,0.7280403971672058,0.0003311916661914438,0.004316475708037615,0.012204695492982864,0.03706052154302597,2.635620433011354e-07],"lane_change_state":"preLaneChange"},{"dt_ns":1204623245,"car":{"vEgo":11.539080619812012,"aEgo":-1.7765432596206665,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.09920001029968262,0.003378412453457713,0.8499884009361267,1.1375830581528135e-05,0.0059630679897964,0.009045128710567951,0.0324132964015007,3.284859531049733e-07,0.0910814106464386,0.004030219744890928,0.84424889087677,7.047803228488192e-05,0.008609317243099213,0.010010679252445698,0.04194862022995949,4.189047047020722e-07,0.09847043454647064,0.004454351030290127,0.8307281136512756,0.00010852471314137802,0.008112629875540733,0.010082773864269257,0.048042796552181244,3.206885992312891e-07,0.14380629360675812,0.00557319400832057,0.7819063663482666,0.0002136621333193034,0.0035384725779294968,0.01124637946486473,0.05371541157364845,2.3812951610580058e-07],"lane_change_state":"preLaneChange"},{"dt_ns":1254593332,"car":{"vEgo":11.45781421661377,"aEgo":-1.8561044931411743,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.07481937855482101,0.004309649113565683,0.8741534352302551,9.134148058365099e-06,0.0044905049726367,0.01126150880008936,0.030956054106354713,2.886824859160697e-07,0.06947432458400726,0.005176663398742676,0.8644809722900391,5.532139402930625e-05,0.007069643586874008,0.012717672623693943,0.041025012731552124,3.781264297231246e-07,0.0767073780298233,0.005706485360860825,0.8506057262420654,8.01527567091398e-05,0.006824820302426815,0.012855912558734417,0.04721935838460922,2.811821104842238e-07,0.11564745008945465,0.007046755403280258,0.8077897429466248,0.00015455011453013867,0.0027881211135536432,0.014098142273724079,0.05247507616877556,2.0902979258607957e-07],"lane_change_state":"preLaneChange"},{"dt_ns":1303733931,"car":{"vEgo":11.341885566711426,"aEgo":-1.8891410827636719,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.08172480762004852,0.0028738859109580517,0.8440669178962708,4.9004888751369435e-06,0.004571055062115192,0.01394393015652895,0.052814122289419174,3.1490668561673374e-07,0.07837298512458801,0.0032997133675962687,0.8272379636764526,3.2440082577522844e-05,0.006064808927476406,0.015211624093353748,0.06978005170822144,4.0915560362009273e-07,0.08586238324642181,0.003424989990890026,0.8149468898773193,5.43766982445959e-05,0.005402538925409317,0.014376595616340637,0.07593194395303726,2.9750768248959503e-07,0.1460353434085846,0.004459025803953409,0.7483311295509338,0.00012153170246165246,0.0018633865984156728,0.01632566563785076,0.0828637182712555,2.3220668765588925e-07],"lane_change_state":"preLaneChange"},{"dt_ns":1355094550,"car":{"vEgo":11.259757995605469,"aEgo":-1.801949381828308,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.08126311749219894,0.0029405737295746803,0.8449028134346008,9.754255188454408e-06,0.004959495738148689,0.012645140290260315,0.05327872186899185,4.025286557407526e-07,0.07834978401660919,0.003472838317975402,0.8245424032211304,5.2208255510777235e-05,0.008435900323092937,0.013907412067055702,0.07123899459838867,5.176428317099635e-07,0.0869305282831192,0.0036707634571939707,0.8076624274253845,0.00010352319077355787,0.007341516669839621,0.013278532773256302,0.08101242035627365,4.060921412474272e-07,0.1439085155725479,0.004499976988881826,0.7444021105766296,0.0002289146214025095,0.002761750016361475,0.014852945692837238,0.08934533596038818,3.0874812750880665e-07],"lane_change_state":"preLaneChange"},{"dt_ns":1405037621,"car":{"vEgo":11.16907024383545,"aEgo":-1.802234172821045,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.07243397831916809,0.004913726821541786,0.850554883480072,1.3932517504144926e-05,0.0045933774672448635,0.013181958347558975,0.054307691752910614,4.664991024583287e-07,0.07389626652002335,0.005834165960550308,0.826299250125885,6.8370507506188e-05,0.006940024439245462,0.015529852360486984,0.07143145799636841,6.096013294154545e-07,0.08941327780485153,0.006550792139023542,0.7970762848854065,0.00011372393782949075,0.0074819279834628105,0.016770662739872932,0.08259285986423492,4.903820354229538e-07,0.15905137360095978,0.008485110476613045,0.7142444252967834,0.00029233581153675914,0.0030484802555292845,0.020918844267725945,0.09395905584096909,3.955695433432993e-07],"lane_change_state":"preLaneChange"},{"dt_ns":1455351990,"car":{"vEgo":11.06955337524414,"aEgo":-1.729290246963501,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.06308650970458984,0.006475816480815411,0.867363691329956,8.934975994634442e-06,0.0033280423376709223,0.0132210124284029,0.04651574417948723,2.831077097198431e-07,0.062361352145671844,0.007397275418043137,0.8540846109390259,4.001585693913512e-05,0.0047361706383526325,0.013654910027980804,0.05772531032562256,3.263660914853972e-07,0.07522078603506088,0.007844575680792332,0.8341796398162842,6.398829282261431e-05,0.005397879984229803,0.013596397824585438,0.06369653344154358,2.5932254743565863e-07,0.13552479445934296,0.009784388355910778,0.7635111212730408,0.0001756246929289773,0.002255657222121954,0.016238734126091003,0.07250944525003433,2.1550835072048358e-07],"lane_change_state":"preLaneChange"},{"dt_ns":1503547573,"car":{"vEgo":11.00153636932373,"aEgo":-1.7127059698104858,"leftBlinker":false,"rightBlinker":true,"steeringPressed":false,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.062419671565294266,0.009492319077253342,0.8627772331237793,1.2535872883745469e-05,0.0031495261937379837,0.014534630812704563,0.04761362820863724,3.6731654518007417e-07,0.0666205883026123,0.011011519469320774,0.843371570110321,4.1657844121800736e-05,0.004421709571033716,0.01549331471323967,0.05903923511505127,4.3908571001338714e-07,0.08431235700845718,0.012055705301463604,0.816490650177002,8.330042328452691e-05,0.004927109926939011,0.015419596806168556,0.0667109563946724,3.702314756992564e-07,0.1529950648546219,0.014642282389104366,0.7370196580886841,0.00023011893790680915,0.00210039340890944,0.017778417095541954,0.07523380219936371,2.958091158689058e-07],"lane_change_state":"preLaneChange"},{"dt_ns":1555060593,"car":{"vEgo":10.935107231140137,"aEgo":-1.6995205879211426,"leftBlinker":false,"rightBlinker":true,"steeringPressed":true,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.1120339035987854,0.026552420109510422,0.8042294979095459,9.747969306772575e-05,0.005308580119162798,0.01787516102194786,0.03390225023031235,6.622416321988567e-07,0.11379778385162354,0.030925791710615158,0.7960306406021118,0.0001644674630369991,0.005364627577364445,0.016957733780145645,0.03675834834575653,6.4083371853485e-07,0.13040491938591003,0.0343560166656971,0.7752206325531006,0.0002785226097330451,0.005359021946787834,0.015606860630214214,0.0387735515832901,5.441207804324222e-07,0.19175608456134796,0.03877326473593712,0.7085851430892944,0.0006498913862742484,0.003099611261859536,0.015760885551571846,0.041374728083610535,3.9900237425172236e-07],"lane_change_state":"preLaneChange"},{"dt_ns":1605022127,"car":{"vEgo":10.815242767333984,"aEgo":-1.8325012922286987,"leftBlinker":false,"rightBlinker":true,"steeringPressed":true,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.05257171764969826,0.00410038884729147,0.8519607782363892,1.3875802324037068e-05,0.004205149598419666,0.01685124821960926,0.07029646635055542,3.116638254141435e-07,0.05959504842758179,0.00471704313531518,0.8301525712013245,4.773684122483246e-05,0.003775322576984763,0.018144410103559494,0.08356761187314987,3.245753248393157e-07,0.07521109282970428,0.004828894976526499,0.8170623779296875,0.000103511665656697,0.003807920264080167,0.016509324312210083,0.08247657120227814,2.902562243889406e-07,0.15819035470485687,0.00613086624071002,0.72514808177948,0.00027604648494161665,0.0014002175303176045,0.019062673673033714,0.08979161083698273,2.3347520539118705e-07],"lane_change_state":"laneChangeStarting"},{"dt_ns":1653209366,"car":{"vEgo":10.740193367004395,"aEgo":-1.8511160612106323,"leftBlinker":false,"rightBlinker":true,"steeringPressed":true,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.06531409919261932,0.003371961647644639,0.8224600553512573,1.1963440556428395e-05,0.004739179275929928,0.016204379498958588,0.08789806813001633,3.6618075682781637e-07,0.07484566420316696,0.003954256884753704,0.7901315093040466,4.4485004764283076e-05,0.00564820971339941,0.017951300367712975,0.10742415487766266,4.2893890395134804e-07,0.09523138403892517,0.004152312409132719,0.7689922451972961,0.00012472776870708913,0.005769663956016302,0.016290202736854553,0.10943909734487534,4.034950507048052e-07,0.19163836538791656,0.005311246495693922,0.6664684414863586,0.0003445296606514603,0.0018979760352522135,0.018113603815436363,0.11622555553913116,3.2117782211571466e-07],"lane_change_state":"laneChangeStarting"},{"dt_ns":1703466528,"car":{"vEgo":10.62860107421875,"aEgo":-1.8485615253448486,"leftBlinker":false,"rightBlinker":true,"steeringPressed":true,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.045183081179857254,0.0019583855755627155,0.8052950501441956,1.4064704373595305e-05,0.0033800697419792414,0.01384242158383131,0.13032646477222443,3.6354265375848627e-07,0.0529005192220211,0.002284610876813531,0.7835744619369507,4.176425500190817e-05,0.003508675377815962,0.014941158704459667,0.14274846017360687,3.840475528704701e-07,0.07595191150903702,0.0024573886767029762,0.7709804177284241,0.00013262756692711264,0.004036032594740391,0.014179816469550133,0.13226138055324554,3.9270301499527704e-07,0.20255975425243378,0.003394469153136015,0.6359311938285828,0.0003984074282925576,0.0012450559297576547,0.017961107194423676,0.13850967586040497,3.4899892398243537e-07],"lane_change_state":"laneChangeStarting"},{"dt_ns":1753487141,"car":{"vEgo":10.55451488494873,"aEgo":-1.849343180656433,"leftBlinker":false,"rightBlinker":true,"steeringPressed":true,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.04127528518438339,0.002442955272272229,0.7864994406700134,1.4585451026505325e-05,0.0029076288919895887,0.015222134999930859,0.15163756906986237,3.5290648270347447e-07,0.047700632363557816,0.0031844296026974916,0.7768028974533081,3.417822881601751e-05,0.0031954345759004354,0.01646365597844124,0.1526184380054474,3.4725661635093275e-07,0.06825262308120728,0.0037304109428077936,0.7764388918876648,0.00012967163638677448,0.003760685445740819,0.015421459451317787,0.13226591050624847,3.7052578250040824e-07,0.18326470255851746,0.005413919687271118,0.6577878594398499,0.0003760842664632946,0.0012323933187872171,0.019476983696222305,0.132447749376297,3.465838176452962e-07],"lane_change_state":"laneChangeStarting"},{"dt_ns":1804995012,"car":{"vEgo":10.459464073181152,"aEgo":-1.8817192316055298,"leftBlinker":false,"rightBlinker":true,"steeringPressed":true,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.029408128932118416,0.0019172931788489223,0.8672482371330261,6.980956186453113e-06,0.001906149322167039,0.01228127721697092,0.08723150938749313,2.553223339418764e-07,0.03405963256955147,0.002317874925211072,0.8568719625473022,2.2332340449793264e-05,0.0020076578948646784,0.012869932688772678,0.09185027331113815,2.5076212750718696e-07,0.05447300150990486,0.0026837263721972704,0.8423618078231812,0.00010917397594312206,0.002161850221455097,0.012305845506489277,0.08590424805879593,2.81825037973249e-07,0.21641072630882263,0.004438831936568022,0.655953049659729,0.00035987296723760664,0.0005631140084005892,0.018619973212480545,0.10365411639213562,3.2477316835866077e-07],"lane_change_state":"laneChangeStarting"},{"dt_ns":1853769794,"car":{"vEgo":10.347758293151855,"aEgo":-1.8775421380996704,"leftBlinker":false,"rightBlinker":true,"steeringPressed":true,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.028867105022072792,0.002904232358559966,0.8450528979301453,1.0116036719409749e-05,0.0024707596749067307,0.017819484695792198,0.10287510603666306,3.0925031069273246e-07,0.033810243010520935,0.003522144863381982,0.8323273062705994,2.64262253040215e-05,0.002878040075302124,0.019172392785549164,0.10826323181390762,2.9332650797186943e-07,0.054754287004470825,0.004190467298030853,0.8181043267250061,0.00014098925748839974,0.002970373025164008,0.018636813387274742,0.10120230913162231,3.5056768865615595e-07,0.21735022962093353,0.006535049062222242,0.6266564130783081,0.00047994128544814885,0.0008659663726575673,0.027810798957943916,0.12030116468667984,3.9510621263616486e-07],"lane_change_state":"laneChangeStarting"},{"dt_ns":1903707795,"car":{"vEgo":10.279053688049316,"aEgo":-1.8277451992034912,"leftBlinker":false,"rightBlinker":true,"steeringPressed":true,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.025480082258582115,0.0027532768435776234,0.8853290677070618,7.600253411510494e-06,0.0020325896330177784,0.009940119460225105,0.07445704191923141,2.216063563764692e-07,0.03125835582613945,0.0032687268685549498,0.8724730610847473,2.1976858988637105e-05,0.0020549707114696503,0.011417489498853683,0.07950524985790253,2.2026942758657242e-07,0.054156750440597534,0.0038688371423631907,0.8523671627044678,0.00011154024832649156,0.0018515799893066287,0.011802668683230877,0.07584121823310852,2.5850357587842154e-07,0.2256799191236496,0.006113981828093529,0.6565707325935364,0.0003603109798859805,0.0005045143770985305,0.0187786053866148,0.09199167042970657,2.990912264522194e-07],"lane_change_state":"laneChangeStarting"},{"dt_ns":1953740195,"car":{"vEgo":10.176573753356934,"aEgo":-1.7796247005462646,"leftBlinker":false,"rightBlinker":true,"steeringPressed":true,"canValid":true,"canTimeout":false,"standstill":false,"steerFaultTemporary":false,"steerFaultPermanent":false,"leftBlindspot":false,"rightBlindspot":false,"gearShifter":"drive"},"lat_active":true,"started":true,"plan_stop":false,"model_stop":false,"model_valid":true,"prediction":[0.02370450831949711,0.0027148474473506212,0.8710525631904602,1.725587935652584e-05,0.0015068231150507927,0.015086937695741653,0.08591680973768234,2.3958580186445033e-07,0.03117271326482296,0.0031957116443663836,0.8546819686889648,3.461668165982701e-05,0.0012708826689049602,0.018014265224337578,0.09162963181734085,2.3277048910586018e-07,0.05583057180047035,0.0039048942271620035,0.8306280970573425,0.0001595626526977867,0.0009627292747609317,0.019163452088832855,0.08935051411390305,2.789580264561664e-07,0.23765067756175995,0.00631595216691494,0.6147732734680176,0.0004887592513114214,0.00036015757359564304,0.031074414029717445,0.10933642834424973,3.2811516348374425e-07],"lane_change_state":"laneChangeStarting"}]} diff --git a/openpilot/starpilot/flm/tests/test_observed_maneuvers.py b/openpilot/starpilot/flm/tests/test_observed_maneuvers.py index 1621fd40b5..97428966c3 100644 --- a/openpilot/starpilot/flm/tests/test_observed_maneuvers.py +++ b/openpilot/starpilot/flm/tests/test_observed_maneuvers.py @@ -214,6 +214,42 @@ def test_recorded_highway_wobble_is_found_at_the_bookmark_without_new_applicatio observation = recorded_observation('center_chatter', 'center', events[0]['peakScore'], 35.) assert not coordinate_candidates([('same-source-window', observation)] * 20, values()) assert coordinate_candidates([(str(i), observation) for i in range(3)], values()) + assert not oscillation_events([replace(s, actual_la=s.desired_la, error=0.) for s in samples]) + + +def test_recorded_turn_forecasts_use_the_existing_turn_repair_with_fresh_sources(): + import json + from pathlib import Path + from openpilot.cereal import log + from openpilot.starpilot.lateral.lane_change_smoothing import LaneChangeSmoother + from openpilot.starpilot.lateral.signal_turn import SignalTurnEvidence + from openpilot.starpilot.lateral.tests.test_signal_turn import BASE, OFFSET, frame + + fixture = json.loads((Path(__file__).parent / 'fixtures/recorded_turn_forecasts.json').read_text()) + assert fixture['source_sha256'] == '8a6d6067a6e0d4596fa8fcbbf4cf564d811d04b3844f6b5500f1ee0cacae2d1e' + owner, smoother = SignalTurnEvidence(), LaneChangeSmoother() + confirmed_before_lane_change = False + for row in fixture['rows']: + # Original numerical inputs; explicitly declared fresh receiver clocks, not a historical authority reconstruction. + sm, _, model = frame(0, 1) + now = BASE + row['dt_ns'] + sm.logMonoTime, sm.recv_time = dict.fromkeys(sm, now), dict.fromkeys(sm, now / 1e9) + for name, value in row['car'].items(): + setattr(sm['carState'], name, value) + sm['carControl'].latActive, sm['deviceState'].started = row['lat_active'], row['started'] + sm['longitudinalPlan'].modelMonoTime, sm['longitudinalPlan'].shouldStop = now, row['plan_stop'] + model.timestampEof, model.action.shouldStop = now + OFFSET, row['model_stop'] + model.meta.desirePrediction, model.meta.laneChangeState = row['prediction'], row['lane_change_state'] + ready = owner.observe(sm, model, model_ns=now, now_ns=now, now_boot_ns=now + OFFSET, valid=row['model_valid'], enabled=True) + state = model.meta.laneChangeState + if ready and state in (log.LaneChangeState.off, log.LaneChangeState.preLaneChange): + confirmed_before_lane_change = True + if state == log.LaneChangeState.laneChangeStarting: + assert confirmed_before_lane_change and ready + factor = smoother.factor(active=True, lane_change_state=state, speed=row['car']['vEgo'], minimum_speed=0., duration=5.777777777777778, + previous=.0015, desired=.015, turn_assist=True, intersection_turn=ready) + assert factor == 1., 'A confirmed intersection must not receive the extra lane-change slowing' + assert confirmed_before_lane_change @pytest.mark.parametrize('kind', ['follows_request', 'small_error', 'one_lane_change', 'steady_curve', 'wheel_only', diff --git a/prebuilt.json b/prebuilt.json index 5eafc91ee3..388022a603 100644 --- a/prebuilt.json +++ b/prebuilt.json @@ -1 +1 @@ -{"protected_inventory_sha256": "0dadda27fa662944e40101a71e35722d4c979753729e39371ecd8055cdc2abf9", "schema_version": 1} +{"protected_inventory_sha256": "2f1f836e750dcc3d47ea609ac84c62ac32f72e50769a45c3efa079cde46c6df1", "schema_version": 1}