Commit Graph

13183 Commits

Author SHA1 Message Date
Mauricio Alvarez Leon
ddd78718a6 pytest: discover openpilot/ (#32561)
* pytest: discover everything in openpilot/

* ignore process replay

* remove --ignore=openpilot/

* ignore directories in root

* remove skip in selfdrive/test/process_replay

* use openpilot directory

* set openpilot directory for test_translations

* omit generated config.py files

* run ci

* cd into openpilot for test_translation

* &&

* remove rm main_test_en command

* remove echo

* increase shm-size to 2G

* remove rm

* test only cpp_files that are test_*.cc~

* add process_replay test skip

* use addopts in pyproject to ignore test_processes

* try --rootdir for pytest

* cleanups / add rootdir in PYTEST env

* add rm create_test_translations

* revert poetry.lock

* simplify

* no regen!

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 00b10f3d9ad03a6695446aab7b3a34d86229549a
2024-06-02 14:53:32 -07:00
Adeeb Shihadeh
c81003870b add body teleop to release
old-commit-hash: ce2a686b9751296e4e7207fd6a16b2d1b34d6ef4
2024-06-01 16:04:04 -07:00
Adeeb Shihadeh
4b5291b1be more release files
old-commit-hash: 7de9a3693ffc7626111fdf388b18be84ed22598a
2024-06-01 15:16:09 -07:00
Adeeb Shihadeh
cc3693b485 build_release fixups
old-commit-hash: 54116569c3448b6044c271f529d60210ea0222da
2024-06-01 15:05:07 -07:00
Adeeb Shihadeh
27d7d5de21 no lfs in release
old-commit-hash: a21f773366333427f50f8f2ad2358203e70eff9f
2024-06-01 14:23:48 -07:00
Shane Smiskol
b7949ec7ad debug FW fingerprinting: live support (#32585)
* live debug!

* clean up
old-commit-hash: 63f55f4915ebb3763cc6bc9adaba52a77467ff23
2024-05-31 22:28:03 -07:00
Dean Lee
c2b13f27b9 api: cache RSA private key (#32566)
old-commit-hash: 9908b729c8af1c608ddd9f2b3d0b1b50a58f39de
2024-05-31 21:40:53 -07:00
Adeeb Shihadeh
7411f2b41b Update RELEASES.md
old-commit-hash: 30d5edb205b4153e891936b4f7b6f6a39b961a08
2024-05-31 16:20:59 -07:00
cl0cks4fe
e77b75d9f0 cache get_torque_params (#32560)
* cache get_torque_params

* switch to cache

* Update selfdrive/car/interfaces.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 8f4b00c263e1942c6a6eed9d24297dff44e7f48f
2024-05-31 13:43:12 -07:00
Shane Smiskol
ab16c708e9 add Hyundai CAN FD fingerprinting note
old-commit-hash: f887b8703cfdb764a5f16d624bd4ce8380054a23
2024-05-30 23:08:14 -07:00
Shane Smiskol
b41b5cc067 fw_versions debug: match online vin retry
old-commit-hash: 0a43d82428d03662a3a439f7ec5ada7afc39b7a2
2024-05-30 22:20:04 -07:00
William Stairs
c0ef111581 Add Chassis for VW Arteon Shooting Brake 2020-2023 (#32579)
* Added Arteon "3H" chassis code for Shooting Brake to VWCarDocs.

* Added new engine and transmission FW to Volkswagen fingerprints.py for Arteon Mk1.

* Apply suggestions from code review

* updates docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 984ad8833aedf20c5cad14996c5e5cafc95fe3fa
2024-05-30 21:35:19 -07:00
Hoang Bui
86e2641636 Simulator: update MetaDrive to latest (#32576)
* bump metadrive

* comment
old-commit-hash: aa081f574833bcb1db4c234b9ee3d5bcd303a6de
2024-05-30 11:25:21 -07:00
Shane Smiskol
2a6e025183 ui: re-generate JWT on valid system time (#32571)
* revert me

* Revert "revert me"

This reverts commit 17d815ddfc9a18f7fb9f39f89ec8b4481389b339.

* duh we have timed!

* clean up

* use clocks

* re-initialize map on SSL handshake failure (time)

* this is fine, takes some time to init

* fix

* log errors like map renderer

* more clean up

full message is "loading style failed: SSL handshake failed"

* MOAR

* we still can't swap the token live

* mbgl has its own retries that never work, don't reinit multiple times at once

* simpler

* more

* whoops

* this works

* fix from merge

* rm

* fix cmt

* only an issue calling the function inside itself
old-commit-hash: 57d64279bdd0a8935586d7f58b68edaf793a73ed
2024-05-30 02:08:31 -07:00
Shane Smiskol
3a1c7c61c6 map window: log style load errors (#32573)
log errors
old-commit-hash: c2f55a2600d6981c1f84360f7c64bbb7a893d25c
2024-05-30 01:52:43 -07:00
Dean Lee
ab660be49f common/prefix.h: Fix incomplete path cleanup on exit (#32559)
old-commit-hash: 5f778c0d3a740b271d10b10842406a97bd27d959
2024-05-29 19:04:03 -07:00
ZwX1616
a51790da10 dmonitoringd: set invalid if missing dependence(s) (#32569)
* no step but still send

* no this

* update diff
old-commit-hash: a16fbdae3890b0e547f0113497ff8f713bd2b07b
2024-05-29 15:43:55 -07:00
kacperhq
e1ec898b41 KIA SPORTAGE 5th HEV 2022 EUR fingerprint (#32558)
Update fingerprints.py

KIA Sportage 5th GEN EUR ver
old-commit-hash: 325dcec06b5662b6b4c0f8903f0a7ea064fa4b7f
2024-05-28 15:27:08 -07:00
Mauricio Alvarez Leon
cfbfa14dc9 CI: add devcontainer-rebuild workflow (#32564)
* add devcontainer-rebuild workflow

* add shell

* add shell on ifs

* use scripts/retry.sh
old-commit-hash: a2931d1956addab1e4c2dbc52b11d7d2e9199043
2024-05-28 14:45:17 -07:00
Dean Lee
cdea057d4b cabana: fix panda stream issues (#32537)
fix segfault
old-commit-hash: 6b3d2b5a80c61e83a925ff28cc2394f9a9c0a996
2024-05-28 12:02:15 -07:00
Shane Smiskol
47524c9393 [bot] Fingerprints: add missing FW versions from new users (#32552)
Export fingerprints
old-commit-hash: 521ee46c4704057365a6e08c4571a6eafd5d8dde
2024-05-27 22:01:31 -07:00
commaci-public
f172cd51a3 [bot] Bump submodules (#32549)
bump submodules

Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: 30792577cd6c65c243f22bf1013a012e22b1da38
2024-05-27 10:38:53 -07:00
Hoang Bui
8d51127ef7 tools/simulator: Remove superseded build script for sim docker (#32546)
* remove

* add those back
old-commit-hash: d6a738bef7b8d8cfacfe8f7edf9fc01ba435f05a
2024-05-27 09:22:41 -07:00
Adeeb Shihadeh
549bc535cd Revert no pyenv (#32547)
* Revert "`ubuntu_setup`: fix `No module apt_pkg` error when setting up (#32526)"

This reverts commit d850f07acb58e4fc6d530241a31c0917c2b6613e.

* Revert "Removal of pyenv (#32512)"

This reverts commit 41f72d5ca75aab9a9beb3181aca9f177e5a003f8.
old-commit-hash: 1eb938b8e81a3321adf1064e8ef348b8c7073d4c
2024-05-26 21:21:50 -07:00
Shane Smiskol
51b5d472fb [bot] Fingerprints: add missing FW versions from new users (#32542)
Export fingerprints
old-commit-hash: 93963207f22e5724fb334ca495591ecc51529a82
2024-05-26 08:41:19 -07:00
Adeeb Shihadeh
f6d6d06523 Revert "pyproject: support >= 3.11"
This reverts commit d9b0b41a00492cbf4e55c4499080924fd91426ed.

old-commit-hash: ccbca2ac95027afefd5a5c7ab190bbb1c332ac61
2024-05-25 21:20:15 -07:00
Adeeb Shihadeh
68b6612159 pyproject: support >= 3.11
old-commit-hash: 390caeb01169c4213d097ec9ddda724a58a93634
2024-05-25 21:00:29 -07:00
Adeeb Shihadeh
6dc8eecee7 Make release files a blacklist (#32540)
* blacklist

* little nicer

* whitelist

* cleanup

* igore body

* more skip
old-commit-hash: fe7d3429abd85c120f0205093149eb9eabc81cb1
2024-05-25 18:47:16 -07:00
Hoang Bui
6452b26a99 CI/tools: Remove redundant build step (#32539)
old-commit-hash: 2ff94ec374514fb5054099288cb3a070e7286e56
2024-05-25 15:50:10 -07:00
Adeeb Shihadeh
cc4f53e6c6 manager: move to system/ (#32538)
* manager: move to system/

* one more
old-commit-hash: accdade4cfe73cdca41f5afa73cf4ad085802930
2024-05-25 12:41:17 -07:00
Adeeb Shihadeh
4356b74cca updated: finish system/ move (#32535)
* updated: finish system/ move

* add those back

* skip that

* skip whole file

* one more time
old-commit-hash: 73b02f2cda858d4ad08bc7fa4116d0d11ff79a02
2024-05-25 12:22:02 -07:00
Adeeb Shihadeh
f1c241361c speedup pj demo test
old-commit-hash: cd21d64058d161614b7504f344e8a26df28240c2
2024-05-25 11:40:10 -07:00
Adeeb Shihadeh
75f86a0845 move rerun to dev dependencies (#32534)
old-commit-hash: b9244f103114607c0ca8e543660a284339c045f1
2024-05-25 11:09:08 -07:00
Hoang Bui
60b476a5b6 CI/simulator: metadrive test starts when OP engaged and world is initialized (#32523)
* fix metadrive start time

* fix
old-commit-hash: 613f73c53fa1cd3525a0cb3af0615783bd213fd0
2024-05-25 10:37:07 -07:00
Shane Smiskol
d56052fcad [bot] Fingerprints: add missing FW versions from new users (#32533)
Export fingerprints
old-commit-hash: 95aa7c4b681c8ca0f23c7396e4d7a5840383c929
2024-05-25 09:42:23 -07:00
Shane Smiskol
efc7075f26 LongitudinalMpc: use DT_MDL (#32532)
bad magic number
old-commit-hash: 6ecb7103057073a11dfa0e93262d22f8d41228e5
2024-05-25 03:29:54 -07:00
Mauricio Alvarez Leon
f90655a1ff ubuntu_setup: fix No module apt_pkg error when setting up (#32526)
* no apt_pkg fix

* check arch

* fix if

* cleanup

* reorder

* increase shm size for selfdrive tests

* add comment explaining reinstall

* refine
old-commit-hash: f4322666c6adc4dd2da569f483f6e108f18fe32a
2024-05-24 21:38:23 -07:00
Yassine
3ad7205042 Revert "wip /500"
This reverts commit 3baaa27c2defbdd4ec29805c2641b9e8a82a35ce.

old-commit-hash: 8bd4540636cf36eb59efcc0ee3a0f0ad81fbb680
2024-05-24 19:45:00 -07:00
Yassine
c40976bb5f wip /500
old-commit-hash: 8183715beb961658755b2f19dbba6b07582830cd
2024-05-24 19:44:14 -07:00
Shane Smiskol
1295d75c31 Kia: add 2022 Forte model year
The minimum enable speed is also 0 mph with a lead like the 2023, so it's likely supported with this harness

old-commit-hash: a7065d158b22a6a64ec914bad16546349c952206
2024-05-24 15:49:45 -07:00
Shane Smiskol
6b1d51e4df Kia: update Forte 2019-21 min enable speed (#32528)
* forte enable speed fix

* update docs
old-commit-hash: 937ff7f4187aff657d6e447c2f87b28c3d08bc3a
2024-05-24 15:48:26 -07:00
cipioh
049256c5e3 Added ecu firmware data for 2024 Kia EV6 GT (#32524)
* Update fingerprints.py

added KIA EV6 GT 2024

* Update fingerprints.py

added firmware from 2024 Kia EV6 GT

* format

* update my

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 652f15d54ee92c83e98b7bce2f0f82e241b14cd2
2024-05-24 13:39:42 -07:00
ZwX1616
bf7724d30b dmonitoringd: simplify main loop (#32517)
* one call does all

* no need

* update etst

* filename

* dbf5b05ff480145a79b5941e360d0698b70979cd
old-commit-hash: 204219695f57f6ba76347df4df99e00a28b51e9f
2024-05-23 20:14:28 -07:00
Kacper Rączy
5e70ea98d2 process_replay: most messages valid check (#32521)
* check_most_messages_valid impl

* Add to both regen and test_processes

* Refactor

* Bring back carOutput

* Use Counter

* Use get(k, 0)
old-commit-hash: e0d20d2cf33a4398426e7ca4886bf6231d1220ad
2024-05-23 15:30:21 -07:00
Adeeb Shihadeh
5bc1ce5c58 fix PATH
old-commit-hash: 38c0fdac473797d81277a7a8d448f2b663277289
2024-05-23 11:30:56 -07:00
Adeeb Shihadeh
ca19327118 remove a pyenv reference
old-commit-hash: 278c31287618d79a8908cac475f57905f8538ab5
2024-05-23 11:24:10 -07:00
Mauricio Alvarez Leon
e665f05efe Removal of pyenv (#32512)
* initial removal of pyenv

* remove .python-version copy in dockerfile

* successful image build with ppa

* update prompt

* pip install scons

* apt install scons

* finally fix dockerfile to work with venv

* cleanup userflow

* increase memory to 100m

* typos

* wrong variable

* lmao
old-commit-hash: f5752121f8a2029050c63cfa04f2533901ae4f3a
2024-05-23 07:56:18 -07:00
Shane Smiskol
0aae777597 Reapply "Ford: detect missing LKAS from EPS configuration (#31821)" (#32518)
* Reapply "Ford: detect missing LKAS from EPS configuration (#31821)"

This reverts commit 79247ab507d239c2e80bc0ecbf08e654af0c0c5b.

* catch

* now fix

* clean up
old-commit-hash: 7a6818da7edc888ab51f5631775af1eb452375c7
2024-05-22 17:27:22 -07:00
Adeeb Shihadeh
04a7ae120c rm disabled notebooks test
old-commit-hash: 423016d6e9213e10fe7ababa128ee8a99b168540
2024-05-22 17:16:08 -07:00
Shane Smiskol
e534d9777c test car interfaces: catch more FW-related failures (#32514)
* only pick ecus from brand

* use superset of all requests

* much better

* clean up

* clean up

* try 150

* ?

* ???

* faster debug

* wtf

* no clue

* run push!

* this shouldn't catch it

* clean up

* rm
old-commit-hash: ef1b6b47032b862ca220e7c2ca6d9ccfd41d6957
2024-05-22 17:12:54 -07:00