Commit Graph

9146 Commits

Author SHA1 Message Date
Shane Smiskol 4a0b3c8b64 CarInterface: move stateless, common car events to car interface (#32394)
* move stateless, common car events to car interface

* try to reduce process replay diff a bit

* Revert "try to reduce process replay diff a bit"

This reverts commit b12798deabea67c5a636d6e70e80a3c21c7225ff.

* update refs
old-commit-hash: 3dfb6d7931711c51ecfe0d8c32f0ff928b17a5c9
2024-05-13 12:50:42 -07:00
Shane Smiskol 4b0149cb14 Events: use sorted container (#32395)
* use SortedList

* Update ref_commit
old-commit-hash: d98ab4ddb1beebdf7079d403a837aabbf7d86918
2024-05-13 12:16:53 -07:00
Shane Smiskol 2d7bd1942c [bot] Fingerprints: add missing FW versions from new users (#32412)
Export fingerprints
old-commit-hash: be3e99e2d3ab3e39030f88f5450b955885a01772
2024-05-13 08:39:49 -07:00
Jason Young 013088133f VW MQB: Support for preempted HCA state (#32298)
* bump opendbc

* VW MQB: Support for preempted HCA state
old-commit-hash: f770f55a4e742da9a3ea474f9ccb330ba4fde64a
2024-05-12 22:06:03 -07:00
Dean Lee ddd09f528b boardd: Improve performance of can_list_to_can_capnp() (#32356)
old-commit-hash: e548742701bac60f872ee4a1043b014e1ae00731
2024-05-12 22:01:08 -07:00
Adeeb Shihadeh 5e2cc23cec boardd: SPI corruption test (#32404)
* simple test

* little more

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: dcfb206a38eb5719b872f1b7a60c25681f6d734f
2024-05-11 14:24:28 -07:00
Adeeb Shihadeh 0d9aad726e boardd: fix SPI return code on some transfer failures (#32401)
old-commit-hash: 4af50cee6385022e93dca261af7485c36bb5744b
2024-05-11 13:15:50 -07:00
Shane Smiskol 1c7a1555b9 [bot] Fingerprints: add missing FW versions from new users (#32397)
Export fingerprints
old-commit-hash: 3fd549f30a3528a1dfb2dbe2d8590b4bc5af43b6
2024-05-11 10:54:24 -07:00
Shane Smiskol c4e445e6c5 card: more final structure
old-commit-hash: d28624fe5b4145b48add862f1f29a3bcf7568b8c
2024-05-10 23:18:48 -07:00
Shane Smiskol 753dbe8f6e controlsd: use latest actuatorsOutput (#32390)
use current actuatorsOutput
old-commit-hash: ef1693433f0e89818bbc8dabf83f16841e28ec6e
2024-05-10 21:00:01 -07:00
Shane Smiskol d9c32672d1 [bot] Fingerprints: add missing FW versions from new users (#32384)
Export fingerprints
old-commit-hash: 4486947e811bd09903795b5b76e7e2846062a64c
2024-05-09 10:51:15 -07:00
Shane Smiskol 8708fb2a32 card: preparation (#32382)
* card prep

* also format
old-commit-hash: 2e6b2ef3c973549c5375684ba36f1b12372167a4
2024-05-08 23:54:20 -07:00
ZwX1616 1e7865e4c9 Always-on DM: no audible alert at low speeds / block engagement if alert present (#32379)
* min speed

* cmments

* no entry?

* comment
old-commit-hash: 273a4f5ca9313673caadccf9e6910ab080f7f047
2024-05-08 20:05:03 -07:00
Shane Smiskol af0310ff0c Volkswagen: improve fuzzy fingerprinting (#32378)
* improve VW fuzzy FP matching

* annotate

* Revert "annotate"

This reverts commit 09cbb150e91f5093849c22d95e31152fb8d4d1a9.

* hmm
old-commit-hash: a83b182c552476dfda71784570916777135b3d4e
2024-05-08 17:17:08 -07:00
Jason Young 00fbd8660c VW MQB: Add FW for 2022 CUPRA Ateca (#32318)
* VW MQB: Add FW for 2022 SEAT Ateca

* extend Ateca supported model-years

* CUPRA Ateca available from 2018

* regen CARS.md

* wrong model year format
old-commit-hash: fe4c7f1499e3ce70eb1ec614ae8ea370415ed802
2024-05-08 15:34:16 -07:00
YI418LT e2395bf382 Honda: add missing FW for Civic Hatchback 2020 (Type R Japanese model) (#32305)
* Update fingerprints.py

* format

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 451a38ddee4d54d2d9b06fe6d8cef8ef09c6b1cf
2024-05-08 15:19:06 -07:00
Jason Young 2b755e330d VW: raise minimum steering speed to fix a fault (#31450)
* VW: Steer to zero, for large values of zero

* ah, the joy of floating point

* comment, style

* actually fix floating point issue

* follow PlatformConfig refactor

* this check is not useful after PlatformConfig

* don't really need that

* work around docs assert

* little better

* one comment

* update refs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 93fa207c5cafa908a15dd460025c005ee7cf1746
2024-05-08 14:38:08 -07:00
young 02fb8ebef5 Kia: add missing K8 Hybrid 2024 FW (#32259)
add kia k8 hev 2024 fingerprints
old-commit-hash: adf52c7355222b994e932226b43c9ed434f7e6ea
2024-05-08 13:35:32 -07:00
andreasdamm 5318929581 Added ECU FW version for 2021 Lincoln Aviator Black Label Grand Touring (#32361)
old-commit-hash: 7ab39fb92c38987517350b8a5826982c6d8520b1
2024-05-07 21:49:52 -07:00
Adeeb Shihadeh f18c7e9b9d boardd: add debug flag for injecting SPI errors (#32346)
* pull out ll first

* errors

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2d838f95dabb0229dba01cd585d852e7ca5d47ff
2024-05-07 21:36:04 -07:00
Cameron Clough d1c726c6d7 Ford: use platform codes to fuzzy fingerprint (#31124)
* Ford: use platform codes to fuzzy fingerprint

TODO: write scripts/tests (print platform codes and version ranges etc.)

May close #31052

* get_platform_codes: fix return type

* add print_platform_codes.py script

* print_platform_codes: sort versions

* match_fw_to_car_fuzzy: use set comprehension, and fix typo

* Ford: add missing Mach-E fw

From the route 83a4e056c7072678/2023-11-13--16-51-33 (which is already
in selfdrive/car/tests/routes.py, added in #30691).

* add ford_fuzzy_fingerprint.ipynb notebook

* get_platform_codes: use regex to parse firmware

* test_ford: test_platform_codes_fuzzy_fw

* test_ford: use get_platform_codes in test_fw_versions

* match_fw_to_car_fuzzy: improve comments

* test_ford: add test_platform_codes_spot_check

* test_ford: add test_match_fw_fuzzy

* remove comment from notebook

* TestFordFW: remove engine ECU FW

* update print_platform_codes.py

* remove part number (unecessary)

* platform codes can just use platform hint and model year - software revision not useful

* fuzzy FP on the platform hint and model year hint range

* fix platform codes test

* update notebook

* add notebook

* explain model year hint better

* test part numbers again

* cleanup notebooks

* remove notebook

* cleanup match_fw_to_car_fuzzy and add comments

* update comment

* .

* Revert "remove notebook"

This reverts commit 5d4ca202f2a23601d5c829204119f36a58f2b451.

* add notebook back

* remove PSCM from PLATFORM_CODE_ECUS

ABS and IPMA are the best for uniquely matching, and the radar is always required

* Revert "remove PSCM from PLATFORM_CODE_ECUS"

This reverts commit b7baeac19c18b5aa0c31da52f12054f4bae6e1ff.

* fix from merge

* more fixes

revert

* FW_RE -> FW_PATTERN

* this can actually be set

* conventions

* just add

* convention

* refactor matcher, this brings it more in line with Hyundai. IMPORTANT NOTE:

NOTE THAT WE remove the separation for the different platform code model year hint ranges, I don't see that being a problem

* better/smaller test

* add test to catch overlapping platform codes

* remove nb

* not now

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 85c9fea5d8e3f5ee673317e15df958a7168a899d
2024-05-07 20:28:59 -07:00
Adeeb Shihadeh 4b93347a4c reduce severity of offroad temperature alert
old-commit-hash: cdf2e75cc314af694514077b659e5ba1d3782e8a
2024-05-07 15:58:59 -07:00
Adeeb Shihadeh 35215df6c0 remove Offroad_InvalidTime alert
old-commit-hash: 1fc3d9224e820e150dc382de1adcfd49fa972b42
2024-05-07 15:58:29 -07:00
Shane Smiskol 7b293f43c9 print_flags.py: clean up
always ensure current impl of something is the best!

old-commit-hash: 888b38c3db44a53b059565b4f863503dd5bcf6c1
2024-05-07 15:06:23 -07:00
Shane Smiskol 43cac3cf24 PlatformConfig: clean up and print all flags (#32369)
* script to print flags

* don't need

* SAL

* back

* fix
old-commit-hash: f597d63bf6f2b8c8cf9a48934a059ef25ec69cd7
2024-05-07 15:00:02 -07:00
Shane Smiskol 0e0550f59b Kia: add missing Carnival 2024 FW (#32365)
carnival 2024 FW
old-commit-hash: 3e7d9fa2febb061f226fc72cb9f7965398d41dbf
2024-05-06 17:10:12 -07:00
Shane Smiskol 40fea75562 debug test_models script fixes (#32362)
* some things were renamed without checking

* fix that
old-commit-hash: e5107b1eabc3a04cb097f0f17d5cf587eb387453
2024-05-06 15:01:06 -07:00
Shane Smiskol 70c31f51e6 [bot] Fingerprints: add missing FW versions from new users (#32357)
Export fingerprints
old-commit-hash: c05fc4872e83d77d749f2e196a953faf36438e8b
2024-05-06 13:47:20 -07:00
Shane Smiskol 668a34ae22 [bot] Fingerprints: add missing FW versions from new users (#32349)
Export fingerprints
old-commit-hash: 3bf70098772e99210ac189321feb8087a66f7225
2024-05-04 09:39:16 -07:00
Shane Smiskol dbdff45633 [bot] Fingerprints: add missing FW versions from new users (#32340)
Export fingerprints
old-commit-hash: 22be176b87503091444a5443363ce6f1e9ef673d
2024-05-03 10:46:57 -07:00
Shane Smiskol f2c0eb2388 athenad: set TOS field for proxy WebSocket (#32337)
set TOS
old-commit-hash: d7d31112121412cfdb9be5da2b61a9bbb2ee2a5a
2024-05-03 01:30:32 -07:00
Shane Smiskol 2dc96b6ee8 athenad: set a timeout on proxy WebSocket receive (#32336)
* useless

* Revert "useless"

This reverts commit 28f0bb9e9794d60eefba8063b47d8ca113308008.

* this forever hangs you disconnect (or 2 hours)

* same timeout as the global websocket

* Revert "same timeout as the global websocket"

This reverts commit 0bd0cb8a38a3e17960c1fae205311d86a9cf8feb.

* setting the timeout affects the entire websocket and disconnects, not just recv timeout

* fix that

* fix test
old-commit-hash: 09aeab3f77727a1e2ba25e1cf14a56882b4e5e29
2024-05-02 20:30:19 -07:00
Adeeb Shihadeh f8c730ef4e CPU budget (#32335)
* cpu budget

* comment

* new line
old-commit-hash: bf2e00a23382fede8608d75884ead3ff30ddaa9f
2024-05-02 12:09:34 -07:00
Adeeb Shihadeh a6faeb03ce adjust gps alert
old-commit-hash: 6ef95f7a91b33f7f554c0d41353c7f77fb2eb6b4
2024-05-01 11:35:20 -07:00
Harald Schäfer 375978d40b North Dakota Model (#32309)
* ND model

* 86d23b15-5c26-464d-9fb5-e857f025462c/700

* Model ref replay commit

* update ref again
old-commit-hash: b9994c7c95658024199ec8f6049c17ca2522bbc3
2024-04-29 17:42:49 -07:00
Shane Smiskol 4e2cdeba55 [bot] Fingerprints: add missing FW versions from new users (#32315)
Export fingerprints
old-commit-hash: 45c021955ac463eb16600d6e1a3b33a83d1010e7
2024-04-29 08:53:24 -07:00
Armand du Parc Locmaria 938759ebd1 commabody: ignore fcw alerts (#32301)
* ignore modelV2 and longitudinalPlan on the body to avoid fcw alerts

* move joystick_mode up because ignore depends on it

* revert and ignore fcw itself instead
old-commit-hash: adabd108e26767e6ed7ff6168d16742641281509
2024-04-26 20:04:10 -07:00
Jack Merrill 38c10a672a Subaru: Increase RPM Limit (#32299)
Increase the Subaru RPM limit in values.py, update panda submodule
old-commit-hash: 5783bdc513bcc9d1606b07c4adacb49236e04fb0
2024-04-26 16:07:17 -07:00
Shane Smiskol 41e46a8f96 [bot] Fingerprints: add missing FW versions from new users (#32300)
Export fingerprints
old-commit-hash: 98ff2dd76e867a4b0a959bc4f4206076f7546937
2024-04-26 14:16:13 -07:00
Adeeb Shihadeh 32ea4667c2 Revert "ui/cameraview: merge EGL Image Clearing code into clearEGLImages() (#32292)"
This reverts commit 44486989b061fbbe31aff217ec82e7ce7b604950.

old-commit-hash: d56f188854135ff4d1cf2cb6bf184a8301a82edd
2024-04-25 11:14:03 -07:00
Dean Lee d83b2f447d ui/cameraview: merge EGL Image Clearing code into clearEGLImages() (#32292)
old-commit-hash: 7e6dda546ee58d4cf05352f9ff9fab97b3e9464f
2024-04-25 11:05:45 -07:00
Dean Lee e93860f844 ui/network: add error handing for dbus call (#32164)
old-commit-hash: d7d378aeefb10b9194e14534b075615216b117af
2024-04-24 20:16:02 -07:00
Dean Lee e4d0f6da24 ui/network: add error handling for refreshFinished (#32167)
old-commit-hash: 3bcb6f82afa47405d70a3cfd6bfe7eab2fceb1b4
2024-04-24 20:15:37 -07:00
Dean Lee fd28ec25c6 ui/map: check valid before accessing PositionECEF (#31961)
check valid
old-commit-hash: 06c4a541da5ec703074024e75ab11713f3da39fd
2024-04-24 20:14:42 -07:00
Shane Smiskol 866aa9fbd6 fix uiview (#32290)
* fix uiview

* add DMoji!
old-commit-hash: 97dc444023eafbd1dfa45855edc27fbeb6909be5
2024-04-24 17:05:18 -07:00
Eric Brown 4007cbffb5 Add missing fingerprint migration for Escalade ESV (#32282)
Add fingerprint migration for CADILLAC ESCALADE ESV PLATINUM 2019
old-commit-hash: 7f916f2e9d7cb162524f57962e64b2939e1055f0
2024-04-22 18:21:51 -07:00
Shane Smiskol c72e487e1d VW: Add 3C chassis code for Passat (#32279)
* Add 3C for Passat in Australia

* add radar needed to fuzzy VIN match for b9783084b8aa0083
old-commit-hash: 6dcaeae3698b07e5bc28272a359d5381451439de
2024-04-22 18:20:14 -07:00
Shane Smiskol 8ba7442142 VW: add missing WMI for EU Atlas (#32280)
* test

* test is gonna be super platform specific

* need the radar to fuzzy fingerprint
old-commit-hash: 124e081fe16c85cc836b7291adbc9bfdcf3da932
2024-04-22 15:19:12 -07:00
Eric Brown cce0acbd9e Remove ASCM harness footnote from car docs (#32271)
* Remove ASCM harness footnote from car docs

* Re-add Footnote class

* fix

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 20c6cbc1d2c20b631a6133a10e447bba7406bba6
2024-04-22 12:22:48 -07:00
Shane Smiskol 21661e9ef1 [bot] Fingerprints: add missing FW versions from new users (#32270)
* Export fingerprints

* update
old-commit-hash: eb79fd552a963ce675d3eaec88ad7d00f447fd14
2024-04-22 12:22:37 -07:00