Commit Graph

8618 Commits

Author SHA1 Message Date
Justin Newberry
c50146837e Docker: merge opencl and base images (#31338)
* mergeem

* don't change workdir
old-commit-hash: ceecf39c54e95e1bf973ea221fb3c5e7f215aecb
2024-02-06 17:11:00 -08:00
Justin Newberry
572744128e test_models: cleanup by using new logreader (#31267)
* cleanup

* only check error

* this segment only

* fix

* fix

* keep this

* fix internal
old-commit-hash: 66dc7030de1b39bd814cc20091d22ec38976523b
2024-02-06 16:50:30 -08:00
gaanthony
322311a052 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>
old-commit-hash: 30dd1087ea556febcb0830cbe4b8c425206ef733
2024-02-06 16:00:24 -08:00
Tico Fortes
4152e83b3a Add fingerprint Hyundai Tucson Hibrid 2022 Europe (#31291)
old-commit-hash: 1185645271705cd93c4c021688c8913aa83a44b2
2024-02-06 15:55:01 -08:00
Shane Smiskol
325602a13e [bot] Fingerprints: add missing FW versions from new users (#31277)
Export fingerprints
old-commit-hash: d5821c681229fa4fbb0de6bade04e2aa1b736880
2024-02-06 01:47:51 -08:00
dblacknc
fd92c45b04 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>
old-commit-hash: 75ea3f3e3ab6d32d4f6b0179a5dc8bc8664e64d8
2024-02-06 01:10:10 -08:00
neverbread
966169cc18 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>
old-commit-hash: 769c044269b6599e718e5eb93be7f9ea8a786509
2024-02-06 00:56:02 -08:00
Maddog1929
1bfd430c6e 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
old-commit-hash: 90dbe61c7d42d6f25a9e34dc99ae49933ba670db
2024-02-06 00:43:41 -08:00
Jason Young
4f5965fe31 VW MQB: Add FW for 2024 Volkswagen Jetta (#30979)
* VW MQB: Add FW for 2024 Volkswagen Jetta

* update docs

* fix sorting
old-commit-hash: e6bace867ee6b472bb0f399dd860908135ba0d2d
2024-02-06 00:42:28 -08:00
Shane Smiskol
4cd2fbabe3 Ford: Add missing FW for Escape 2022 (#31321)
Add missing FW for a25d5d0b645d8bc3
old-commit-hash: ee16eefc1a1d865b2e3cdb7b887da9e8b8765cd3
2024-02-06 00:05:08 -08:00
Shane Smiskol
6171b1b6f3 Reapply "Ford: don't fingerprint on engine (#31195)" part 2 (#31320)
* Reapply "Ford: don't fingerprint on engine (#31195) part 2"

This reverts commit 0dccc2ab5776145bc3458d75c7c8b6ad51fff57d.

* add comment

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

---------

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

* not 7df

* cleaner

* whop
old-commit-hash: 618366be061024f9252043aab4a48194343690f8
2024-02-05 21:52:06 -08:00
Shane Smiskol
45d5f68e62 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.
old-commit-hash: 55cc3989d8958b48f34eb55f2a6f564fb4e2af86
2024-02-05 21:48:57 -08:00
Justin Newberry
ffdec489a0 update model replay ref (#31310)
update ref
old-commit-hash: 7eb9b9a277d374d0e98bc9bb29e50bdbcd41c0fb
2024-02-05 21:06:30 -08:00
Shane Smiskol
c3dc8a27f1 log vin request to qlog (#31314)
old-commit-hash: cd153e637631d8f4eeaf530dff7510ed6d73c071
2024-02-05 20:30:33 -08:00
Harald Schäfer
ff89f248d0 Certified Herbalist Model (#31294)
ab9921cb-6e0a-4816-bec5-ebb55d37a7f1/700
old-commit-hash: 06bdc69a0229bece7b60178c421feda329522585
2024-02-06 08:39:44 +08:00
Shane Smiskol
cb6cd39af6 Reapply "Ford: don't fingerprint on engine (#31195)" (#31303)
* Reapply "Ford: don't fingerprint on engine (#31195)"

This reverts commit 0dccc2ab5776145bc3458d75c7c8b6ad51fff57d.

* don't change the queries

* revert refs
old-commit-hash: 50a552ab8dea59c17c3591f7619ca6c0ff410443
2024-02-05 14:46:34 -08:00
Justin Newberry
a6ed630fb5 updated: close lock file on exit (#31285)
* with open

* those too

* just 1 file

* move this to another pr
old-commit-hash: fd07fc3ba483aca1c1bdbe6129756d4e223f2c32
2024-02-05 13:01:23 -08:00
Shane Smiskol
680169a4c9 Revert "Ford: don't fingerprint on engine (#31195)"
This reverts commit d104dcd9dbf3a79dbfca57dd0385ea6f2a44ab64.

old-commit-hash: 7694712cd6823a99c3f1c03270bb7167e4c1bdf9
2024-02-05 01:35:39 -08:00
Shane Smiskol
0f21d655cb car_helpers: don't log fingerprints as a dict (#31289)
Update car_helpers.py
old-commit-hash: 81f52f2e53f24a303e5bccb39af840a2718b2424
2024-02-02 23:45:28 -08:00
Shane Smiskol
5e4a177276 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
old-commit-hash: 011054030064dc4cf7ff6590681389fdfb66ae19
2024-02-02 23:43:30 -08:00
Greg Hogan
94b3f2d22a logging: make swaglog context match in python and c (#31288)
* logging: make swaglog context match in python and c

* add git context to athenad
old-commit-hash: d0a1fa636a9bf2f6137c4a61b27fa29f690864f6
2024-02-02 23:10:04 -08:00
Greg Hogan
14e12980f5 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
old-commit-hash: 7affba06d89b366d98f42c4ea3a2f904e6ef3357
2024-02-02 21:23:32 -08:00
Greg Hogan
b7edab29e6 athenad: return normalized origin in getVersion() (#31283)
old-commit-hash: 9ab374f3b05421af5978adc508981a7af5f9f4f4
2024-02-02 16:29:45 -08:00
Justin Newberry
fd799bc05a 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>
old-commit-hash: 0277fc5548bc87a17ae34b914df0593d034e5e94
2024-02-02 14:18:01 -08:00
Shane Smiskol
fee938a524 FW_QUERY_CONFIGS: type annotate (#31265)
* annotate

* fix

* clean up

* test

* clean up

* space

* fix
old-commit-hash: c9bd4e4c0df6a03daeb2968498a32f9caf248baf
2024-02-01 21:01:31 -08:00
Shane Smiskol
d18d0e31bc Mazda: add missing FW versions for CX9 2022 (#30725) (#31273)
* Adding CX9 engine ECU FW

* Adding cx92023 fingerprints for transmission

* add fingerprints

---------

Co-authored-by: Elshan <8066214+ekodikara@users.noreply.github.com>
Co-authored-by: Elshan <elshan.kodikara@stepglobal.com>
old-commit-hash: 33c93cc58316d46fe527ec887a40361c5ef3b0d4
2024-02-01 15:22:26 -08:00
Shane Smiskol
e2059a9293 fw_versions: type annotate test_brand_ecu_matches (#31272)
* test this

* we
old-commit-hash: 341f8420dbd309c8465e1872839baacd1c1f3438
2024-02-01 15:11:10 -08:00
Adeeb Shihadeh
d7aa7440e5 manager: remove RTC time pull (#31270)
old-commit-hash: 98564961cd5244b36d3371efaaab421a50716129
2024-02-01 14:00:18 -08:00
Hoang Bui
4c05358aad map: Transfer to MapLibre (#31185)
* change codebase

* compile

* add mapboxprovider

* works with map_renderer in c

* remove maplibre temp

* maplibre works

* cleanup build.sh

* x86 stuff

* add lib

* update release files

* don't need that

* tici build

* tici build

* add tici lib

* update refs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 08037594e27292ca755a211628f4141469347f82
2024-02-01 13:37:22 -08:00
Vivek Aithal
ac63e9fd51 CHEVROLET BOLT EUV 2022: Add a simple neural feed forward (#31266)
* add simple neural feed forward

* update refs

* do not sample during inference in op

* update refs
old-commit-hash: 619625625ce9dc67835aaaca266ccd66f63545e3
2024-02-01 12:30:43 -08:00
Vivek Aithal
80195f1432 LatControlTorque: Add more inputs (#31252)
* add history and state to the ff inputs

* add history

* resolve comments

* remove history, simplify

* don't compute lateral accel, roll comp always
old-commit-hash: 056b330e8bd1ffafdd0bd310782dd140c8f2174d
2024-02-01 04:12:48 -08:00
Shane Smiskol
55f88260d1 Mazda: use bus 0 to fingerprint (#31261)
* for testing

* switch OBD port to logging

* revert

* cmt

* cmt

* remove OBD query

* Update selfdrive/car/mazda/values.py
old-commit-hash: f0b6f489489731b4d968880d6d9e5a58dbc14035
2024-02-01 00:28:00 -08:00
Justin Newberry
05204fbde3 Create message mocking tools (#31249)
* add mocking tools

* fix map renderer

* use for power draw

* fix those

* whitespace

* rename to services

* fix the rate

* remove
old-commit-hash: 086c509fde806bb03f89765800d9667f4de6a372
2024-01-31 18:47:49 -08:00
Eric Brown
b2bd45ca58 GM: Fix wheel direction signals (#31258)
* Fix wheel direction signals

* Update name

* Add comment

* Remove signal value table

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* bump

* add 3

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1ab37454009d5a40e441350e1abaa615ab36ec6d
2024-01-31 18:45:10 -08:00
Justin Newberry
ab63a1b1ef test_athenad: create with_upload_handler decorator (#31250)
cleaner
old-commit-hash: 5c85925e9bc5baf709f4630545a76a11e044f936
2024-01-31 18:44:04 -08:00
Shane Smiskol
19b192faf3 Nissan: use bus 0 to fingerprint (#31243)
* Nissan: use bus 0 to fingerprint

* update refs

* switch OBD query to be logging instead, might want OBD logging for one more release
old-commit-hash: 7222eb3665aea9483fbaa672640c22b3f9856e22
2024-01-31 18:20:33 -08:00
Shane Smiskol
6bd77926ea [bot] Fingerprints: add missing FW versions from new users (#31245)
old-commit-hash: 5195f0a6240ec2f96b472d8ee758ddbbbc5243dd
2024-01-31 09:52:44 -08:00
Elshan
62ddf0ada2 Mazda: add missing FW versions for CX9 2022 (#30725)
* Adding CX9 engine ECU FW

* Adding cx92023 fingerprints for transmission

* add fingerprints

---------

Co-authored-by: Elshan <elshan.kodikara@stepglobal.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 883f9458eb6156d161075f9d77d152e8d2a8aaf6
2024-01-31 03:20:58 -08:00
Shane Smiskol
4d964e7557 Hyundai CAN FD: enable enhanced fuzzy fingerprinting for Sorento & Sorento Hybrid (#31242)
* allow fuzzy fingerprinting

* rm todo

* better cmt
old-commit-hash: e4e161f8dedce5b2c87f0e833681c53f2fb106a0
2024-01-31 00:52:49 -08:00
Shane Smiskol
85f1aea158 HKG CAN FD: Merge Sorento Plug-in Hybrid and Hybrid (#31241)
* merge sorento plug-in hybrid and hybrid

* format

* allow fuzzy fingerprinting

* rm todo

* Revert "rm todo"

This reverts commit f2457eb58f88f780b25625942dbd9c74202acbb8.

* Revert "allow fuzzy fingerprinting"

This reverts commit 91f143f3115e31107752a5e84d3f587e6917933f.
old-commit-hash: b4f958c13f221704012578518b00ab88a4e33faf
2024-01-31 00:41:57 -08:00
Shane Smiskol
db086e9cc7 Hyundai CAN FD: merge Sportage platforms (#31235)
* merge Tucson 4th gen!

* format fingerprints

* fix torque params

* fix

* detect CANFD hybrid with ACCELERATOR_ALT

* passes

* add test

* pass test

* cmt

* Revert "pass test"

This reverts commit 5f48ab1f6e6569def1cbbc92c9c0dd4ea5eebbe2.

* combine sportage hybrid

* merge sportage

* format
old-commit-hash: 2f4cadc6bfb53a6ac25040b0f2aa181ee601d106
2024-01-31 00:19:15 -08:00
Shane Smiskol
550fc4a726 Hyundai CAN FD: merge Tucson and Tucson Hybrid (#31238)
* combine tucson and tucson hybrid can fd

* format fingerprints
old-commit-hash: e92e856f7ad5f19692b6328ab0d89027c1495f2c
2024-01-30 23:06:24 -08:00
Shane Smiskol
449085b764 Hyundai CAN FD: detect hybrid (#31237)
* detect can fd hybrid

* remove from set

* prevent EV & hybrid somehow
old-commit-hash: e5a8ddc3d0c5f7df7655409ed8ffae182ec57ab6
2024-01-30 22:43:56 -08:00
Shane Smiskol
25aef9967f Hyundai: use hybrid & ev flags (#31236)
* hyundai: use hybrid & ev flags

* Update ref_commit

* todo

* match order
old-commit-hash: b40660692b7f713cde1265d73d4a271a24e85221
2024-01-30 21:57:29 -08:00
Shane Smiskol
1b79d709b9 Revert "docs: fix car docs video icon" (#31234)
old-commit-hash: 9c48e85c786d1c7551abada628635b78c5c60fb9
2024-01-30 19:04:43 -08:00
Shane Smiskol
8236f72a62 docs: fix car docs video icon (#31218)
* fix yt icon on docs.comma.ai

* bigger
old-commit-hash: 97aa08d8dea2a6941a19d13edbeffb994725cbc3
2024-01-30 18:46:46 -08:00
Shane Smiskol
fa99682e32 Toyota: fix rare panda standstill mismatch (#31232)
* fix

* clean up

* just use 2x lower threshold so we're not on edge again
old-commit-hash: bd1678e71f700126558dfa771544f90fa6d3e406
2024-01-30 16:06:28 -08:00
Shane Smiskol
7cdbe5f6f5 Fingerprints: add missing FW versions from users for Toyota, Honda, Chrysler, Mazda, Ford [bot] (#31231)
old-commit-hash: 0176c870eaf5c59e076811b607bf7f0f5f6d82cc
2024-01-30 13:57:52 -08:00