Commit Graph

7783 Commits

Author SHA1 Message Date
Justin Newberry f69a45faba Tests: power_monitoring disable nonblocking writes (#29994)
* better error logging

* fix power monitoring test

* revert that

* properly patch it
2023-09-20 16:51:46 -07:00
Terry Huang feeb827369 Chinese translations update (#29993) 2023-09-20 13:58:37 -07:00
Shane Smiskol 897566957d HKG: remove duplicate FW version 2023-09-20 03:00:05 -07:00
Shane Smiskol 16f0829404 Honda: add missing Ridgeline 2021 FW version (#29991)
add missing combo meter
2023-09-20 02:18:57 -07:00
kiwicolt 28e384e7a3 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
2023-09-20 02:07:09 -07:00
Jason Wen 6a4c4836b8 HKG: Add FW Versions for Kia Carnival 2024 (#29962) 2023-09-20 00:29:25 -07:00
Saber 9959a93a4a VW MQB: Add FW for 2019 Skoda Superb (#29955)
route name:0bbe367c98fa1538|2023-09-18--12-06-13--0
2023-09-20 00:25:24 -07:00
Adeeb Shihadeh cd75dcb03f 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>
2023-09-19 16:24:58 -07:00
Shane Smiskol b50a769ae9 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 9dfd0579d4.
2023-09-19 14:29:54 -07:00
Adeeb Shihadeh 747a6149b4 docs: don't show panda kit in shop (#29963) 2023-09-18 16:30:11 -07:00
royjr da4d4cff7d 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
2023-09-18 01:06:39 -07:00
Alexandre Nobuharu Sato 8a0711a67d Duplicated #include in settings.cc (#29951) 2023-09-17 15:19:43 -07:00
Narayan Babu 5831c05a11 Add Tiguan 2019 fingerprint (#29892)
* Added new ECU fingerprints

* Update values.py

formatting, syntax
2023-09-16 00:19:20 -07:00
venmer2 ce608d03b7 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>
2023-09-15 23:24:30 -07:00
Quake4net f7d49ecca1 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.
2023-09-15 23:11:20 -07:00
Harald Schäfer ef50b4fdac 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
2023-09-15 14:59:46 -07:00
next176 22e7aa3d98 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>
2023-09-15 14:05:44 -07:00
Justin Newberry 7e54882458 test_locationd: don't redownload logs (#29929)
don't redownload logs
2023-09-15 13:11:39 -07:00
Shane Smiskol 7ceccaf6c3 bump opendbc (#29922)
* change signals

* bump opendbc

* bump

* bump
2023-09-15 00:30:49 -07:00
Shane Smiskol 1410a1150c 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
2023-09-14 20:20:49 -07:00
Shane Smiskol 9dfd0579d4 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?
2023-09-14 14:48:12 -07:00
Vivek Aithal e9edf1300a locationd: Unit tests for different scenarios (#29908)
* add different scenarios for locationd

* add locationd scenario tests to unit tests
2023-09-14 13:59:21 -07:00
Vivek Aithal 01011c6c1d liblocationd: No longer used (#29909)
remove liblocationd
2023-09-13 18:59:32 -07:00
Jason Wen 0d3cc2ae04 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>
2023-09-13 15:20:03 -07:00
Jason Wen 748eb4a7c7 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>
2023-09-13 02:22:04 -07:00
Erich Moraga 9b959dc86e 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
2023-09-12 01:44:59 -07:00
Shane Smiskol 279377ec0b 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
2023-09-12 01:34:33 -07:00
Shane Smiskol 3d60e8a2a0 Hyundai CAN: log nonAdaptive cruise state (#29880)
* log nonAdaptive

* bump opendbc

* test labeler

* test labeler 2

* revert
2023-09-12 00:09:09 -07:00
Vivek Aithal 00d1c682b0 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>
2023-09-11 16:28:42 -07:00
freddiebd 30084bb1be VW MQB: Add FW for 2019 Golf R Estate (#29843) 2023-09-11 14:11:32 -07:00
Jason Wen 253d8ccb85 Hyundai longitudinal: enable for KONA_EV (#29779)
* Hyundai longitudinal: enable for `KONA_EV`

* add test route

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-09-10 20:48:41 -07:00
Jason Wen 72d383262d HKG: Add FW Versions for Kia Carnival 2024 (#29840) 2023-09-10 20:33:02 -07:00
Adeeb Shihadeh d036148550 jenkins speedup (#29869)
* jenkins speedup

* cleanup
2023-09-10 16:47:07 -07:00
Lee Jong Mun 238f9d65db cleanup remnants of LQR and INDI tuning (#29860)
* not use 'indi' cleanup

* bump cereal

* rm more

---------

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

* add print_platform_codes.py

* add test

* not optional

* constant

* remove optional

* more
2023-09-09 19:48:44 -07:00
Mitchell Goff 9cc00c2101 Converted onnx runner to python (#29856) 2023-09-08 16:45:38 -07:00
Mitchell Goff 2d69f3d63e Update model input names to match onnx inputs (#29855)
Updated model input names to match onnx inputs
2023-09-08 16:06:16 -07:00
Shane Smiskol c61479b1ae Hyundai: add platform code fuzzy FW test (#29847)
add test to assert no crashing
2023-09-08 15:15:22 -07:00
Kacper Rączy 1344a93a35 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
2023-09-08 14:46:39 -07:00
Adeeb Shihadeh fb1b1f15aa mock car cleanup (#29835)
* mock car cleanup

* fix
2023-09-08 14:03:14 -07:00
Justin Newberry 110cfef1c2 Ruff: disallow non-openpilot imports (#29841) 2023-09-08 10:43:02 -07:00
Jason Wen d9ce8ab716 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>
2023-09-08 00:39:48 -07:00
Shane Smiskol 3a7a42cf5b Hyundai: add comment about date codes in ABS FW 2023-09-08 00:34:27 -07:00
Dean Lee 7816edda57 common/params: not copyable (#29834) 2023-09-07 21:44:58 -07:00
Mitchell Goff 503fa121ee 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
2023-09-07 19:46:43 -07:00
Shane Smiskol b822a57ed6 Hyundai: remove bad Kona EV 2022 query responses 2023-09-07 19:24:19 -07:00
Justin Newberry b0a71d4553 Pytest: enforce a default timeout (#29793)
* pytest: enforce default timeout

* disable that for now

* 30 second timeout on tests
2023-09-07 17:53:51 -07:00
Justin Newberry dde225221e 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
2023-09-07 16:29:36 -07:00
Justin Newberry fb06b98667 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>
2023-09-07 15:28:46 -07:00
Mitchell Goff 0c0af682a1 Rewrite navmodeld in python (#29579)
* Added navmodeld.py

* Deleted navmodeld.cc

* Write SConscript config flags to config.py

* Remove deleted files from release/files_common

* Some more bug fixes

* Added config.py to gitignore

* Get rid of config.py

* Use set_realtime_priority

* A tiny bit more cleanup

* set realtime priority 1

* Use ModelRunner helper class from runners/__init__.py

* Formatting fixes

* mama mia that's a SPICY memory leak
2023-09-07 14:39:37 -07:00