Commit Graph

8267 Commits

Author SHA1 Message Date
Harald Schäfer 3f1086c410 Optimus Prime Model 🤖 (#29752)
* b449f295-7e40-4f97-96a6-d858815955e5/700

* make it compile b449f295-7e40-4f97-96a6-d858815955e5/700

* simpler - b449f295-7e40-4f97-96a6-d858815955e5/700

* feature_len changed

* 0a833ab4-9fc7-4e51-a686-9bce3eafcb91/700

* Revert "0a833ab4-9fc7-4e51-a686-9bce3eafcb91/700"

This reverts commit 41708b88447cfcf302b16f21f0caa69450bbd3df.

* 0a833ab4-9fc7-4e51-a686-9bce3eafcb91/700 again

* Update ref

* update ref

---------

Co-authored-by: Yassine <yassine.y10@gmail.com>
old-commit-hash: 3799fe46b3a629e491d4b8498b8ae83e4c88c304
2023-09-21 13:51:12 -07:00
Justin Newberry 2e36724cd2 Tests: power_monitoring disable nonblocking writes (#29994)
* better error logging

* fix power monitoring test

* revert that

* properly patch it
old-commit-hash: f69a45faba2789a6bcca8eca62acd316ff79f7a6
2023-09-20 16:51:46 -07:00
Terry Huang fa41029b01 Chinese translations update (#29993)
old-commit-hash: feeb827369b95a18bd2e163b4399703fffce1363
2023-09-20 13:58:37 -07:00
Shane Smiskol fb8b1fba85 HKG: remove duplicate FW version
old-commit-hash: 897566957d70b179254ac53287fef402ff692602
2023-09-20 03:00:05 -07:00
Shane Smiskol a48dbc33f6 Honda: add missing Ridgeline 2021 FW version (#29991)
add missing combo meter
old-commit-hash: 16f0829404947da8bdc248cf60086c053c171537
2023-09-20 02:18:57 -07:00
kiwicolt 0ae33cdf2c HKG: FW for ICE Kia Sportage 2022/23 Australia and New Zealand (#29990)
* Update values.py

* Update values.py

Added Kia Sportage 2022/23 for Australia and New Zealand.

* Update values.py

Added Kia Sportage for AUS and NZ
old-commit-hash: 28e384e7a388fff80031d03e1d58afa6908db14f
2023-09-20 02:07:09 -07:00
Jason Wen 4a07833410 HKG: Add FW Versions for Kia Carnival 2024 (#29962)
old-commit-hash: 6a4c4836b845d0a6d405e310fa2169a85e45ea16
2023-09-20 00:29:25 -07:00
Saber e629577389 VW MQB: Add FW for 2019 Skoda Superb (#29955)
route name:0bbe367c98fa1538|2023-09-18--12-06-13--0
old-commit-hash: 9959a93a4a612cfae9695a08daefc8080bb46c9e
2023-09-20 00:25:24 -07:00
Adeeb Shihadeh 6d8694317c Update Python packages and pre-commit hooks (#29974)
* Update Python packages and pre-commit hooks

* fix linter

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: cd75dcb03fa282d461544ef097f8701f1aa5578f
2023-09-19 16:24:58 -07:00
Shane Smiskol ac0c7b01c8 Revert "Toyota: use torque control for Japanese-made 2023 RAV4" (#29978)
Revert "Toyota: use torque control for Japanese-made 2023 RAV4 (#29896)"

This reverts commit 41a0ddf58e17eefe1694cce013ce67213f644dc7.
old-commit-hash: b50a769ae9f1e13ad37d2dfa94896b58a301a703
2023-09-19 14:29:54 -07:00
Adeeb Shihadeh 1925b7e9bf docs: don't show panda kit in shop (#29963)
old-commit-hash: 747a6149b41a91a9438a7f735b057007da73ac9a
2023-09-18 16:30:11 -07:00
royjr 6499dc4aa1 ui: add missing Arabic translations & show in UI (#29881)
* Update languages.json

* update_translations.py

* update_translations.py + vanish

* fix unfinished

* use arabic language for name and move down based on similar

* goreless

* better

* Revert "better"

This reverts commit f19f6cb5ba31209bd2659a16953fcc20b3ce31e7.

* better again
old-commit-hash: da4d4cff7dd400ac29b1ff40c1df4cdd6146e28c
2023-09-18 01:06:39 -07:00
Alexandre Nobuharu Sato e974ef9133 Duplicated #include in settings.cc (#29951)
old-commit-hash: 8a0711a67d8bc00913db841f65f443e7472fd699
2023-09-17 15:19:43 -07:00
Narayan Babu 798d1dd91e Add Tiguan 2019 fingerprint (#29892)
* Added new ECU fingerprints

* Update values.py

formatting, syntax
old-commit-hash: 5831c05a11fbbab79cbd0c9d842b8931929b6268
2023-09-16 00:19:20 -07:00
venmer2 9a6d8dd8b1 VW: missing FW for Tiguan 2019 (#29943)
* Update values.py for VW Tiguan 2019 SEL

Added all ECU Firmware Versions for VW Tiguan 2019 SEL model

* rm duplicates

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ce608d03b7b258fee6248911a0aa4718d8123043
2023-09-15 23:24:30 -07:00
Quake4net 7d1add15e3 VW: fingerprint for Crafter MK2 (#29926)
* Update values.py

Added Crafter_MK2 fwVersions: Problem there where two engine ecu's with the same address, I added both into the fwVersion list.

* Update values.py

deleted the hyundai engine ecu fwVersion - Discord told me to ignore Hyundai parts so I deleted that one line again.
old-commit-hash: f7d49ecca1fff0f680080919f87af790da2cd455
2023-09-15 23:11:20 -07:00
Harald Schäfer 5bb0112fdd Test modeld: 3s enough for modeld startup (#29936)
* Test modeld: 3s enough for modeld startup

* Always fails when you send frames before modeld is ready

* Wait for modeld to read
old-commit-hash: ef50b4fdacd64d748bd80db26645c8dc88843b37
2023-09-15 14:59:46 -07:00
next176 03ce444eb9 Hyundai Ioniq 6 "EUR" fwdCamera fingerprint (#29930)
* Update values.py

Hyundai Ioniq 6 Premium AWD 2023 / EUR fingerprint

* Update routes.py

Ioniq6 EUR model

* Update selfdrive/car/tests/routes.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 22e7aa3d985d273d0a66198d9549f1778d79ed83
2023-09-15 14:05:44 -07:00
Justin Newberry 63775e0c61 test_locationd: don't redownload logs (#29929)
don't redownload logs
old-commit-hash: 7e54882458c0e9e6111f4523ef93983650cc816b
2023-09-15 13:11:39 -07:00
Shane Smiskol 173e95c37d bump opendbc (#29922)
* change signals

* bump opendbc

* bump

* bump
old-commit-hash: 7ceccaf6c31a194bacb9eaa96cad74bb8a148567
2023-09-15 00:30:49 -07:00
Shane Smiskol 600c5e2644 test_models: check controlsd events (#29907)
* test_moedls: check controlsd events

* clean up

* sort

* controlsd modifies CP

* fix

* can use any segment now

* final fix

* use constant
old-commit-hash: 1410a1150c9909bc643df4e2cacbefa721d3b6cb
2023-09-14 20:20:49 -07:00
Shane Smiskol 44d4f1f615 Toyota: use torque control for Japanese-made 2023 RAV4 (#29896)
* use torque for 2023 RAV4s that allow it

* FW

* better cmt

* better

* better values comment

* switch

* add torque params

* simpler

* better to use steerControlType

* ???

* fix condition

* adjust params

* pid is only for old cars

* add comment

* move comment up

* one if

fix

* invert

* better comment

* better here

* for

* add torque hybrid test route

* fix condition

* this might be simpler

* back to one if

fix

* better name

* other way

* this reads so much better

* last change

* better

* did i break ci?
old-commit-hash: 9dfd0579d4bcf4065ee289a2486bb77f0700655a
2023-09-14 14:48:12 -07:00
Vivek Aithal 244a2fc793 locationd: Unit tests for different scenarios (#29908)
* add different scenarios for locationd

* add locationd scenario tests to unit tests
old-commit-hash: e9edf1300ac486e1e1f79035b14a648d41f0d16d
2023-09-14 13:59:21 -07:00
Vivek Aithal 370d912053 liblocationd: No longer used (#29909)
remove liblocationd
old-commit-hash: 01011c6c1d8a211092d8f90658497f50ebd06bf1
2023-09-13 18:59:32 -07:00
Jason Wen 44e4114312 HKG: Car Port for Kia K8 Hybrid 2023 (HDA2) (#29899)
* HKG: Car Port for Kia K8 2023 (HDA2)

* Fix release docs

* add test route

* engaged segment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 0d3cc2ae04e5578da45dd5632791cc08977cfb59
2023-09-13 15:20:03 -07:00
Jason Wen d644d1db0b Hyundai: Car Port for Azera 6th Generation (#29876)
* Hyundai: Car Port for Azera 2022

* harness k

* not crc8

* use gen

* add test route

* Middle East only

* Revert "Middle East only"

This reverts commit 1abe795ad00d10344761e99f415a1cfc14f4c163.

* rename to 6th gen

* sorting

* has a little less torque

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 748eb4a7c7c8f3eae22659f450ba50ba0a8f3fb1
2023-09-13 02:22:04 -07:00
Erich Moraga b5bfa999af VW MQB: Add missing FW versions for 2018 Skoda Superb (#29792)
VW MQB: Add SRS, transmission, & engine ECU versions for 2018 Skoda Superb

`@Gottmoz#6511` 2018 Skoda Superb  DongleID/route 54ada937747ef8ca|2023-09-06--06-40-46
old-commit-hash: 9b959dc86e1fb9ba04bca1b3dc4139d9f643c325
2023-09-12 01:44:59 -07:00
Shane Smiskol 9f8d7c91de Hyundai CAN FD: disallow Manual Speed Limit Assist for EVs (#29888)
* bump opendbc

* block MSLA

* EV only

* Update selfdrive/car/hyundai/carstate.py

* Update selfdrive/car/hyundai/carstate.py

* Update selfdrive/car/hyundai/carstate.py

* Update selfdrive/car/hyundai/carstate.py
old-commit-hash: 279377ec0b8fcd6deae37143f6d333d2a49a2ee7
2023-09-12 01:34:33 -07:00
Shane Smiskol 8f7c39faf1 Hyundai CAN: log nonAdaptive cruise state (#29880)
* log nonAdaptive

* bump opendbc

* test labeler

* test labeler 2

* revert
old-commit-hash: 3d60e8a2a056fc798c23734377f1e3883b115a32
2023-09-12 00:09:09 -07:00
Vivek Aithal 56f4c138cd Alerts: More understandable locationd, paramsd alerts (#29831)
* add locationd paramsd alerts

* remove more additions, just renames

* update refs

* Update selfdrive/controls/lib/events.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/controls/lib/events.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* resolve comemnts

* update cereal

* update refs

* remove nosensor in new alerts

* bump cereal

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 00d1c682b0a6e62652dbfe4686c674539fe82d8f
2023-09-11 16:28:42 -07:00
freddiebd 84ae95af8b VW MQB: Add FW for 2019 Golf R Estate (#29843)
old-commit-hash: 30084bb1beee0e8b62ee049016a482420389dfb5
2023-09-11 14:11:32 -07:00
Jason Wen 0098063877 Hyundai longitudinal: enable for KONA_EV (#29779)
* Hyundai longitudinal: enable for `KONA_EV`

* add test route

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 253d8ccb85b26e02f676907263963d8b5d9e1534
2023-09-10 20:48:41 -07:00
Jason Wen 6615e88e03 HKG: Add FW Versions for Kia Carnival 2024 (#29840)
old-commit-hash: 72d383262dbedda123ac9e7ba8ae85901e75f1c9
2023-09-10 20:33:02 -07:00
Adeeb Shihadeh 52752a3131 jenkins speedup (#29869)
* jenkins speedup

* cleanup
old-commit-hash: d0361485504fe5af47a9e8ffaf0b64cfcdf03ac9
2023-09-10 16:47:07 -07:00
Lee Jong Mun 89e5ee45ca cleanup remnants of LQR and INDI tuning (#29860)
* not use 'indi' cleanup

* bump cereal

* rm more

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 238f9d65dbc17613c2a045b5741483c3f9a7659d
2023-09-10 16:30:13 -07:00
Shane Smiskol 5cc2baeb4d Toyota: get platform codes & docs (#29853)
* add get_platform_codes function

* add print_platform_codes.py

* add test

* not optional

* constant

* remove optional

* more
old-commit-hash: 06233ca331e5f30adc18acb956274abd9e974657
2023-09-09 19:48:44 -07:00
Mitchell Goff 3e1903a6cb Converted onnx runner to python (#29856)
old-commit-hash: 9cc00c2101b6deae86ef9f25d4c79d2f79409e49
2023-09-08 16:45:38 -07:00
Mitchell Goff 65fc9f14b3 Update model input names to match onnx inputs (#29855)
Updated model input names to match onnx inputs
old-commit-hash: 2d69f3d63e5462e8b095fab097c4aff00bd1c83a
2023-09-08 16:06:16 -07:00
Shane Smiskol 8ca1aceb8c Hyundai: add platform code fuzzy FW test (#29847)
add test to assert no crashing
old-commit-hash: c61479b1aebcf9b713865d18b3e37947c821cca6
2023-09-08 15:15:22 -07:00
Kacper Rączy f8c6ebd3ad docker: multiarch images (amd64/aarch64) (#29691)
* arch specific tags

* merge multiarch script

* arm64 build and merge jobs

* update tag script

* casual ci test

* change image to 2204

* docker -v test

* arch specific naming

* Remove test_buildjet

* build -arch images only when CURRENT_ARCH_BUILD is set

* support new tags in tag_multiarch

* Toggle CURRENT_ARCH_BUILD on in ci

* Docker common

* Fix condition

* Fix path to docker_common

* Add more stuff to common

* Add build_arm job

* composite job for building

* Run checkout before build composite

* add shell arg

* move timeout to selfdrive_tests

* TARGET ARCHITECTURE var

* Support TARGET_ARCHITECTURE in workflow

* Rewrite to Single build job with matrix

* Remove shebang from docker_common

* Attempt for fix build matrix

* Remove setup arch

* build matrix for docker push

* Use 2vcpu for arm build

* 2vcpu for docker_push too

* temporarly unlock docker_push

* Remove requirement for target arch when pushing

* Unset target architecture in docker_push cl

* fix sha tags

* Rename action to compile-openpilot

* move push_image line to tag_multiarch step

* arch suffix for scons cache

* cache_key_prefix for setup-with-retry

* Re-disable docker_push on non-master

* Add newlines
old-commit-hash: 1344a93a356e4734fedb5f717778a8b1a273c74b
2023-09-08 14:46:39 -07:00
Adeeb Shihadeh c37ccd4565 mock car cleanup (#29835)
* mock car cleanup

* fix
old-commit-hash: fb1b1f15aaaf401b20f790e61aebeb1b6d2c9249
2023-09-08 14:03:14 -07:00
Justin Newberry 759ab03b03 Ruff: disallow non-openpilot imports (#29841)
old-commit-hash: 110cfef1c2a56b333b684cd7ae98b321ae0e72eb
2023-09-08 10:43:02 -07:00
Jason Wen 11d6678644 Hyundai: Add FW Versions for Kona Electric 2023 (#29805)
* Hyundai: Add FW Versions for Kona Electric 2023

* Update selfdrive/car/hyundai/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d9ce8ab7163f7dc60983a5b45600824477a5bcd0
2023-09-08 00:39:48 -07:00
Shane Smiskol dcea02d4dc Hyundai: add comment about date codes in ABS FW
old-commit-hash: 3a7a42cf5b6f8d4e5f6030ef8da2a4db1a6757c4
2023-09-08 00:34:27 -07:00
Dean Lee f48dc2b0ef common/params: not copyable (#29834)
old-commit-hash: 7816edda57894c7967fcd931294a31d000e6508c
2023-09-07 21:44:58 -07:00
Mitchell Goff 5732002296 Rewrite dmonitoringmodeld in python (#29740)
* Added dmonitoringmodeld.py

* Removed dmonitoringmodeld.cc

* Use ModelRunner helpers from runners/__init__.py

* Fixed DriverStateResult field ordering

* Some bug fixes

* Set calib input

* Look ma, no loop!

* Bump dmonitoringmodeld cpu usage in test_onroad

* Fixed memory leak caused by np.ctypes.data_as

* Formatting fixes

* chmod +x

* remove USE_ONNX_MODEL

* Realtime priority 1, formatting fixes
old-commit-hash: 503fa121ee83469763e9386b9e5df7a733693e2c
2023-09-07 19:46:43 -07:00
Shane Smiskol 2892856291 Hyundai: remove bad Kona EV 2022 query responses
old-commit-hash: b822a57ed66bf0dca1403319c193bfbb58a7a428
2023-09-07 19:24:19 -07:00
Justin Newberry 5b1e60f5da Pytest: enforce a default timeout (#29793)
* pytest: enforce default timeout

* disable that for now

* 30 second timeout on tests
old-commit-hash: b0a71d45536d6fe0c0e8365913c6ffbc64a58b1b
2023-09-07 17:53:51 -07:00
Justin Newberry 37e4b2cba9 CI: run unittests in parallel with xdist (#29756)
* parallel tests

* review suggesions

* add to pyproject

* add a bit more buffer on that

* fix rare athena issue

* remove from pypoetry
old-commit-hash: dde225221e8fa0063bb52786232be33b8374dfcd
2023-09-07 16:29:36 -07:00
Justin Newberry 1b35278d95 Subaru: remove 2020+ temporary steering faults (#29116)
* subaru steer faults

* it takes a bool now

* Update selfdrive/car/subaru/carcontroller.py

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

* that was removed

* should be abs

* bump panda

* bump panda

* subaru faults

* add fixme

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

* review suggestions

* still want zero steer when lat not active

* bump submodules

* move it under the non-preglobal section

* better comment for steer limited

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

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fb06b98667483bbf9d62b16d7f5aa5e50721f597
2023-09-07 15:28:46 -07:00