Commit Graph

8360 Commits

Author SHA1 Message Date
Justin Newberry 85fe673ee8 bump uploader cpu (#31373) 2024-02-08 09:36:33 -08:00
Jason Wen fabb739dbe HKG: Add missing FW versions for Kia Forte 2023 (#30761)
* HKG: Add FW versions for Kia Forte 2023

* more fw

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-02-07 23:45:08 -08:00
Shane Smiskol 74ec33f7c7 IsoTpParallelQuery: type hinting (#31370)
* start typing

* fixes

* we only plan on using this for lists

* sort

* this is the correct way to type it

* it knows this!

* it's getting smarter
2024-02-07 22:53:55 -08:00
Shane Smiskol b6d195f010 VIN: fix rx addr (#31369)
fix rx vin addr
2024-02-07 21:43:52 -08:00
Justin Newberry c79d1e0192 test_manager: ensure test independence (#31364)
* ensure independent

* still run 10- times

* need index

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-02-07 20:52:21 -08:00
Shane Smiskol 0355ceaeac fix static analysis 2024-02-07 19:57:33 -08:00
Shane Smiskol 1b0a4746eb test_fw_fingerprint: remove timeout
it's fast now
2024-02-07 19:47:20 -08:00
James d265f5a6ab Re-use existing params declaration in onboarding (#31363)
Re-use existing params declarations in onboarding
2024-02-07 17:44:57 -08:00
James 75b72c2c4b Fix whitespace (#31361) 2024-02-07 17:27:16 -08:00
Justin Newberry e6f42fa6b3 test_time_to_onroad: log events after engagability/timeout (#31362)
log engagability

Co-authored-by: Comma Device <device@comma.ai>
2024-02-07 17:25:17 -08:00
Justin Newberry 2e7ed5bd88 add loop_until_fail helper (#31360)
* helper

* remove count
2024-02-07 17:07:01 -08:00
Justin Newberry 4fea2a343a test_time_to_onroad: log events after onroad/timeout (#31359)
* log events

* only on fail
2024-02-07 17:05:43 -08:00
Shane Smiskol 768fee7e44 [bot] Fingerprints: add missing FW versions from new users (#31358)
Export fingerprints
2024-02-07 16:45:03 -08:00
Shane Smiskol 08c3107163 [bot] Fingerprints: add missing FW versions from new users (#31352)
Export fingerprints
2024-02-07 15:46:58 -08:00
Justin Newberry 6a463503a7 add cd for jenkins replacement scripts (#31355)
fix dirs
2024-02-07 15:40:36 -08:00
Nelson Chen b234f5abef Update Lexus LC Convertible Steer Ratio to 13 (#31354)
https://media.lexus.co.uk/wp-content/uploads/sites/3/2021/06/1612190405210201MLCConvertibleTechSpec.pdf

Minor follow-up to port
2024-02-07 12:34:45 -08:00
Nelson Chen 879e2521ac Lexus LC 2024 (#31199)
* Initial pass

* Add physical measurements for LEXUS_LC_2024

* Add new test route for TOYOTA.LEXUS_LC_TSS2

* Add new public-OK test route for TOYOTA.LEXUS_LC_TSS2

* update docs

* | not /

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
2024-02-07 11:45:12 -08:00
Justin Newberry 8f67d3cab9 jenkins: remove pc / car tests (#31353)
* move to scripts

* clean first

* cant have test_*?

* move
2024-02-07 11:33:52 -08:00
Shane Smiskol 8f5dcb3019 HKG CAN FD: potentially get VIN without OBD port on some platforms (#31348)
* add cluster

* think this works

* update refs

not 1

* only add the new address

* bb

* comment
2024-02-07 00:23:16 -08:00
Shane Smiskol fabec99645 Hyundai: log camera manufacture date (#31345)
* log manufac date

* oof

* should be safe

* update refs
2024-02-07 00:07:01 -08:00
Shane Smiskol bcd29a2b8a Hyundai: add PT queries for all ECUs (#31334)
* We never had any bus 0 logging queries for CAN!

* should be logging

* try all, and try on can fd as well

* update refs

* oof forgot about hda2 can fd where pt is bus 1

* sheesh

* fix the timing

* fix ref
2024-02-06 20:37:26 -08:00
Shane Smiskol 4ec0ed311c FW query timing test: fix total reference time (#31344)
* We never had any bus 0 logging queries for CAN!

* should be logging

* try all, and try on can fd as well

* update refs

* oof forgot about hda2 can fd where pt is bus 1

* sheesh

* fix the timing

* not here

* revert

* this just simply measured the total time of all the brands with aux queries (1.25s)

* clean up
2024-02-06 20:10:06 -08:00
Shane Smiskol a07259d765 HKG: mark queries as logging (#31343)
* should be logging

* fix cmt
2024-02-06 19:37:15 -08:00
Justin Newberry ceecf39c54 Docker: merge opencl and base images (#31338)
* mergeem

* don't change workdir
2024-02-06 17:11:00 -08:00
Justin Newberry 66dc7030de test_models: cleanup by using new logreader (#31267)
* cleanup

* only check error

* this segment only

* fix

* fix

* keep this

* fix internal
2024-02-06 16:50:30 -08:00
gaanthony 30dd1087ea Update fingerprints.py - for 2023 Kia Sorento X-Line SX Prestige (#31286)
* Update fingerprints.py - for 2023 Kia Sorento X-Line SX Prestige

* Update fingerprints.py - fix file for unit tests

* Update fingerprints.py

trailing

---------

Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
2024-02-06 16:00:24 -08:00
Tico Fortes 1185645271 Add fingerprint Hyundai Tucson Hibrid 2022 Europe (#31291) 2024-02-06 15:55:01 -08:00
Shane Smiskol d5821c6812 [bot] Fingerprints: add missing FW versions from new users (#31277)
Export fingerprints
2024-02-06 01:47:51 -08:00
dblacknc 75ea3f3e3a Add fingerprint and car info for 2021 Kia Niro PHEV (#31275)
* Add 2021 Kia Niro Plug-in Hybrid

* Added CAR.KIA_NIRO_PHEV_2021

* Added CAR.KIA_NIRO_PHEV_2021

Created new block and moved 2022 model to it as well, with correct mass and steerRatio values.

* Added 2021 Kia Niro PHEV

* Added 2021 Kia Niro PHEV

For now, using 2020 Niro EV torque data

* Update values.py

Add '21 Kia Niro PHEV to HYBRID_CAR for gas signal and DBC info

* Test route for 2021 Kia Niro PHEV

* Add public test route for 2021 Kia Niro PHEV

* Fixed typo in test route for 2021 Kia Niro PHEV

* Move '21 Kia Niro PHEV car info under '22

...and remove other mention of '21 as distinct car

* Added '21 Kia Niro PHEV fingerprint under '22

...and removed separate car definition

* Removed '21 Kia Niro PHEV as separate car, now under '22

* Removed '21 Kia Niro PHEV, now under '22 fingerprint

* Removed test route for '21 Kia Niro PHEV

* Update values.py

Missed removing one more reference to '21 Kiro Niro PHEV, consolidating under '22.

* Update selfdrive/car/hyundai/interface.py

* Update selfdrive/car/hyundai/fingerprints.py

* Apply suggestions from code review

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-02-06 01:10:10 -08:00
neverbread 769c044269 Hyundai: add FW for 2018 Elantra GT Sport (#30732)
* Update values.py

* we really gotta get fuzzy FP for these date codes

* format

* rc

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-02-06 00:56:02 -08:00
Maddog1929 90dbe61c7d Add fingerprint for 2018 Genesis G90 (#31271)
* Update fingerprints.py

* Update fingerprints.py

* Update fingerprints.py

* Update fingerprints.py

* Update fingerprints.py

* Update fingerprints.py

* Update fingerprints.py

* Update values.py

* Update values.py

* Update fingerprints.py

* Update values.py

* Update values.py

* Update fingerprints.py

changed formatting of FW value to match existing convention and removed extra FW value no longer being shown in carParam logs
2024-02-06 00:43:41 -08:00
Jason Young e6bace867e VW MQB: Add FW for 2024 Volkswagen Jetta (#30979)
* VW MQB: Add FW for 2024 Volkswagen Jetta

* update docs

* fix sorting
2024-02-06 00:42:28 -08:00
Shane Smiskol ee16eefc1a Ford: Add missing FW for Escape 2022 (#31321)
Add missing FW for a25d5d0b645d8bc3
2024-02-06 00:05:08 -08:00
Shane Smiskol dd6065c33b Reapply "Ford: don't fingerprint on engine (#31195)" part 2 (#31320)
* Reapply "Ford: don't fingerprint on engine (#31195) part 2"

This reverts commit 7694712cd6.

* add comment

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2024-02-05 23:57:46 -08:00
Adeeb Shihadeh cbd46802b0 fix bootlog count (#31319) 2024-02-05 23:00:45 -08:00
Shane Smiskol 618366be06 get_vin: respond to full 11-bit diagnostic address range (#31317)
* fix

* not 7df

* cleaner

* whop
2024-02-05 21:52:06 -08:00
Shane Smiskol 55cc3989d8 Ford: add ABS address to get VIN without OBD port (#31308)
* consider ford abs

* cmts

* fix

* who

* Revert "who"

This reverts commit eef45b147fab715a9f35b9712e8b9d7ebb1b2fdf.

* this doesn't work correctly

* add cmt

* fix

* Revert "fix"

This reverts commit 60dfe09c426e74293711df9e2f3b2f75cf3a1da9.
2024-02-05 21:48:57 -08:00
Justin Newberry 7eb9b9a277 update model replay ref (#31310)
update ref
2024-02-05 21:06:30 -08:00
Shane Smiskol cd153e6376 log vin request to qlog (#31314) 2024-02-05 20:30:33 -08:00
Harald Schäfer 06bdc69a02 Certified Herbalist Model (#31294)
ab9921cb-6e0a-4816-bec5-ebb55d37a7f1/700
2024-02-06 08:39:44 +08:00
Shane Smiskol 50a552ab8d Reapply "Ford: don't fingerprint on engine (#31195)" (#31303)
* Reapply "Ford: don't fingerprint on engine (#31195)"

This reverts commit 7694712cd6.

* don't change the queries

* revert refs
2024-02-05 14:46:34 -08:00
Justin Newberry fd07fc3ba4 updated: close lock file on exit (#31285)
* with open

* those too

* just 1 file

* move this to another pr
2024-02-05 13:01:23 -08:00
Shane Smiskol 7694712cd6 Revert "Ford: don't fingerprint on engine (#31195)"
This reverts commit 1d1c9936cf.
2024-02-05 01:35:39 -08:00
Shane Smiskol 81f52f2e53 car_helpers: don't log fingerprints as a dict (#31289)
Update car_helpers.py
2024-02-02 23:45:28 -08:00
Shane Smiskol 0110540300 Test car interfaces: init controllers (#31282)
* not pytest?

* copy what build release does

* test controls step with CI and lat/long controllers, car controller.update, etc

* clean up

* not needed

* not here

* here

* better cmt

* fix test_fuzzy

* see what's failing

* need conftest for OPENPILOT_PREFIX to work!

* up

* clean up

* test

* fix

* params put is slow

* stash

* Revert "stash"

This reverts commit 22cc9f814c0699f7046970763663205907f2890b.

* stash

bad

* just freaking merge

* sort

* rm
2024-02-02 23:43:30 -08:00
Greg Hogan d0a1fa636a logging: make swaglog context match in python and c (#31288)
* logging: make swaglog context match in python and c

* add git context to athenad
2024-02-02 23:10:04 -08:00
Greg Hogan 7affba06d8 simplify git remote is comma check (#31284)
* simplify git remote is comma check

* cast to str

* eliminate default and always return string

* add type annotation for cache decorator

* fix up default handling
2024-02-02 21:23:32 -08:00
Greg Hogan 9ab374f3b0 athenad: return normalized origin in getVersion() (#31283) 2024-02-02 16:29:45 -08:00
Justin Newberry 0277fc5548 Pytest: consistent hardware state for tici tests (#31279)
* consistent hardware

* consistent hardware

* moved

* this too

* ruff

* s

* duplicated

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-02-02 14:18:01 -08:00
Shane Smiskol c9bd4e4c0d FW_QUERY_CONFIGS: type annotate (#31265)
* annotate

* fix

* clean up

* test

* clean up

* space

* fix
2024-02-01 21:01:31 -08:00