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: 3799fe46b3
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: f69a45faba
2023-09-20 16:51:46 -07:00
Terry Huang
fa41029b01 Chinese translations update (#29993)
old-commit-hash: feeb827369
2023-09-20 13:58:37 -07:00
Shane Smiskol
fb8b1fba85 HKG: remove duplicate FW version
old-commit-hash: 897566957d
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: 16f0829404
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: 28e384e7a3
2023-09-20 02:07:09 -07:00
Jason Wen
4a07833410 HKG: Add FW Versions for Kia Carnival 2024 (#29962)
old-commit-hash: 6a4c4836b8
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: 9959a93a4a
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: cd75dcb03f
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: b50a769ae9
2023-09-19 14:29:54 -07:00
Adeeb Shihadeh
1925b7e9bf docs: don't show panda kit in shop (#29963)
old-commit-hash: 747a6149b4
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: da4d4cff7d
2023-09-18 01:06:39 -07:00
Alexandre Nobuharu Sato
e974ef9133 Duplicated #include in settings.cc (#29951)
old-commit-hash: 8a0711a67d
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: 5831c05a11
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: ce608d03b7
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: f7d49ecca1
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: ef50b4fdac
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: 22e7aa3d98
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: 7e54882458
2023-09-15 13:11:39 -07:00
Shane Smiskol
173e95c37d bump opendbc (#29922)
* change signals

* bump opendbc

* bump

* bump
old-commit-hash: 7ceccaf6c3
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: 1410a1150c
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: 9dfd0579d4
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: e9edf1300a
2023-09-14 13:59:21 -07:00
Vivek Aithal
370d912053 liblocationd: No longer used (#29909)
remove liblocationd
old-commit-hash: 01011c6c1d
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: 0d3cc2ae04
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: 748eb4a7c7
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: 9b959dc86e
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: 279377ec0b
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: 3d60e8a2a0
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: 00d1c682b0
2023-09-11 16:28:42 -07:00
freddiebd
84ae95af8b VW MQB: Add FW for 2019 Golf R Estate (#29843)
old-commit-hash: 30084bb1be
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: 253d8ccb85
2023-09-10 20:48:41 -07:00
Jason Wen
6615e88e03 HKG: Add FW Versions for Kia Carnival 2024 (#29840)
old-commit-hash: 72d383262d
2023-09-10 20:33:02 -07:00
Adeeb Shihadeh
52752a3131 jenkins speedup (#29869)
* jenkins speedup

* cleanup
old-commit-hash: d036148550
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: 238f9d65db
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: 06233ca331
2023-09-09 19:48:44 -07:00
Mitchell Goff
3e1903a6cb Converted onnx runner to python (#29856)
old-commit-hash: 9cc00c2101
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: 2d69f3d63e
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: c61479b1ae
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: 1344a93a35
2023-09-08 14:46:39 -07:00
Adeeb Shihadeh
c37ccd4565 mock car cleanup (#29835)
* mock car cleanup

* fix
old-commit-hash: fb1b1f15aa
2023-09-08 14:03:14 -07:00
Justin Newberry
759ab03b03 Ruff: disallow non-openpilot imports (#29841)
old-commit-hash: 110cfef1c2
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: d9ce8ab716
2023-09-08 00:39:48 -07:00
Shane Smiskol
dcea02d4dc Hyundai: add comment about date codes in ABS FW
old-commit-hash: 3a7a42cf5b
2023-09-08 00:34:27 -07:00
Dean Lee
f48dc2b0ef common/params: not copyable (#29834)
old-commit-hash: 7816edda57
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: 503fa121ee
2023-09-07 19:46:43 -07:00
Shane Smiskol
2892856291 Hyundai: remove bad Kona EV 2022 query responses
old-commit-hash: b822a57ed6
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: b0a71d4553
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: dde225221e
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: fb06b98667
2023-09-07 15:28:46 -07:00