Commit Graph

11179 Commits

Author SHA1 Message Date
Adeeb Shihadeh
75297f431b Update Python packages and pre-commit hooks (#29891)
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: ac2d0525129d0bc6f8cddd1a510cf625ed78670b
2023-09-12 13:12:55 -07:00
Varun Nair
d8b256d70c Updating the readme.md to make it easier to follow (#29820)
* upadting the readme.md to make it easier to follow

* addressing pr comments

* addressing the pr

* Update README.md

* bold

---------

Co-authored-by: Harald Schäfer <harald.the.engineer@gmail.com>
old-commit-hash: 9596a3c9403f17ab0b8723701a4b001b0a1e576d
2023-09-12 11:38:29 -07:00
Greg Hogan
b5375cc82d importing auth_config.py should not have side effects (#29893)
import should not create directory
old-commit-hash: 140a4ba5587b84fd234df04c23261f1e50dece08
2023-09-12 18:00:18 +00: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
Justin Newberry
490613e5e4 CI: fix setup retry sleep time (#29877)
old-commit-hash: a87d62ffa64a88243e9111e20a740f9ce8b9c11c
2023-09-11 23:08:04 -07:00
Justin Newberry
58ea2bac72 CI: never remove existing labels (#29885)
old-commit-hash: f9a60072f7b5c78723a48634807b2f7304c2d663
2023-09-11 23:04:53 -07:00
Dean Lee
0d7e17c995 cabana/chart: fix rubber band precision issue (#29887)
fix rubber band precision issue
old-commit-hash: 11d157369b2144f2cb73b141c7cfbf9929f923f8
2023-09-11 22:56:40 -07:00
Shane Smiskol
651210aff2 bump opendbc (#29884)
old-commit-hash: d0c922ce77a358fdce4702ceaf31c2a70db50fe7
2023-09-11 20:58:30 -07:00
Kacper Rączy
07f9e986cd macos: link qt5 during setup (#29879)
* link qt5 or prompt user to unlink existing qt installation if needed

* change condition

* version detection fixes

* fix wording
old-commit-hash: 57f0c3b8d592a28be1ad81ee884150650e722e31
2023-09-11 17:00:08 -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
Adeeb Shihadeh
1f8459d285 use pytest for cpp tests (#29833)
* add pytest-cpp package (#29828)

* add pytest-cpp package

* disable for now

* use in ci

* use pytest cpp

* use my branch

* add missing tests

* that doesn't make sense

* it was merged upstream

* replace TEST_RLOG_URL with a publicly accessible url

* PR Cleanup

* assert instead

* update poetry lock

* add comment about  pytest-cpp

---------

Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: 2c1dfc2f341b09381af2cc7872c4092df28dc9d5
2023-09-11 14:01:50 -07:00
Dean Lee
5bac1f771c cabana: use applicationPath for settings (#29875)
old-commit-hash: 5e1b5b36e48f3b7c776b843993071e24a9d1466e
2023-09-11 13:18:40 -07:00
Angus Gratton
0987987f33 replay: Include cstdarg from util (#29871)
Fix compilation errors "use of undeclared identifier" for va_start & va_end.
old-commit-hash: 43210ca0e21b15c1fcaff5517c71827b9fc21dab
2023-09-11 08:01:07 -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
Shane Smiskol
f7f2dd42af bump panda (#29838)
* bump panda

* bump to master
old-commit-hash: d7f8a489a3ed9901a35f7e2e984235d5ad10f303
2023-09-10 20:34:48 -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
royjr
ed79ecff3c macOS: install gcc@13 to match panda requirements (#29868)
old-commit-hash: ece433f18ef4e132693ccabe6b225dab7c2ffbe3
2023-09-10 16:26:27 -07:00
Dean Lee
c7efe08e08 cabana: add comparision operator for CanEvent (#29864)
old-commit-hash: ef4c963c60276a62d64a89c158a1a1ff1dbe8a10
2023-09-10 16:09:22 -07:00
Adeeb Shihadeh
58bb1afb9a jenkins scripted pipeline (#29865)
* scripted

* exclude branches

* try that

* fix credentials

* fix

* tag with commit
old-commit-hash: a411af4f02ab778b78a98bfc424769e0c6a5974a
2023-09-09 21:30:21 -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
Dean Lee
9351c70889 test_util.cc: do not compare file contents in REQUIRE (#29861)
old-commit-hash: 95ae87659d381360a7a6aa6610d25f8519414a01
2023-09-09 08:47:52 -07:00
Justin Newberry
d1fc58bf81 CI: fix pr labeler permissions (#29862)
* fix pr labeler

* fix that
old-commit-hash: 50b954d595edc43956e2dcba4ff18446df80e371
2023-09-09 01:02:49 -07:00
Justin Newberry
693183a946 CI: auto label PR's (#29842)
* auto label

* on pull request

* checkout

* yaml not yml

* recursive here too

* start with just car stuff and CI

* require all

* no fps

* add translations and fix CI
old-commit-hash: aa52cf3e815ea665b9222c4c6a1e291d6c86f8a9
2023-09-08 17:24:19 -07:00
Kacper Rączy
fc4972539f docker: fix cl tag (#29858)
unset TARGET_ARCHITECTURE before running build
old-commit-hash: c417669cbdadbc3a4fc31073116987264aa0e2d4
2023-09-08 17:20:03 -07:00
Justin Newberry
5ac2ef0e3f CI: fix aarch64 cache (#29857)
was not passed in
old-commit-hash: d3e5f66fc19c15accd684d397b8e25823e431b47
2023-09-08 17:13:18 -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
73c25cc743 docker: fix multiarch tag push (#29850)
Fix multiarch merge script
old-commit-hash: b09ec6bb5bd73b6623e686ebc94f8a316102ae11
2023-09-08 15:03:40 -07:00
Justin Newberry
0043a1f039 Prefix: cleanup more folders (#29848)
cleanup downloads folders
old-commit-hash: 0adc2f20c250ae7ca9a1d4e205c9560b50309eea
2023-09-08 14:54:15 -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
Adeeb Shihadeh
15e071f88c fixup power draw test output (#29844)
* fixup power draw test

* no pytest
old-commit-hash: 947abbcba0f685ae89d6d6a1b05f3f55f9739848
2023-09-08 13:01:04 -07:00
Justin Newberry
759ab03b03 Ruff: disallow non-openpilot imports (#29841)
old-commit-hash: 110cfef1c2a56b333b684cd7ae98b321ae0e72eb
2023-09-08 10:43:02 -07:00
Adeeb Shihadeh
13c3bf2cbd CI: increase model replay timeout
old-commit-hash: c96fe132e8e708d8a9cb2d4d6a3e8b9f1028018b
2023-09-08 10:41:54 -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
Shane Smiskol
96f204862e bump panda (#29837)
old-commit-hash: aee662969037c60e81e36fc2c470e8083f212df6
2023-09-08 00:13:40 -07:00
Dean Lee
b445d5e9ac cabana/Sconscript: add back dependency on #opendbc (#29832)
add dep on #opendbc
old-commit-hash: e9c1cf3b5a86b7ef47fea67d60ae83337b8e9051
2023-09-07 23:59:02 -07:00
Dean Lee
f48dc2b0ef common/params: not copyable (#29834)
old-commit-hash: 7816edda57894c7967fcd931294a31d000e6508c
2023-09-07 21:44:58 -07:00
Adeeb Shihadeh
bc6367bdf9 Revert "add pytest-cpp package (#29828)"
This reverts commit 9e739aa27d8eb163de74320cfb2f3ea43ca2cb48.

old-commit-hash: 0d042624ae236fa9b58448a1eaeba841d4eff73e
2023-09-07 20:40:25 -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
Adeeb Shihadeh
01ee6fd1bb add pytest-cpp package (#29828)
* add pytest-cpp package

* disable for now
old-commit-hash: 773d0944d8b51fe2a64c13f0a9b6b0ff9457cf4f
2023-09-07 19:42:30 -07:00
Adeeb Shihadeh
85ef987bfe ubloxd: remove unused file (#29829)
old-commit-hash: 4111ac36b2d676e4a8014b8728f3487b5252892d
2023-09-07 19:29:34 -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