Commit Graph

10611 Commits

Author SHA1 Message Date
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
Justin Newberry a87d62ffa6 CI: fix setup retry sleep time (#29877) 2023-09-11 23:08:04 -07:00
Justin Newberry f9a60072f7 CI: never remove existing labels (#29885) 2023-09-11 23:04:53 -07:00
Dean Lee 11d157369b cabana/chart: fix rubber band precision issue (#29887)
fix rubber band precision issue
2023-09-11 22:56:40 -07:00
Shane Smiskol d0c922ce77 bump opendbc (#29884) 2023-09-11 20:58:30 -07:00
Kacper Rączy 57f0c3b8d5 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
2023-09-11 17:00:08 -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
Adeeb Shihadeh 2c1dfc2f34 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>
2023-09-11 14:01:50 -07:00
Dean Lee 5e1b5b36e4 cabana: use applicationPath for settings (#29875) 2023-09-11 13:18:40 -07:00
Angus Gratton 43210ca0e2 replay: Include cstdarg from util (#29871)
Fix compilation errors "use of undeclared identifier" for va_start & va_end.
2023-09-11 08:01:07 -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
Shane Smiskol d7f8a489a3 bump panda (#29838)
* bump panda

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

* exclude branches

* try that

* fix credentials

* fix

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

* fix that
2023-09-09 01:02:49 -07:00
Justin Newberry aa52cf3e81 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
2023-09-08 17:24:19 -07:00
Kacper Rączy c417669cbd docker: fix cl tag (#29858)
unset TARGET_ARCHITECTURE before running build
2023-09-08 17:20:03 -07:00
Justin Newberry d3e5f66fc1 CI: fix aarch64 cache (#29857)
was not passed in
2023-09-08 17:13:18 -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 b09ec6bb5b docker: fix multiarch tag push (#29850)
Fix multiarch merge script
2023-09-08 15:03:40 -07:00
Justin Newberry 0adc2f20c2 Prefix: cleanup more folders (#29848)
cleanup downloads folders
2023-09-08 14:54:15 -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
Adeeb Shihadeh 947abbcba0 fixup power draw test output (#29844)
* fixup power draw test

* no pytest
2023-09-08 13:01:04 -07:00
Justin Newberry 110cfef1c2 Ruff: disallow non-openpilot imports (#29841) 2023-09-08 10:43:02 -07:00
Adeeb Shihadeh c96fe132e8 CI: increase model replay timeout 2023-09-08 10:41:54 -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
Shane Smiskol aee6629690 bump panda (#29837) 2023-09-08 00:13:40 -07:00
Dean Lee e9c1cf3b5a cabana/Sconscript: add back dependency on #opendbc (#29832)
add dep on #opendbc
2023-09-07 23:59:02 -07:00
Dean Lee 7816edda57 common/params: not copyable (#29834) 2023-09-07 21:44:58 -07:00
Adeeb Shihadeh 0d042624ae Revert "add pytest-cpp package (#29828)"
This reverts commit 773d0944d8.
2023-09-07 20:40:25 -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
Adeeb Shihadeh 773d0944d8 add pytest-cpp package (#29828)
* add pytest-cpp package

* disable for now
2023-09-07 19:42:30 -07:00
Adeeb Shihadeh 4111ac36b2 ubloxd: remove unused file (#29829) 2023-09-07 19:29:34 -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
Adeeb Shihadeh f197decbc9 fix RateKeeper test 2023-09-07 16:47:33 -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