-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CANParser: 2x faster parsing #1039
Conversation
11a908a
to
2de4dd4
Compare
4513952
to
d3c0e06
Compare
b8ca872
to
522b82d
Compare
Perhaps we refactor the C++ CAN Parser to structure the signals together?
This did not seem to make much of a difference for me on PC nor device.
This branch before my commits:
This branch w/ clean ups:
|
522b82d
to
28a9c47
Compare
b07e1c7
to
1030534
Compare
commit cff2af8ff8690466109f56be62129ebfb85cd5dc Author: eFini <ricklan@gmail.com> Date: Fri Jul 19 10:23:14 2024 +0800 clean/remove community (SDSU/Pedal/IPAS) dbc (#1063) remove community dbc import commit 5ba787024f53a00d76c7b253d1f3fee87763c679 Author: Uku Loskit <ukuloskit@gmail.com> Date: Wed Jul 10 00:56:39 2024 +0300 Convert tests to pytests (#1060) * Convert tests to pytests * cleanup * args * clean * linter --------- Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com> commit de39b143a31cd29b4df4c0cbba71316c1bc8e71b Author: Hoang Bui <47828508+bongbui321@users.noreply.github.com> Date: Fri Jul 5 14:46:35 2024 -0400 Sconscript: enable openpilot compilation for macOS (#1059) * working * fix that * remove that * use @loader_path instead * multiple lines commit 776bca184bc997b587afb20df71bc56a4890c4d8 Author: Dean Lee <deanlee3@gmail.com> Date: Sat Jun 8 10:47:41 2024 +0800 Initializes CRC lookup tables at module initialization (#1051) * Initializes CRC lookup tables at module initialization * space --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit c6d0f1684e8a627d86d92784b9ceea1fbf7f273b Author: Shane Smiskol <shane@smiskol.com> Date: Fri Jun 7 19:12:44 2024 -0700 CI: use pytest (#1053) * pytest * might need commit b4842fd3c5d9494ec7c9a412af6e88d5e85cda33 Author: Dean Lee <deanlee3@gmail.com> Date: Sat Jun 8 08:59:22 2024 +0800 build message lookup table in DBC (#942) * build message lookup table in dbc * constify it * no need to make this more dense * Return empty values and log an error for invalid addresses. log error for undefined signal add comment use LOGE * save one map lookup * only try what is to be traught * rename back * from merge * show addr --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 8c46e7b6037a654c3fb93dcbd35bcc3dc41e14a6 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Jun 7 17:39:20 2024 -0700 packer: log undefined address/signal as error (#1052) * LOGE * no - commit eb6af30e179a299a717ddbe8e6c4de4c3b0eadee Author: Shane Smiskol <shane@smiskol.com> Date: Fri Jun 7 16:50:00 2024 -0700 TODO commit 0ccfa9c077f7d72000c4c29794b40cb4d4515f36 Author: Dean Lee <deanlee3@gmail.com> Date: Sat Jun 8 07:48:37 2024 +0800 CANParser: fix can data size issue (#799) fix can data size issues Co-authored-by: Shane Smiskol <shane@smiskol.com> commit f58bc3392cfffd25b311e093aa72f0ef3a89f6e8 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Jun 5 23:08:15 2024 -0700 assert expected openpilot undefined message behavior (#1050) assert expected openpilot behavior commit dfaa27d31344fcf66a9656dffbaf5469c0674f0a Author: Dean Lee <deanlee3@gmail.com> Date: Wed Jun 5 03:02:23 2024 +0800 CANPacker: fix incorrect `counters` assignment (#1047) * fix counter * catch this issue in test case commit 5ef27b48664f5fcb7a40cf6f4a5a8d61a2ee44b0 Author: Dean Lee <deanlee3@gmail.com> Date: Wed Jun 5 02:31:42 2024 +0800 improve logging (#1048) commit 9a92d7a232e3abe54c501e01c960462dd04588ea Author: Cameron Clough <cameronjclough@gmail.com> Date: Sat May 18 05:04:06 2024 +0100 Ford: add alternate steering message address (#1026) * Ford: generate DBC For alt steering msg address - `ford_lincoln_base_pt` includes common messages - `ford_lincoln_pt_generated` has `SteeringPinion_Data` on `0x7E` - `ford_edge_pt_generated` has `SteeringPinion_Data` on `0x85` * Revert "Ford: generate DBC For alt steering msg address" This reverts commit ca1404cce2713ac0f14ed44acbdd05d071b40a0b. * Ford Edge alt steering message * ; commit 064fac2b59d37d9bcdcf9b69da5248420fbad73a Author: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Sat May 18 00:00:26 2024 -0400 VW MQB: Additional TSK support (#1028) commit d53c8f558cc4861ce6563498a3663ee9b57daf4b Author: Lukas <61192133+lukasloetkolben@users.noreply.github.com> Date: Thu May 16 20:11:10 2024 +0200 Tesla Model3 any door open? (#1044) * tesla model 3 dbc files * reduction to the most important signals * Model3 port wip * wip * wip model 3 * wip model 3 * Model 3 wip * wip model 3 * wip model 3 * wip model 3 * wip model 3 partybus * bump opendbc * tesla model 3 * tesla model 3 * tesla model 3 * try to use STW_ACTN_RQ * new dbc * dbc update * remove neutral gear bug * switch to party bus * added doorOpen * VCFRONT_status back to 50hz updated dbc * anyDoor open use different signal * added VCRIGHT_status * indentation * added Left & Right Seatbelt * found DriverSeat signal * found DAS_status on Party can * found "anyDoorOpen" signal --------- Co-authored-by: lukas <lukas.loetkolben@gmail.com> commit 91a9bb4824381c39b8a15b443d5b265ec550b62b Author: Dean Lee <deanlee3@gmail.com> Date: Tue May 14 16:07:37 2024 +0800 CANParser: 2x faster parsing (#1039) * update_string() Now 2x Faster * noneed for wraparound and boundscheck * cleanup code d * formatting * these have no effect * minor clean up --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit e2408cb2725671ad63e827e02f37e0f1739b68c6 Author: Lukas <61192133+lukasloetkolben@users.noreply.github.com> Date: Sun May 12 19:51:52 2024 +0200 Tesla Model3 DriverSeat Bucklestatus & BlindSpot (#1041) * tesla model 3 dbc files * reduction to the most important signals * Model3 port wip * wip * wip model 3 * wip model 3 * Model 3 wip * wip model 3 * wip model 3 * wip model 3 * wip model 3 partybus * bump opendbc * tesla model 3 * tesla model 3 * tesla model 3 * try to use STW_ACTN_RQ * new dbc * dbc update * remove neutral gear bug * switch to party bus * added doorOpen * VCFRONT_status back to 50hz updated dbc * anyDoor open use different signal * added VCRIGHT_status * indentation * added Left & Right Seatbelt * found DriverSeat signal * found DAS_status on Party can --------- Co-authored-by: lukas <lukas.loetkolben@gmail.com> commit 60f3396c9e39000cd2d09c045813d3cb321f4627 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed May 8 13:54:48 2024 -0700 run pre-commit autoupdate monthly commit d058bc9a9f156d55ee6e4b90ceb292d087267414 Author: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Tue Apr 30 16:56:01 2024 -0400 Chrysler: DBCs for Compact US Wide (#985) * initial check-in of Tunder's work * fix typo * align CRUISE_BUTTONS with other Chrysler * rename Chrysler CUSW DBCs * align LKAS_COMMAND with other Chrysler * corrections to LKAS command message * corrected length * LKAS_HUD -> DAS_6 * torque signal offset tweak to match width * there really is a control bit * size correction * Revert "VAG focusing on TCU (#947)" This reverts commit 951ab07fdcbce023a5c927f56bbf94e0f2322366. * Revert "Revert "VAG focusing on TCU (#947)"" This reverts commit 17513ce74b74f738eb9fc2e2aa224b0c037fc4f6. * fix message sizes, sort signals by offset * roll back accidental VW changes * Revert "roll back accidental VW changes" This reverts commit 01be54d2cca63759e230098e35a3cb8d9dcd3409. * ACC_2 doesn't seem valid * more garbage collection * add longitudinal control message * add main switch signal to long control msg * correct STEERING message size * ACC_1 -> ACC_HUD * remove private fusion bus notes * add HUD signals for distance/lead commit e0d4be4a6215d44809718dc84efe1b9f0299ad63 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Apr 28 14:04:59 2024 -0700 update to ubuntu 24.04 (#1037) * update to ubuntu 24.04 * Update .github/workflows/repo.yml * Update tests.yml * Update Dockerfile * bump cereal * no pyenv * python3 dev * vla * python commit 7c11cf1b701c382de55bd6df9970d241a974d0c1 Author: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Fri Apr 26 16:12:49 2024 -0400 VW MQB: Support for preempted HCA state (#1036) commit 83884c2b2022e4a16ae535d1ed72aca4711324b7 Author: Lukas <61192133+lukasloetkolben@users.noreply.github.com> Date: Mon Apr 8 01:28:19 2024 +0200 Tesla Model 3 (#1032) * tesla model 3 dbc files * reduction to the most important signals * Model3 port wip * wip * wip model 3 * wip model 3 * Model 3 wip * wip model 3 * wip model 3 * wip model 3 * wip model 3 partybus * bump opendbc * tesla model 3 * tesla model 3 * tesla model 3 * try to use STW_ACTN_RQ * new dbc * dbc update * remove neutral gear bug * switch to party bus * added doorOpen * VCFRONT_status back to 50hz updated dbc * anyDoor open use different signal * added VCRIGHT_status * indentation --------- Co-authored-by: lukas <lukas.loetkolben@gmail.com> commit 5c0494d3b5802680db4ee8ab65a66df9bd316a28 Author: Andrew Goodbody <andrew.goodbody@linaro.org> Date: Fri Apr 5 19:00:48 2024 +0100 Update from deprecated github action (#1031) Switch to the v4 checkout instead of v3 as that is now deprecated and gives a warning in the job status on github. https://github.com/marketplace/actions/checkout commit 5821bd94d0cb9017d274b4499f2a0525ac317dc2 Author: Shane Smiskol <shane@smiskol.com> Date: Sat Mar 30 22:08:45 2024 -0700 VW MQB: add adaptive cruise signal (#1029) add new adaptive cruise signal commit 3c926e88e87594e788ab96d32ecdd8f66cb01aed Author: Shane Smiskol <shane@smiskol.com> Date: Tue Mar 19 19:27:34 2024 -0500 Toyota: add SDSU state (#1024) * add state to sdsu message from new firmware, update link * generate commit b7c5a51002762fa26edfd79ec02c83bb44d9ecaf Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Mar 18 14:14:14 2024 -0700 run generator commit 440cd55ce059895a6f3254743aeed3080470bfd7 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Mar 18 14:10:13 2024 -0700 pre-commit: autoupdate hooks (#1017) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 4bc29500bc0fd85503cdf3df600e8fab74551509 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Mar 18 14:09:10 2024 -0700 comma.dbc -> community.dbc commit ff1f1ff335261c469635c57c81817afd04663eab Author: Robbe Derks <robbe.derks@gmail.com> Date: Wed Mar 6 21:12:58 2024 +0100 Tesla continental radar DBC (#955) * replace bosch radar with generator * add continental and cleanup commit 17d328c337c6751e215b7289596a0ec241d291e8 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Mar 6 02:20:22 2024 -0800 Toyota: add value labels for UI distance lines (#1018) * flipped from PCM_FOLLOW_DISTANCE * generate * add 0 commit 1745ab51825055cd18748013c4a5e3377319e390 Author: Jason Wen <haibin.wen3@gmail.com> Date: Thu Feb 29 02:18:03 2024 -0500 Hyundai CAN-FD: Lead Relative Speed (#979) * Hyundai CAN-FD: Lead Relative Speed * update unit and min/max * Update hyundai_canfd.dbc --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 5f096db742b0c5dcd19976afdb07d5dd098f4b07 Author: Justin Newberry <justin@comma.ai> Date: Wed Feb 28 14:18:08 2024 -0500 scons: export opendbc_python (#1015) export commit 0ac21652f2e643e29aa471ad6b238bf74b22e356 Author: Justin Newberry <justin@comma.ai> Date: Mon Feb 26 13:44:43 2024 -0500 honda: add missing semicolon (#1014) missing semicolon commit 5741bc0d1d785a21d2285eed1dfc99cc9e73d37f Author: Charles Morgan <sir3lit@gmail.com> Date: Sat Feb 24 04:34:11 2024 -0500 GM: Add sport mode status (#1009) * GM: Add sportmode * generate --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 67be8bf74769a62cc24e38d8a0b6534733fd2743 Author: Cameron Clough <cameronjclough@gmail.com> Date: Sat Feb 24 09:30:19 2024 +0000 Ford: add METRIC_UNITS signal (#1010) Route with rapidly toggling "show km/h" setting: `e886087f430e7fe7/2024-02-14--15-45-02` Route starting with mph (no changes): `e886087f430e7fe7/2024-02-14--15-36-40` Route starting with kph (no changes): `e886087f430e7fe7|2024-02-14--15-38-22` commit 0632d5f40f2157bdeb253cf19e55ae7ca4bf9a18 Author: Irene <12470297+cydia2020@users.noreply.github.com> Date: Sat Feb 24 20:29:54 2024 +1100 Toyota: LVSTP definition (#1002) * add lvstp def * generator Co-Authored-By: Eric Day <smartype@gmail.com> * Shane's suggestion Co-authored-by: Shane Smiskol <shane@smiskol.com> * run generator * yay caught bug --------- Co-authored-by: Eric Day <smartype@gmail.com> Co-authored-by: Shane Smiskol <shane@smiskol.com> commit b90acdfaadf5f2c1731c471040d5feca82e7e819 Author: Shane Smiskol <shane@smiskol.com> Date: Sat Feb 24 03:29:02 2024 -0600 bump cereal (#1012) * bump * fix test commit 6b7171e4f636bd35ec1f7fd2ea80520339f5f2b4 Author: vanillagorillaa <31773928+vanillagorillaa@users.noreply.github.com> Date: Sat Feb 24 01:18:23 2024 -0800 2023 Honda Pilot DBC (#999) * Honda Pilot 2023: init new DBC * generate new pilot DBC * dbc clean up * update pilot dbc lane line signal and remove can_fd dbc * unused commit 3653395366cbba9473047e036292f226d59d7b18 Author: Robbe Derks <robbe.derks@gmail.com> Date: Fri Feb 23 22:01:30 2024 +0100 DBC changes for Tesla Raven support (#994) add new signals commit e2cb86210de2e05c40a4112a2c80d150b776cb35 Author: Hoang Bui <47828508+bongbui321@users.noreply.github.com> Date: Fri Feb 23 01:47:05 2024 -0500 CI: enable docker cache pull (#1011) commit 8144297f55ff39f14903e946b67171bc6ef6fd79 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Feb 21 09:02:13 2024 -0800 pre-commit: autoupdate hooks (#997) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 951ab07fdcbce023a5c927f56bbf94e0f2322366 Author: rusefillc <48498823+rusefillc@users.noreply.github.com> Date: Fri Feb 9 19:08:34 2024 -0500 VAG focusing on TCU (#947) Co-authored-by: rusefillc <sdfsdfqsf2334234234> commit 3d1be8427a7e801e7da4e8506e5d5c2605de9176 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Feb 6 21:02:08 2024 -0600 CAN packer/parser: clean up after alloc (#1007) * Update packer_pyx.pyx * this new also needs to be cleaned up commit 7397e466d9cfd7f5bc1f49218b8d2afeedec582b Author: Eric Brown <eric@ebrown.net> Date: Wed Jan 31 19:36:15 2024 -0700 GM: Fix wheel direction signal (#1006) * Update wheel directions in DBC * Fix table * Update name * Update generator/gm/gm_global_a_powertrain.dbc * generate --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 3cfd0bf4eb73953f3d179dddc1ba2c92e317188c Author: garrettpall <76917194+garrettpall@users.noreply.github.com> Date: Tue Jan 23 05:24:19 2024 -0500 GM: Add BSM signal on powertrain bus (#993) * Add GM BSM * Apply suggestions from code review Co-authored-by: Shane Smiskol <shane@smiskol.com> * Update Generated * Add note * gen --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit f4b1061ae03994013809dc4a03ac571bfeda5714 Author: Greg Hogan <gregjhogan@gmail.com> Date: Sat Jan 20 21:54:48 2024 -0800 chrysler: more signals (#1001) * chrysler: more signals * make checksums and counters big endian * remove duplicate message * remove duplicate message commit 26551d2de2ee77909df6e9c48505d4579096ee4e Author: Greg Hogan <gregjhogan@gmail.com> Date: Fri Jan 19 17:10:41 2024 -0800 stellantis: new signals (#986) commit 40d9c723d48496229fecc436046538a53af19c11 Author: Justin Newberry <justin@comma.ai> Date: Fri Dec 29 19:14:18 2023 -0500 Subaru: cruise_rpm and cruise_throttle are 13 bits (#995) * fix cruise throttle * and es_status * generator commit 89042da0eedb5c2bd7a6e182b140366d76f4f35c Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Dec 26 18:30:40 2023 -0800 pre-commit: autoupdate hooks (#991) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 0cff7a8aa2df3be711cab4570bb422cd8661cb8b Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Dec 21 21:46:48 2023 -0800 pre-commit: autoupdate hooks (#989) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 93b983d49a2d6d5c67e15ce7650f55e4f121485d Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Dec 9 14:39:42 2023 -0800 pre-commit: autoupdate hooks (#984) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 5b0c73977f1428700d0344d52874a90a4c5168fb Author: Shane Smiskol <shane@smiskol.com> Date: Mon Dec 4 22:37:56 2023 -0600 Toyota: rename LTA torque wind down signal (#983) generate cmt test_angle_cmd_when_enabled commit ed3af3da1b7d52aed910f22cc5540e31f92ba254 Author: DevTekVE <devtekve@gmail.com> Date: Mon Dec 4 04:37:52 2023 +0100 hyundai_kia_generic: sign detection (#963) * Update hyundai_kia_generic.dbc Adding speed limit detection data from ioniq phev eur * Apply suggestions from code review --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit 17e5c58450d816a3e4e77a01bbe42d4b4acc8fd6 Author: Dean Lee <deanlee3@gmail.com> Date: Mon Dec 4 11:35:03 2023 +0800 honda_civic_touring_2016_can_generated.dbc: remove `CM_ SG_ 450` (#982) commit fc4ede7550aced6e8d6bdbbe5c170b39459aef6a Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Nov 28 14:21:51 2023 -0800 pre-commit: autoupdate hooks (#980) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 2b96bcc45669cdd14f9c652b07ef32d6403630f6 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Nov 21 19:23:30 2023 -0800 CANParser: process all signals before updating values (#977) * process all signals before ending early * this is more clear * this is more clear * Revert "this is more clear" This reverts commit 75511ec262c7a2c1b84a1e8cefe0d9f323a6834f. * test! * comment * it would return false if any checksum or counter was invalid, not updating last_seen_nanos, so don't change behavior * we can do this, but I don't like how it's reliant on last_seen_nanos (not explicit) to not break * back to sanity * cmt * rename commit 77b66853104ba1ee0d03f87c50cc419c8af7e1ef Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Nov 21 15:10:14 2023 -0800 pre-commit: autoupdate hooks (#978) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 098fbe1b0e1dfee3e656c61e00dc7c6ff5112cde Author: Shane Smiskol <shane@smiskol.com> Date: Fri Nov 17 23:53:13 2023 -0800 CANParser: clip `counter_fail` to the max (#976) * test * fix * clean up * test * fix * clean up * debug * Revert "debug" This reverts commit 3fc8cf5a2073d65cf1efa81515b420a29e8298a4. * recover * also can update at bottom since we don't break early * changes * Revert "changes" This reverts commit a3b6fb5f6b38bb2f7ebd46c730487552bde8c6cb. * don't need \n * cmt * no need to change print behavior here * fix fix revert * info needs \n commit ffa2ffdefe0fc0943c68f392c2964afde4c6f747 Author: Greg Hogan <gregjhogan@gmail.com> Date: Wed Nov 15 15:18:36 2023 -0800 stellantis: fix overlapping signal (#975) commit ac1e60f649fa68c9027099725a07ec782ed86f66 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Nov 14 15:03:11 2023 -0800 pre-commit: autoupdate hooks (#974) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit a552a7c62c030d74b48d3a2754d86b9438edb1ca Author: Greg Hogan <gregjhogan@gmail.com> Date: Mon Nov 13 21:25:55 2023 -0800 chrysler: update DAS messages (#973) * chrysler: update DAS messages * eliminate duplicate message * cleanup commit a7b8bcfebb3be0584be59826f8c344347b9e7f9b Author: Shane Smiskol <shane@smiskol.com> Date: Fri Nov 10 01:24:44 2023 -0800 CANParser: rename timestamp variables (#972) replace sec with nanos commit b8789b3e163c35038fc3a8c89b7abf72383dd6e8 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Nov 7 10:58:50 2023 -0800 pre-commit: autoupdate hooks (#970) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 562628092910903dab209bd6bfa4e16807f6b1bd Author: ServerDummy <63013446+ServerDummy@users.noreply.github.com> Date: Thu Nov 2 16:11:35 2023 -0500 Update gm_global_a_lowspeed.dbc to include BOLT EUV Blindspot indicator (#962) * Update gm_global_a_lowspeed.dbc to include BOLT EUV Blindspot indicator Add BSM radars from 2023 bolt EUV * Update gm_global_a_lowspeed.dbc rename a right to light * Update gm_global_a_lowspeed.dbc --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 3ff48ff4c0be4dc51c0188e18274f22cece42e51 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Oct 31 11:34:18 2023 -0700 pre-commit: autoupdate hooks (#967) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 1b38ec5cfb209c224c5c2614b4e7643d4924f333 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Oct 25 13:51:15 2023 -0700 CANParser: capture C++ DBC parser exceptions (#965) Update common.pxd commit 48a9ca467964778a5b6b5184a558b0d1662a50ef Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Oct 24 14:38:07 2023 -0700 pre-commit: autoupdate hooks (#964) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit e10a685115300d65f9437e5f10f018d17e50ed5c Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Oct 19 11:23:01 2023 -0700 pre-commit: autoupdate hooks (#960) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 647fb8a238bbb2794529dc3238d64dd9dcd99b0d Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Oct 3 11:34:26 2023 -0700 pre-commit: autoupdate hooks (#959) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 9decef55a7eae9e745ca71283741e8dea4b83c1e Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Sep 26 14:10:16 2023 -0700 pre-commit: autoupdate hooks (#958) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 23324b20e40929847cad71f5ed9c2301e876f769 Author: vanillagorillaa <31773928+vanillagorillaa@users.noreply.github.com> Date: Wed Sep 20 00:13:48 2023 -0700 Honda: new EPS faulted value (#874) * Honda: new EPS faulted value * fix test * fix commit 1826660b710cd5a6ec58d7b9ece1e152a062cb00 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Sep 19 16:06:55 2023 -0700 pre-commit: autoupdate hooks (#956) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 4ab347baefb7473771ada0723c969c50d0c28d01 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Sep 15 00:29:03 2023 -0700 GM: fix up ignition msgs and signals (#953) * fix up ignition msgs and signals * generate * update * flip * add bcm commit 0aedfe64fc7642ef8a0c25df87f525ad280f5cfa Author: Shane Smiskol <shane@smiskol.com> Date: Tue Sep 12 21:29:52 2023 -0700 GM: annotate source ECU for EBCM message (#954) annotate commit 2e91b21188439c43aad5e4f21bd56be82550abd4 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Sep 12 08:30:56 2023 -0700 pre-commit: autoupdate hooks (#952) Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 8d2f614ce3f323c65de802b2d5f29143de9c427b Author: Shane Smiskol <shane@smiskol.com> Date: Mon Sep 11 20:21:11 2023 -0700 Hyundai: add SCC info signal definitions (#949) * add defs for SCC11->SCCInfoDisplay * fix def * add lost lead * 0!=1 * cmt commit f218ad0fe4b704aadec15e1b1866dc21ef72b89e Author: Shane Smiskol <shane@smiskol.com> Date: Mon Sep 11 20:20:16 2023 -0700 Hyundai CAN FD: add Manual Speed Limit Assist message (#950) * Hyundai CAN FD: add MANUAL_SPEED_LIMIT_ASSIST message * fix name * more little * fix checksum little * cmt commit 966e16c31e5d7e2a08f8a365024424ee28efc240 Author: Jafar Al-Gharaibeh <to.jafar@gmail.com> Date: Fri Sep 8 15:40:58 2023 -0500 Mazda updates (#816) * Mazda: a few new radar signals Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com> * Mazda Traffic Jam Assit (TJA) state --------- Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com> commit 538695192c999f5f292cdcbb41c82c6948668052 Author: Dean Lee <deanlee3@gmail.com> Date: Fri Sep 8 13:28:14 2023 +0800 parser_pyx: build value maps for requied messages (#939) commit 33c70973211e80e7ab075b36ecf3f3fa7e97c7ef Author: Dean Lee <deanlee3@gmail.com> Date: Wed Sep 6 22:37:04 2023 +0800 CanPacker: removing unnecessary string copying (#940) remove string copy commit 8f7e15202de0da78616b70208078767fcfad8ea3 Author: Dean Lee <deanlee3@gmail.com> Date: Wed Sep 6 22:35:52 2023 +0800 common_dbc.h: remove ARRAYSIZE (#941) remove ARRAYSIZE commit 5ebf73ebed8d1693aadffe97bd2dd012da3b3c1c Author: Justin Newberry <justin@comma.ai> Date: Tue Sep 5 15:34:38 2023 -0700 Precommit: ensure executable bit is set (#938) precommit ensure executable commit 33e8ce22ee85dbbca8551950fec8dd11314fce65 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Sep 5 09:51:59 2023 -0700 pre-commit: autoupdate hooks (#937) Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit ef302f7183cb05820b27e41cd4919cb6c319cd52 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Aug 29 22:19:50 2023 -0700 Hyundai CAN FD: alt blinker lamp signals (#932) * new signals * clean up * add comment commit 81aea1a7c3db8a671ccec564eab32e8ab48b36e7 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Aug 29 13:18:26 2023 -0700 pre-commit: autoupdate hooks (#931) * Update pre-commit hook versions * fix static analysis --------- Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> Co-authored-by: Shane Smiskol <shane@smiskol.com> commit ab072335d963849031ad3437bcf6c0bec98a169a Author: Jason Wen <haibin.wen3@gmail.com> Date: Tue Aug 29 16:07:15 2023 -0400 Hyundai CAN-FD HDA2: alternate message to suppress LFA (#923) * Hyundai CAN-FD: new LFA suppress signal * Try 0x364 * Block all bus 2/6 messages * Final test to block LFA * cleanup * remove unrelated messages * Add comments * sync with PR #927 * fix range --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 034ca989bd19e1dc2f6f5be903c037bc1aca750a Author: Justin Newberry <justin@comma.ai> Date: Tue Aug 29 10:09:43 2023 -0700 Parser: disallow duplicate message checks (#930) commit 783a892751ce1ad731836a2ef91c37fba4f7f71e Author: Justin Newberry <justin@comma.ai> Date: Tue Aug 29 10:08:58 2023 -0700 Subaru: preglobal normalize signals to global (#929) commit 814763889df3d1f19112a9628dfb4d1f17c0c533 Author: Jason Wen <haibin.wen3@gmail.com> Date: Mon Aug 28 22:32:18 2023 -0400 Hyundai CAN-FD HDA2: specify signals to suppress LFA (#927) * Hyundai CAN-FD HDA2: specify signals to suppress LFA * Add comments * Fix * update comments * clean up --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 25dd2b50fc93ff6a25b99b72c664b9c37413097d Author: Shane Smiskol <shane@smiskol.com> Date: Mon Aug 28 15:01:24 2023 -0700 Hyundai CAN FD: rename LKAS->SET_ME_1 (#928) * rename SET_ME_1 * specify commit 14ceee79c7e788bd5668eedbb268bf60f0ea69e5 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Aug 24 15:15:35 2023 -0700 minimal build there too commit bfc49701fdb8fcb39911a8685cf8d81c5fb8920e Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Aug 24 14:35:56 2023 -0700 minimal build commit a30a6775a5013bd42626ae7e36a1d21c9082a333 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Aug 24 14:14:24 2023 -0700 bump cereal commit 8866722bec4353770218a246be8a2a4965ec7fa8 Author: Justin Newberry <justin@comma.ai> Date: Thu Aug 24 14:08:45 2023 -0700 Subaru: move infotainment up (#924) move infotainment up commit 23878eecf0918b0909d813381744dff0351bc2c8 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Aug 24 14:04:09 2023 -0700 update build flag commit bfc03db461a92096bcb7bbe4db3d773e76eb0dce Author: Dean Lee <deanlee3@gmail.com> Date: Fri Aug 25 02:32:13 2023 +0800 cpplint: more filters (#925) more filters commit d3ac9403bde5b8b990207971517541237dfa64bc Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Aug 22 10:40:12 2023 -0700 pre-commit: autoupdate hooks (#922) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 12dd7675c5ab2f49aedb813a79e6131b370b379f Author: Aaron Logan <86490693+FLcruising@users.noreply.github.com> Date: Sun Aug 20 05:53:28 2023 -0500 VW PQ: AWV_only signal fix (#921) * VW PQ: AWV_only signal fix AVW_only signal length is 1 (not 4) * Update vw_golf_mk4.dbc Indeed. Thanks! Co-authored-by: Cameron Clough <cameronjclough@gmail.com> --------- Co-authored-by: Cameron Clough <cameronjclough@gmail.com> commit 9a743d50815fcc3be738c4a87e8a526f50bef237 Author: Jason Wen <haibin.wen3@gmail.com> Date: Fri Aug 18 17:02:27 2023 -0400 Hyundai CAN-FD: Alternate LKAS and BLINKERS signals (#892) * Hyundai CAN-FD: new steering message * bruh * new blinker signals for 2nd Gen Kona * add comment * speed isn't on kona * update comment * update blinkers --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 8841565808cbc5ed140068d10d11947cd048a2e3 Author: Justin Newberry <justin@comma.ai> Date: Thu Aug 17 13:37:40 2023 -0700 Subaru: more dbc updates for long (#859) add set speed and low speed follow commit e565b56a3aa6970c95502efe2ad59a2dbc055d6c Author: martinl <martin@mlp.ee> Date: Thu Aug 17 23:30:40 2023 +0300 Subaru: Remove unrelated bit from transmission RPM signal (#918) * Remove unrelated bit from transmission RPM signal * run generator commit ded4c830432a2b893d87627900784b38b6e0a181 Author: Justin Newberry <justin@comma.ai> Date: Thu Aug 17 01:31:22 2023 -0700 Subaru: added static and hba signals (#920) added static signals commit adc4d322405e0c12465208822a5b1f149796bbba Author: Shane Smiskol <shane@smiskol.com> Date: Wed Aug 16 23:09:58 2023 -0700 Hyundai CAN FD: fix wheel speed units (#919) kph commit f58456225fbdffdbdf8d0110f609aaeee63f47e1 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Aug 15 10:29:18 2023 -0700 pre-commit: autoupdate hooks (#917) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 98c2b11378f9df5745c4d084693441d3df404495 Author: Justin Newberry <justin@comma.ai> Date: Mon Aug 14 12:52:47 2023 -0700 Ruff: propogate config from OP (#916) commit a1582f5e28fe0df23b6821c907188be477aac11c Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Aug 10 18:49:14 2023 -0700 CANParser: parse all signals for given messages (#828) * CANParser: parse all signals for a message * update tests * just use a pair * rm enforce checks * rm that * spacing * fix nonexistent message test * message addr check should not have been deleted * can be cleaned up more * remove that too * add comment back * revert default bus behavior revert default bus behavior * can combine this loop * unused map * add all * ensure we track all signals * remove sanity check * this wasn't tested before * Revert "this wasn't tested before" This reverts commit eb5e9209ebfeeb9a8856305d00ea6f6fcb4efbad. --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit df9c11ddc17edd601a18bd72b3055b317e44955b Author: Kacper Rączy <gfw.kra@gmail.com> Date: Thu Aug 10 13:03:55 2023 -0700 parser: update_strings propagate cpp exceptions in py bindings (#912) * Propagate cpp exceptions to py * Add a test case * Update can/tests/test_dbc_exceptions.py Co-authored-by: Shane Smiskol <shane@smiskol.com> --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 129e72829814742444ab91c986fa0a9fbbf3e0e3 Author: Jason Wen <haibin.wen3@gmail.com> Date: Wed Aug 9 16:23:25 2023 -0400 Toyota: Follow distance signal for unsupported DSU cars (#915) * Toyota: add follow distance signal for unsupported DSU cars * Update with generator commit 3ef5cc8e794e826d2267afe9cc76cbae1501dc82 Author: Irene <12470297+cydia2020@users.noreply.github.com> Date: Wed Aug 9 08:23:06 2023 +1000 Toyota: rename ACC_HUD to PCS_HUD (#905) * Toyota: rename ACC_HUD to PCS_HUD * run generator --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 7d61776e2b258a028b19d81852a20bc234ec6a37 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Aug 8 11:15:16 2023 -0700 disable parser perf test for now commit 4b44eb6c3c05fa95aa612c9901ce7b928ed97414 Author: Justin Newberry <justin@comma.ai> Date: Mon Aug 7 15:26:46 2023 -0700 CI: Pylint to ruff (#911) commit 46b59dd99eaab2cc11454a2ac6c6e31f894d4cf1 Author: Shane Smiskol <shane@smiskol.com> Date: Sat Aug 5 00:03:47 2023 -0700 'test_dbc_parser: ensure we're running on real DBCs' Split from https://github.com/commaai/opendbc/pull/828 commit 5b80c0cb284d58791b4587b7049e4a2901769821 Author: MonsterPerformance <112559899+MonsterPerformance@users.noreply.github.com> Date: Sat Aug 5 08:39:43 2023 +0200 Hyundai SantaFe CM and Opel Omega B databases added (#910) * Hyundai: SantaFe CM database * Opel: Omega B database commit 7d23b4c01b177fc3d8386f4e8eb3a565619be87b Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Aug 1 11:18:44 2023 -0700 pre-commit: autoupdate hooks #908 commit 5880fbbccf5a670631b51836f20e446de643795a Author: Justin Newberry <justin@comma.ai> Date: Wed Jul 19 23:02:42 2023 -0700 Subaru: ALT LKAS request is actually angle (#904) alt is angle commit 4231b0f12d8cf10d0554c4eb513ac984defc1f90 Author: Maxime Desroches <desroches.maxime@gmail.com> Date: Tue Jul 18 14:06:53 2023 -0700 Update cython (#903) * cython * ref * test * Werror commit 3ef35ed2298a3a9d199f9145409547710065884c Author: Shane Smiskol <shane@smiskol.com> Date: Mon Jul 17 22:17:11 2023 -0700 Revert "CANPacker: refactor to avoid undefined signals (#891)" (#899) This reverts commit 3a0083b41ef950409a0b5e1bf9d7cfd051208ea1. commit 1c43e1cbd689c9d61121cdcea6c132c655697a14 Author: Justin Newberry <jnewberry0502@gmail.com> Date: Mon Jul 17 20:52:16 2023 -0700 CI: Fix panda CI by not upgrading Cython (#898) * runtime error remove * cython 3.0.0 breaks panda * dont change that commit b03468a714da2eb8ef83f07a373f3f1514491cad Author: Cameron Clough <cameronjclough@gmail.com> Date: Fri Jul 14 16:48:22 2023 +0100 packer: import stdexcept (#897) commit 3a0083b41ef950409a0b5e1bf9d7cfd051208ea1 Author: Dean Lee <deanlee3@gmail.com> Date: Fri Jul 14 19:41:27 2023 +0800 CANPacker: refactor to avoid undefined signals (#891) * refactor to avoid undefined signals * add non-zero offset check * Revert "add non-zero offset check" This reverts commit bc0bb60f4fdd8ffdca7197ff6dbd3cb50b857c30. * clean up * use underscores, we haven't standardized one or the other yet * use message name * test it works --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 2e54e4d4f2c5e64c9aa045bc44816de5690a2703 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Jul 14 03:47:25 2023 -0700 CANPacker: don't track size (#895) clean up commit f45946fecb1771f787b360ced0e52b6b91b6f43b Author: Shane Smiskol <shane@smiskol.com> Date: Thu Jul 13 21:59:14 2023 -0700 test parser: cleanup test (#894) * test * Revert "test" This reverts commit 406505313cfd6f45569a99fd9546475cb8f65179. * no partial commit 5beef54494db306aa69264924e681f0eb06266a3 Author: Justin Newberry <justin@comma.ai> Date: Thu Jul 13 19:40:01 2023 -0700 Subaru: more steering messages (#893) commit 236359cf63c3caaf8e02b972c452aabac416662a Author: martinl <martin@mlp.ee> Date: Thu Jul 13 02:07:45 2023 +0300 Add Subaru Global 2022 DBC (#758) * Add Subaru Global 2022 DBC * Rename SET_1 to LKAS_Request * mostly repeated signals, combined those * PR cleanup * move to existing dbc --------- Co-authored-by: Justin Newberry <justin@comma.ai> commit e498d012147e00301fc443663e0ee57cbfdc3c24 Author: junhee Ahn <33146367+saga0619@users.noreply.github.com> Date: Fri Jul 7 19:09:22 2023 +0900 HYUNDAI: update speed camera signal (#890) commit fe8d535a7fd99eeb15526ca944a6019b9a1e5ea0 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Jul 7 01:09:24 2023 -0700 CANDefine: test all DBCs (#888) * change addr for ioniq 6 * add new msg * a test for this * add to test_dbc_exceptions * cmt * fix commit 33940105be96ec1f265f9de3fb40956710cd1ea8 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Jul 7 01:02:12 2023 -0700 tests: global constants (#889) small clean up commit b38a74af81c59ac32efc50d37dace657001dd1db Author: Shane Smiskol <shane@smiskol.com> Date: Thu Jul 6 16:42:50 2023 -0700 Toyota: update LTA comment for SETME_X1 (#887) * update comment, slightly more accurate * EPS still accepts it though commit 75253095dc6a7fcd6da4ad0100e632cdf4fe9f61 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Jul 6 13:36:31 2023 -0700 Toyota: add LTA comment for SETME_X1 (#885) add comment commit 2886a193ec211d88792fb12fd6d35481e22db87f Author: Shane Smiskol <shane@smiskol.com> Date: Thu Jul 6 01:05:45 2023 -0700 Toyota: add comment for LTA signal (#876) * add comment * more complete comment * gen * but * add val for cabana commit ff445c412f28b64ee6e15f49594f70c76d2e9acf Author: Shane Smiskol <shane@smiskol.com> Date: Wed Jul 5 21:25:09 2023 -0700 Toyota: update LTA comments (#881) * add/update comments * generate commit 53716e8466f645d685ddd51755636b6249765a2c Author: Shane Smiskol <shane@smiskol.com> Date: Wed Jul 5 20:15:59 2023 -0700 Toyota: update an LTA signal name (#879) * add temporarily * add a comment * think this is what it shows, but exact text doesn't matter commit 6430f4c3b6f65c1a9870df6e2a5ec17f17aed744 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Jul 5 20:03:58 2023 -0700 Toyota: add LTA related message from camera (#880) * add msg and comments * rename and mark FCM (camera) * update range * run generator * isbe commit 15e4ae8d48cc9dcdde24b64dd0e7717e5fb9a32c Author: Shane Smiskol <shane@smiskol.com> Date: Wed Jul 5 19:28:14 2023 -0700 Toyota: add auto high beam message from camera (#878) * add msg * rename * generate commit 008104f9400b6161461db40d66ce13b34ea9ce79 Author: Dean Lee <deanlee3@gmail.com> Date: Sat Jul 1 17:04:33 2023 +0800 CANParser: check if signals exist (#870) * check if signals exist * add failing test * better args and test msg in checks * also need to check message addrs * fix up new_msg * consistent * check signals if msg addresses are used * cleanup * cleanup --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit ecd0613872c935d56cd6472e7b46e0a3e916c9d8 Author: Shane Smiskol <shane@smiskol.com> Date: Sat Jul 1 01:41:22 2023 -0700 tests: rename CAN Parser performance test file (#872) rename commit 5f27703db0a27cb5c2ad4328a1890262dc7c4811 Author: godoppl <godoppl@gmail.com> Date: Sat Jul 1 07:41:29 2023 +0200 Add ISG state to HK generic (#860) * Add ISG state to HK generic * Move values to VAL_ row * move comment --------- Co-authored-by: Cameron Clough <cameronjclough@gmail.com> commit f22aff9f6e9b37941e9cbc2f9df9cd49cddacd1f Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Fri Jun 30 17:35:57 2023 -0700 bump to python 3.11.4 (#865) * bump to python 3.11.4 * Update requirements.txt * fix * req * fixfix --------- Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com> commit 915a97f722b74c468ef890ab6ccecdcb60af7263 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Fri Jun 30 17:34:53 2023 -0700 pre-commit: autoupdate hooks (#866) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 7a760a130a27146d7f02a8efb83ad3d5b79d9d71 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Jun 30 15:29:46 2023 -0700 CANParser: test missing messages in DBC (#871) test commit e51a78721d99eac223f02cd9b993824712855952 Author: Irene Cheng Chi <12470297+cydia2020@users.noreply.github.com> Date: Sat Jul 1 06:27:13 2023 +1000 Toyota: fix length and description of LDA messages (#868) commit 0a7560a2db05b5be359649def88ddda7fc8a0b49 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Jun 24 15:14:36 2023 -0700 pre-commit: autoupdate hooks (#863) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit f241a87591b0e0339c5c8b6e2b1976271807ac56 Author: Justin Newberry <jnewberry0502@gmail.com> Date: Fri Jun 23 16:05:02 2023 -0400 Subaru: Signals Cleanup (#862) cleanup Co-authored-by: Cameron Clough <cameronjclough@gmail.com> commit 2eab8d2a1d3de7b641d3655b1dc41fd14a4f24fc Author: Shane Smiskol <shane@smiskol.com> Date: Wed Jun 21 02:20:51 2023 -0700 Toyota: fix KINEMATICS signal (#864) fix signal commit aa044ea9452e60f861577910ddc1cb3b610bc73a Author: Cameron Clough <cameronjclough@gmail.com> Date: Sun Jun 18 16:06:42 2023 +0100 add poetry pyproject required fields commit e808a1ec3dc33bdbd6d4ef868bbc84d3916de765 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Jun 16 16:25:57 2023 -0700 Subaru: add AEB related signals (#858) * rename signal2 * generate * generate * add one more def commit d03ae519e9bcc516e127593a4274b4212c70b732 Author: Jafar Al-Gharaibeh <to.jafar@gmail.com> Date: Thu Jun 15 22:15:54 2023 -0500 Mazda: update BSM signals and add comments (#815) * Mazda: add comments to BSM signals Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com> * undo sort since hard to view diff * two two bit sigs * bit better * didn't mean to remove that --------- Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com> Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 87b821e0e5cfead12b0f01c16d6a87b592859cb2 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Jun 15 02:54:25 2023 -0700 Toyota: add ACC dash alerts (#857) * add temperature dash alerts * just spaces * add dust * add radar adjust commit 7e1f7d5b7eea984fe0f0c7e7ba928861926b8935 Author: Cameron Clough <cameronjclough@gmail.com> Date: Wed Jun 14 07:55:49 2023 -0700 setup cython linting (#851) commit 1d483ad98ed5f3c1ba5fb3a1b4ae48c0049fbad3 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Jun 14 02:32:56 2023 -0700 Toyota: fix and add some PCM signals (#856) * fix signal factor and fix signal name fix signal * add comments and another sig * comment commit d2b4c7cc6502039a1523475bc5937fdd5db881d2 Author: majbthrd <majbthrd@gmail.com> Date: Fri Jun 9 15:52:35 2023 -0500 Mazda: add RX-8 (#849) commit 9ae9fbfe56f79dca66c673a6479751a15ad61780 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Jun 2 15:22:08 2023 -0700 hyundai_canfd: fix signal range commit 13185e52e9e1d6b67a1242f79ca648a9388e3463 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Jun 2 15:21:25 2023 -0700 hyundai_canfd: add moving forward/backward bits commit ae0d02ce2c8ed55bafd6157a54f6689e3d1c37c5 Author: Shane Smiskol <shane@smiskol.com> Date: Tue May 30 16:05:08 2023 -0700 parser: fix wrong message name check/print (#846) * can do this * or just this * rm commit bffa93d782437bd829b86f81361f497f28c0d71b Author: Kacper Rączy <gfw.kra@gmail.com> Date: Tue May 30 05:49:15 2023 +0200 dbc: add missing include for setlocale (#845) commit 49b31858a36275dc16f768781297e443e57d16ab Author: vanillagorillaa <31773928+vanillagorillaa@users.noreply.github.com> Date: Sat May 27 22:25:33 2023 -0700 Nissan: common DBC (#841) * initial nissan cleanup * this is also common --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit c8615e8ee4287d300d86beee57fc862710178655 Author: Aaron Logan <86490693+FLcruising@users.noreply.github.com> Date: Sat May 27 21:12:17 2023 -0500 VW PQ: EPB_1 sort and VAL table (#838) EPB_1 sort and VAL table commit c6da67d26dfeee1085bb23a1b2bd21a32447fa41 Author: dzid26 <dzidmail@gmail.com> Date: Sun May 28 00:35:34 2023 +0100 BMW dbc improvements (#831) * Initial test commit Throttle and steering wheel sensors for K-CAN * Update BMW E-series * Rename BMW E-series to BMW E-series K+CAN * OpenDBC updates * Added brake pedal pressed * Cruise control commands * Delete BMW E-series K+CAN Replaced with dbc file generated by cabana * Update BMW E-series K+CAN.dbc Fixed names * brake depress flag * Fixes after cabana broke it * Fixed names. Fixed names. Removed space * Removed module names due to bug/conflict? One module name left XXX * Fixed many DBC syntax issues Removed illegal characters Removed spaces * SteeringButtons * Rename BMW E-series K+CAN.dbc to BMW E-series CAN.dbc * Cruise counters set to Big endian * Added bunch of unknown messages * cruiseControlStatus * cruise speed scaling * Added some cruise statuses * Corrected to throttle * Updated pedal statuses * Cruise control Added cruise control signals * Dynamic cruise control vehicle option has different can messages * Added can messages from SZL * Removed spaces * Other can messages * OpenDBC updates * OpenDBC updates * OpenDBC updates * Steering wheel sensor DSC * BMW dbc copied from OpenDBC repository https://github.com/dzid26/opendbc-BMW-E8x-E9x/ * Steering Wheel angle and wheels speed * acc pedal * size set to 7 * OpenDBC updates * OpenDBC updates * OpenDBC updates * OpenDBC updates * OpenDBC updates * OpenDBC updates * OpenDBC updates * Delete BMW E-series CAN dev.dbc * OpenDBC updates * OpenDBC updates * Corrected cruise control pedal pressed vs driver pedal pressed * OpenDBC updates * Speed scaling * unit * Added F-CAN missing signals - unknown * Added unknown messages * OpenDBC updates * another wheel position - active all the time * OpenDBC updates * OpenDBC updates * Added units; fixed steering speed signal in 0xc4 * OpenDBC updates * OpenDBC updates * message size * Added motor controller CAN message * Added kph factor to WheelSpeeds from DSC * Added (invented) OpenPilot request message * Improved OpenActuator packing * Removed openSteering messages. Added gear enums and cruise +5/-5 Renames... * wiper button * Added blinkers * Added lateral and longitudal accelerometers and battery voltage * Added engine torque * Added dynamic cruise control torque request signal * Added ignition terminal states * OpenDBC updates * Added GearSelector postion signals inspired by https://www.spoolstreet.com/threads/gs7-program-code-disassembly-project.6045/post-93145 * Added PRND states. Confirmed with https://bmw.spoolstreet.com/threads/gs7-program-code-disassembly-project.6045/post-94403 * Updated ShiftLeverPosition to bit-wise for readability. Added enumeration. * Added some counter signals * OpenDBC updates * Added BMW CANbus overview. * correction * Update README.md * Added Ignition ON, modified steering ratio factor * Added accelerators and checksum signals in Speed message * Another acceleration and gyro * More precise steering factor * Speed message cleanup * Added traction control off button message * Added sender nodes and improved message names * Added messages from other BMW models * Added few target nodes * Added torque factors * Added DSC statuses * Tentatively added MDM status signal * Counters are not cheksums. Checksums and counters revised. SteeringWheelAngle_DSC name reverted! * Endianness consistency. * Initial version of actuator dbc. Scalings represent my system gear ratios. See derivation in signal decriptions. * Transmisssion signals * Handbrke, units, scaling fixes * Labeled wheel speeds * Bmw eXX: filling some gaps (#662) Co-authored-by: rusefillc <sdfsdfqsf2334234234> (cherry picked from commit 5c5fc14cbc929a8a075510644b6a6070f0b453af) Fixed Counter_464 byte order commit 2db04839931562b7088276e14de846e90c7e2396 Author: Kyle Dibble-Dabney <dibble90@mac.com> Date: Sat May 27 18:30:19 2023 -0500 EV6 dbc updates (#835) * Update EV6 DBC Messages * Update EV6 DBC Values commit 01fa913b72ff89f03613b2782b3d1d00f175dfa4 Author: AlexandreSato <66435071+AlexandreSato@users.noreply.github.com> Date: Fri May 26 03:28:32 2023 -0300 Honda: add alt gears for Thai HR-V hybrid (#814) * add alt gears for Thai HR-V hybrid * add generator file --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit e707cbfc7326a918d91b7fd9d73a27a0798e6f8e Author: rusefillc <48498823+rusefillc@users.noreply.github.com> Date: Thu May 25 18:23:03 2023 -0400 vw_golf_mk4: a bit of progress (#698) * vw_golf_mk4: a bit of progress * weeeeell * vw_golf_mk4: a bit of progress * vw_golf_mk4: a bit of progress * vw_golf_mk4: a bit of progress * vw_golf_mk4: a bit of progress * vw_golf_mk4: a bit of progress * Shift Intent --------- Co-authored-by: rusefillc <sdfsdfqsf2334234234> commit 3ba8e77bd4d9662546859f08df8f2e7a46512da2 Author: Dean Lee <deanlee3@gmail.com> Date: Wed May 24 13:03:19 2023 +0800 dbc: force C locale for numbers. (#839) commit 7e3b518d338d96774ce0088639c848bdeca96553 Author: Aaron Logan <86490693+FLcruising@users.noreply.github.com> Date: Fri May 19 20:52:58 2023 -0500 VW PQ: added AWV (AEB) signals (#824) * Added AWV (AEB) signals * AWV message length: 8 * AWV message cleanup and VAL table added * Sort AWV * update VAL table for AWV More German stuff commit 98a700dce5e64a338b4ab2025465fd02c2ac1146 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue May 16 11:49:57 2023 -0700 pre-commit: autoupdate hooks (#836) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit f12052306eec3147d1abfd1495131f8a98354922 Author: Shane Smiskol <shane@smiskol.com> Date: Mon May 1 17:17:42 2023 -0700 Nissan: correct angle signal ranges (#830) correct signal ranges commit 23b83b51e34c9274ca2e4b7a23151d84ff221b2e Author: Shane Smiskol <shane@smiskol.com> Date: Mon Apr 24 17:29:04 2023 -0700 Toyota: add comment for CLUTCH->ACC_FAULTED (#829) add comment commit 8faada0494c4498a57c2196e80c6da94f508d009 Author: Dean Lee <deanlee3@gmail.com> Date: Sun Apr 23 08:54:36 2023 +0800 refactor CANParser to improve performance (#795) * reduce the const of copying signal values in CANParser::query_latest * pass by reference * use for range loop * update_strings * use assign * track all signals * use iterator & pointer to avoid copy SignalValue from vector * use normal dict for vl_all * update tests * fix error in merge master * change thresholds reduce thresholds * Trigger CI * Trigger CI * Trigger CI * cleanup ctor * reduce threshold * revert changes to test_parser.py * change thresholds * remove update_string() from cython * comment out test_performance_one_signal * reduce thresholds * test * update * update * revert that for now * update * update --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit 5adb62bf0483a3b3975e513b4e72d4abd9826aa6 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Fri Apr 21 13:11:53 2023 -0700 fix parser perf test (#827) commit d40e429914a8bc5c2c630726fe097f85f7108185 Author: Shane Smiskol <shane@smiskol.com> Date: Mon Apr 17 16:50:14 2023 -0700 Subaru: more infotainment signals (#823) * new infotainment sigs * better names * generate * another static bit signal (set on a forster) * generate commit 9eec5335a0f931bfe62a536c763c26e0a41a6a0b Author: Willem Melching <willem.melching@gmail.com> Date: Mon Apr 17 18:59:20 2023 +0200 DBC parser: assert no duplicate signal names in msg (#821) Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit b7546cd3f47d246169952aba752cfc4c39a106e5 Author: Willem Melching <willem.melching@gmail.com> Date: Mon Apr 17 18:56:43 2023 +0200 remove duplicate signal names from Honda DBCs (#822) commit 7191f4472fcc505a566c31bde5075c9506c2810f Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Apr 15 23:18:45 2023 -0700 CI: split up jobs + update requirements (#819) commit 003baff1ace81dd4441febade69165a7e6cee681 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Apr 15 17:58:40 2023 -0700 switch to pat commit 613cd27326c39f8ab62c1dd55c7ede8cebf1f517 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Apr 15 17:47:34 2023 -0700 CI: add job to update pre-commit hooks (#817) * CI: add job to update pre-commit hooks * rm push trigger commit 82779a84eaf1116b7084916e21b4e9b2207cb0bc Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat Apr 15 17:47:23 2023 -0700 pre-commit: autoupdate hooks (#818) Update pre-commit hook versions Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> commit 342c0320dd271fb585db3cced397c5122078af85 Author: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Sat Apr 15 14:17:46 2023 -0400 VW MQB: Cleanup HCA control message (#805) * VW MQB: Clean up HCA control message * enable checksum/counter, change scaling * fix mangled comment character encoding commit 933d784a0d901657a278ee6e56a154e7e8214f1f Author: Shane Smiskol <shane@smiskol.com> Date: Fri Apr 14 02:31:17 2023 -0700 Honda Radarless: add a cruise related signal (#807) * add sigs * checksum and counter commit f50e9d78bd51dcd784310f18406922f491a0085a Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Apr 13 14:48:00 2023 -0700 CANParser: add msg name to debug prints (#813) commit 3c81860270e918d1a08f14a833522fd798aa39ca Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Apr 8 15:36:23 2023 -0700 test parser: bump up one signal threshold commit f9837ff91c4db2c0408e679cf0422e80404b2c1e Author: Justin Newberry <jnewberry0502@gmail.com> Date: Sat Apr 8 14:03:05 2023 -0400 Subaru: add infotainment status message (#809) * wip * forgot checksum and stuff * update * add blank filler * fix missing bit * fix missing bit * remove filler signals * convert toval commit 8a3c9a72519d90d12a6c7705ee0daaa3ba5662c4 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Apr 7 00:25:28 2023 -0700 honda_civic_ex_2022: add BRAKE_MODULE (#811) * add sigs * update * detection commit 9c851fa9f9e35827d54e2f082784e246096a9159 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Apr 2 10:41:42 2023 -0700 CI: set PYTHONWARNINGS=error (#806) commit f01929f0b9db164427a094ab2c543e1d58c189b2 Author: Dean Lee <deanlee3@gmail.com> Date: Sun Apr 2 22:45:51 2023 +0800 CANParser: improve cython performance (#802) * improve cython performance * change thresholds * Trigger CI * reduce threshold for test all signals * change * reduce min * change * Trigger CI * Trigger CI * Trigger CI * Trigger CI * change * Trigger CI * Trigger CI * Trigger CI * Trigger CI * Trigger CI * Trigger CI * Trigger CI * Trigger CI * Trigger CI * Trigger CI * change * Trigger CI * Trigger CI * Trigger CI * Trigger CI * Trigger CI * Trigger CI * Trigger CI * Trigger CI commit 9a1de83e4b0625c38c6bc677a762528b7026aa5e Author: Dean Lee <deanlee3@gmail.com> Date: Sat Apr 1 04:51:14 2023 +0800 CANParser: use emplace_back to reduce the cost of copying values (#797) commit 0ff25034c411c504c21a40bfd49ab5e9bbbe4c87 Author: Dean Lee <deanlee3@gmail.com> Date: Sat Apr 1 04:50:03 2023 +0800 CANParser: add performance test (#801) * add benchmarks * cleanup * unittest * thresholds * add test for update_strings * change thresholds * increase to 50000 * trigger ci * update thresholds * trigger ci --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit bb3bc2b14c8c03b4a32bd2bede40e5b1a0b00510 Author: FLcruising <86490693+FLcruising@users.noreply.github.com> Date: Thu Mar 30 14:36:13 2023 -0500 VW PQ: corrections to EPB_1 (#804) Fixes many messages, some of which are used as feedback to ACC and "Follow-to-Stop" function. commit cc966f5c471e0bd08428c7d4ff2e4f843b983a20 Author: Dean Lee <deanlee3@gmail.com> Date: Wed Mar 29 03:33:37 2023 +0800 CANPacker: pass values by reference in cython (#803) commit 8c5f9c402c45af3e1fa06035485e0e03fb8cf108 Author: Seonghoon Jeong <seonghoon@shjeong.net> Date: Tue Mar 28 16:34:17 2023 +0900 hyundai_2015_ccan.dbc: fix signal scale (#732) Update hyundai_2015_ccan.dbc The scale of signal `CF_Ems_IsgStat2` should be 1.0 instead of 2.0 because two bits are assigned for the signal. Otherwise, the range of the signal must be [0.0|6.0] rather than [0.0|3.0]. commit 636a61b6ab43ddf2f916c74235fa61cbb7988171 Author: rusefillc <48498823+rusefillc@users.noreply.github.com> Date: Mon Mar 27 19:19:03 2023 -0400 More on Nissan (#746) * More on Nissan * Nissan progress * Nissan progress * Torque?! * Nissan progress --------- Co-authored-by: rusefillc <sdfsdfqsf2334234234> commit 1f0e04f444c418591dad5e138a14eafee8c3844e Author: Dean Lee <deanlee3@gmail.com> Date: Tue Mar 28 07:01:39 2023 +0800 libdbc: build both static and shared library (#786) commit ee9f7e63b9a05c1315ad6893a62f6b240b499c58 Author: Willem Melching <willem.melching@gmail.com> Date: Mon Mar 27 20:48:45 2023 +0200 dbc.cc: put check for duplicate message name behind flag (#800) commit 21b8f28144ea3d02de5db2fcdf571e58d62134cb Author: Eric Brown <eric@ebrown.net> Date: Sun Mar 26 18:14:30 2023 -0600 GM: Add single pedal mode signals for Bolt EV/EUV (#789) commit b79b8f523a94ca7ea39345087d1746d5a912da1f Author: Dean Lee <deanlee3@gmail.com> Date: Mon Mar 27 08:02:27 2023 +0800 CANParser: pass string by referer (#796) commit f1479b3562ade1b5538d0457b09962aeedc0a1aa Author: Shane Smiskol <shane@smiskol.com> Date: Fri Mar 24 17:37:37 2023 -0700 Toyota: add brake pressed bits (#794) * add brake pressed sigs * generate commit b7d4a6e2718d9ec3cf436441696528bedb1d44cf Author: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Mon Mar 13 17:12:51 2023 -0400 VW PQ: Misc corrections in ACC_GRA_Anzeige (#792) commit ef06eab33b7e822ce6abc772f94cd4a2196ca047 Author: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Mon Mar 13 16:16:53 2023 -0400 VW PQ: Corrected scaling/offsets in Motor_Bremse (#790) VW PQ: Corrected brake command scaling commit 21c42e0ba309677d4e3a815b650b369da2f12eb2 Author: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Mon Mar 13 16:16:38 2023 -0400 VW PQ: Corrected scaling/offsets in ACC_System (#791) * VW PQ: Corrected scaling/offsets in ACC_System * add values commit 21457f0b46441cadfd42566d5cdc547f95abe44d Author: Shane Smiskol <shane@smiskol.com> Date: Mon Feb 20 15:19:05 2023 -0800 CANParser: ts_nanos test (#785) * ts_nanos tests * check set is length 1 * same style as below commit 510bfc06954e31257f8d8de17adf92f9a68a1b71 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Feb 10 23:44:17 2023 -0800 GM: add friction brake unavailable signal (#782) * Add friction brake unavailable signal * add comment commit 6eab6cf6ad5ac69539037f4508582fbfaf239eab Author: Shane Smiskol <shane@smiskol.com> Date: Fri Feb 10 15:22:58 2023 -0800 Chrysler: add temporary EPS fault bit (#781) Add temporary EPS fault bit commit 2922a0507d9903ffd595be06ff710024aba73c76 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Feb 10 14:46:35 2023 -0800 GM: add a cluster speed signal (#780) * Add cluster speed signal * add the counter * add comment * gen commit d103b156b36f2bc9d0d6ad9ba1af02a42ecc2b46 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Feb 7 23:00:22 2023 -0800 CANParser: add timestamp field (#779) * add timestamp back, logMonoTime * rename ts_nanos commit 0b7439f551168f202fb033b7e3e177048687e726 Author: Cameron Clough <cameronjclough@gmail.com> Date: Thu Feb 2 20:05:52 2023 -0800 Ford: rename TrnRng_D_RqGsm Sport value (#778) commit 1d898ebfb295014cafa7a584ad3fd50b2c3ca74f Author: Louie Lu <git@louie.lu> Date: Sun Jan 22 16:19:21 2023 -0500 Mazda: add MRCC vehicle ahead distance on gauge (#771) commit 2a186eca25db6ef6c2c5c3988ed687729a159ccd Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com> Date: Thu Jan 12 01:26:08 2023 -0500 HKG CAN-FD: Second alternate GEAR message (#768) * Second alternate GEAR message * Wrong bits! * 32 bytes commit bd3ce2d48c746c22f97603e898e4363b8126cd68 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Jan 10 21:18:16 2023 -0800 HKG CAN-FD: Rename reversing signal in BLINDSPOTS_FRONT_CORNER_1 (#770) Update hyundai_canfd.dbc commit a10e7ce3075dccbbe4630b6dd665d8e44c9f6c2f Author: royjr <royjr96@gmail.com> Date: Wed Jan 11 00:00:42 2023 -0500 Honda Civic 2022: Rename CONTROL_OFF -> IDLESTOP_ALLOW (#776) * CONTROL_OFF -> IDLESTOP_ALLOW This tells the car its ready to turn off the engine, which does so when the car is standstill. * update comment update comment Co-authored-by: Shane Smiskol <shane@smiskol.com> commit d585a9bf2908b2c83bf02b567b9e1f5bfc587a01 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Jan 2 16:10:04 2023 -0800 Hyundai CAN-FD: SCC upper jerk limit signal (#775) upper jerk commit 107b96abfcb0fa615524a0e7370e217ae687ebc7 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Jan 1 17:09:27 2023 -0800 add some type hints (#774) …
* update_string() Now 2x Faster * noneed for wraparound and boundscheck * cleanup code d * formatting * these have no effect * minor clean up --------- Co-authored-by: Shane Smiskol <shane@smiskol.com>
Issue: The following two code blocks consume nearly two-thirds of cython's update_string()'s runtime:
Resolve:
the results of running
selfdrive/debug/check_can_parser_performance.py
:Before:
After: