Commit Graph

10759 Commits

Author SHA1 Message Date
Justin Newberry 4472679994 add car porting docs (#30704)
* add car porting docs

* add cabana

* absolute link

* absolute link

* absolute link

* selfdrive/car
old-commit-hash: 595041ffc0
2023-12-12 16:40:21 -08:00
Justin Newberry b914f0a27f soundd/micd: retry getting stream (#30701)
retry soundd/micd
old-commit-hash: 4f3a186a6f
2023-12-12 15:58:24 -08:00
Kacper Rączy 214b38bc69 controlsd: require joystick mode param for the body (#30680)
* Update joystick mode in step

* Stop putting the body in joystick mode by default

* Toggle JoystickDebugMode by default for notCars in process_replay

* Remove subsection about web joystick

* Update param only in non-cars

* Make joystickDebug non-static event, and add it in a loop

* Add comment
old-commit-hash: e62756596b
2023-12-12 14:14:51 -08:00
YassineYousfi 597529cd6c blue diamond model 💎 (#30504)
* c53b1113-ca16-434f-a3e7-457a36ba98cc/700

* 672ee0a5-0466-420d-be18-0610c5d71b6d/700

* update model replay ref commit
old-commit-hash: dd54ec9aa8
2023-12-12 11:24:04 -08:00
Jason Young 736b903c7c VW MQB: Add FW for 2020 Škoda Superb (#30699)
old-commit-hash: aaff6aebca
2023-12-12 10:57:12 -08:00
Rabin Karki 307aa120b9 HKG: Add FW Versions for Kia Carnival 2022 (#30677)
* HKG: Add FW Versions for Kia Carnival 2022

* 2022

* should

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a03a931737
2023-12-12 00:52:36 -08:00
Shane Smiskol 4c47510e55 Revert "2022"
This reverts commit bb190fb973706782f5dbf0ecb1e2992c4a96bf73.

old-commit-hash: fc0daa9693
2023-12-12 00:51:05 -08:00
Shane Smiskol 92dc6ca1ba 2022
old-commit-hash: ad0a882c1c
2023-12-12 00:50:42 -08:00
Shane Smiskol b11fbd5e47 Ford: add CAN FD harness info (#30698)
* add correct harness to f150 and angled mount

* can remove this
old-commit-hash: 1c011e6024
2023-12-12 00:45:13 -08:00
Shane Smiskol 4596da1508 Revert "FW query timing test: mock get_data function for timeout" (#30696)
Revert "FW query timing test: mock get_data function for timeout (#29712)"

This reverts commit 3014e27e57cf3a281eac656391615299ba981958.
old-commit-hash: b1ecfd55ce
2023-12-11 22:12:21 -08:00
Jason Wen 35c0b199a5 HKG: Car Port for Kia Niro Plug-in Hybrid 2022 (#30576)
* HKG: Car Port for Kia Niro Plug-in Hybrid 2022

* Update CARS.md and add test route

* add to releases

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9807bd99db
2023-12-11 20:32:36 -08:00
Sparkguys 3a333e1a66 Update values.py for VW Passat MK8 (#30646)
Update values.py

Added FW for Passat MK8
old-commit-hash: d2583d64f0
2023-12-11 19:25:55 -08:00
Justin Newberry 05a6da6e96 FW query timing test: mock get_data function for timeout (#29712)
* use a mock function to simulate timeout

* Cleanup

* Cleanup

* clean refs

* tolerance can also go down

* fix

* better name

revert refs

* use unittest

* revert

* Revert "use unittest"

This reverts commit 7a1d6a6fc72fa129a66590e0e5998c2438ecbe55.

* order

* local

* use a context

* revert

* stress test it

* let's try

* it's consistent

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 4028cb6121
2023-12-11 19:24:01 -08:00
Justin Newberry 6601d7d8b5 soundd/micd: increase stream buffer size (#30685)
* increase buffer

* update cpu refs

* go to 100ms

* correct spot
old-commit-hash: b0831fb117
2023-12-11 17:25:37 -08:00
Lukejb14 64d1835db7 Add 2021 Mazda CX-5 engine fingerprint (#30616)
old-commit-hash: 76c53e4742
2023-12-11 15:41:51 -08:00
Kacper Rączy e253626079 run_process_on_route: qlog and fingerprint options (#30688)
Add --qlog and --fingerprint options for run_process_on_route
old-commit-hash: 8049731553
2023-12-11 15:38:59 -08:00
Justin Newberry 059aa6ffd9 Revert "Process Replay: move to pytest (#30260)" (#30687)
This reverts commit eb8f3f7f568aa0e294b32226ae5c5ed5e1b75e9d.
old-commit-hash: 7b5d4d031a
2023-12-11 14:46:56 -08:00
Dean Lee 916921be5b ui/driverview: inherit from CameraWidget (#29769)
* refactor DriverViewWidow to inherit from CameraWidget

* emit done on visible

* merge master

* cleanup

* lock_guard

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 48cf7eb6d9
2023-12-10 12:12:27 -08:00
Adeeb Shihadeh 2526dcf30c remove Qt wrapper scripts (#30454)
* remove Qt wrapper scripts

* revert those
old-commit-hash: 3831bf19e4
2023-12-10 11:45:35 -08:00
Dean Lee b05d878c29 boardd: cleanup includes (#30674)
cleanup includes

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 13e5e708c2
2023-12-10 09:18:44 -08:00
Jason Wen eaae93109b Hyundai CAN-FD Longitudinal: Enable for ICE camera-SCC cars (non-HDA2) (#30034)
* Hyundai CAN-FD Longitudinal: Enable for all camera-based SCC platforms (non-HDA2)

* allow ice camera scc longitudinal

* allow ice camera scc longitudinal

* Update docs

* Merge commaai#30021

* Update CARS.md

* revert unrelated changes

* add test route

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 63bf098017
2023-12-09 17:36:34 -08:00
Shane Smiskol 8119ba7c1a Volkswagen: update MY for Tiguan
old-commit-hash: b3908e3c82
2023-12-09 15:05:06 -08:00
hodgiers 43dc2d6956 Volkswagen: Tiguan R-Line 2024 Fingerprint (#30605)
* Update values.py

2024 Tiguan R Line

* Update values.py

Removed extraneous text

* already here

* Update values.py

Updating model year for Volkswagen Tiguan to include 2024.

* Update values.py

Correcting Tiguan fingerprint values

* Apply suggestions from code review

* Update selfdrive/car/volkswagen/values.py

---------

Co-authored-by: Hodge <rhodge@Hodge-MBP.local>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: dd034bbfb7
2023-12-09 15:04:27 -08:00
hanyiabc e7ee874dbd Added fingerprint for 22 Kia Stinger KIA_STINGER_2022 (#30589)
* added fingerprint for my 22 kia stinger

* Apply suggestions from code review

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5051ff0b84
2023-12-09 14:46:40 -08:00
TerryWloch e83d54c66a VW: add missing FW for Skoda Kodiaq 2017 (#30665)
* Update values.py

Added FingerPrint for my Skoda Kodiaq 2017 14. tsi DSG 4x4

* Apply suggestions from code review

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 6d9629b0e1
2023-12-09 14:35:15 -08:00
Shane Smiskol e46c20ac61 test_models: randomize internal segment list (#30653)
* randomize internal seg list segments

* random

* pytest-randomly sets random.seed to a consistent value for all the workers/processes

* noeol

* update

* Revert "update"

This reverts commit aff9a69c4e5e3934deebaa33986b42f44b55b002.

* lock

* don't randomize by default

* remove random-order

* strict

* random

* one fix

* test

* does nothing

* rm tests

* Revert "rm tests"

This reverts commit b548e3fcd48e60538695506888d863c01b459d27.

* (can't repro locally) just athena should be fine

* bs1

* bs2

* bs3

* bs4

* bs5

* wrong way

* no controls

* no car

* no board

* controls?

* crazy -common

* Revert "crazy -common"

This reverts commit 02365d712b3d09cab1893cce2261a4b418bb3851.

* test athena

* test athena 2

* test athena 3

* test athena 4

* test athena 5

* test athena 6

* test athena 7

* test athena 8

* test athena 9

* ??

* in one commit

* common?

* car and board

* -controls -board

* random-order

* no board

* revert

* car/tests

* least likely

* try

* try 2

* draft

* draft

* so much better

* cmt

* use randomly

* not needed here

* directly modify option works

* bb

* test time

* Revert "test time"

This reverts commit 2c5caabe2b470b47b7322e37800680b92773fccc.

* tmut

* i concur

* revert
old-commit-hash: ac83318ac4
2023-12-09 14:28:32 -08:00
Shane Smiskol f5d1c4f371 ruff: check newline (#30668)
* check newline

* nothing catches this
old-commit-hash: 97da129e11
2023-12-09 13:24:18 -08:00
Shane Smiskol 4d67bf884c athena tests: patch instead of juggling function (#30664)
patch instead of juggling function
old-commit-hash: 2afff9a0cb
2023-12-09 05:06:30 -08:00
Shane Smiskol fa6bc55834 athenad: use socket constant (#30663)
Update athenad.py
old-commit-hash: 90c2aee6c3
2023-12-09 04:53:15 -08:00
Shane Smiskol 2e11cf4375 test_athena: remove no-op line (#30660)
* test

* Update selfdrive/athena/tests/test_athenad.py
old-commit-hash: 17d71d2829
2023-12-08 21:40:15 -08:00
Justin Newberry 2d50661b94 soundd/micd: more robust setup procedure (#30640)
* just use the default device :/

* Ruff

* this seems like the most reliable way

* Ruff

* move comments too

* wait for devices

* fix that

* and that

* ruff

* add logging for avaliable devices

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bc70c94f75
2023-12-08 17:59:31 -08:00
Shane Smiskol 81cc8a561a Toyota: enable LTA (#30109)
* bump panda

* enable lta

* try upper/lower delay similar to longcontrol lag comp

* add comment about eps torque rate limits

* more clear

* more clear

* Revert "try upper/lower delay similar to longcontrol lag comp"

This reverts commit 8e85333ee6e2456fcda076af4c31a9e9babbc897.

* bump

* no driver torque limiting to test

* fix the setme_x3

* bump

* bump

* enable inactive safety

* use vEgoRaw

* rename

* fix

* some comments/organization

* bump

* docs

* no corolla

* shorter name

* bump

* bump

* add to releases

* bump panda

* remove camry

* bump

* bump

* rm

* bump

* bump

* bump again

* bump
old-commit-hash: bf4026ed7e
2023-12-08 15:31:10 -08:00
Dean Lee 2a948de1f6 ui/ParamControl: do not create ConfirmationDialog on every click (#30496)
old-commit-hash: 011b1a6e6a
2023-12-08 13:48:31 -08:00
Adeeb Shihadeh 0708f7e19f update plannerd cpu usage
old-commit-hash: 2590cf8615
2023-12-08 11:39:30 -08:00
Shane Smiskol 3ec8a2f852 Ford: add Explorer 2020 FW (#30638)
* 49cead668ca2ac46

* docs

* b18d8435f1460528
old-commit-hash: 49317e3903
2023-12-07 16:37:59 -08:00
Shane Smiskol eb622a85d1 Ford: add Explorer 2023 FW (#30637)
* 49cead668ca2ac46

* docs
old-commit-hash: 1cd7b04e6f
2023-12-07 11:37:18 -08:00
Kacper Rączy 9cf15f3c74 locationd: disable locationd temporary error alert on the body (#30608)
* Disable locationd temporary error alert on the body

* Disable locationd/paramsd/planner alerts on body with joystick mode

* joystick_enabled param not joystick_mode
old-commit-hash: 7f07f47302
2023-12-07 10:53:33 -08:00
Adeeb Shihadeh 59eb2988de swaglog.py goes in common/ (#30631)
* swaglog.py goes in common/

* all of these go in release

* we'll even include the pyx
old-commit-hash: 35f819c823
2023-12-06 17:27:51 -08:00
Justin Newberry 62d0647ab3 pytest: group test_models by route instead of car name (#30625)
* group by route

* dont need those
old-commit-hash: f16df8e4b7
2023-12-06 16:00:59 -08:00
Justin Newberry db3fbdae18 Soundd: only update ambient db when not playing an alert (#30620)
* move to soundd + only when quiet

* not filtered
old-commit-hash: 5600a82889
2023-12-06 14:59:16 -08:00
Justin Newberry f945b8ebaa jenkins: remove pytest tici conf (#30621)
* remove pytest conf

* remove that too
old-commit-hash: 31ab43ce41
2023-12-06 11:13:22 -08:00
Greg Hogan e91032efb3 replace common.file_helpers.mkdirs_exists_ok with python os.makedirs funtion (#30618)
replace common.file_helpers.mkdirs_exists_ok with python os.makedirs function
old-commit-hash: db35dcd0b5
2023-12-06 09:55:29 -08:00
Adeeb Shihadeh a2df43c05e update mapsd cpu usage
old-commit-hash: 3985103974
2023-12-05 21:32:55 -08:00
Adeeb Shihadeh df18770f81 agnos 9 (#30543)
* agnos 9

* new build

* update

* Soundd: use alsa (#30617)

* update release notes

* agnos does this now

* prod manifest

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 3b89c5fe29
2023-12-05 21:17:49 -08:00
Shane Smiskol 8dd6c7d4b1 Toyota: LTA unit test (#30613)
LTA unit test
old-commit-hash: 67d6186bbd
2023-12-05 19:24:28 -08:00
Justin Newberry 817161f3ac Soundd: move to python (#30567)
soundd python
old-commit-hash: abe39e5076
2023-12-05 18:10:01 -08:00
Justin Newberry 202fa37808 Docker: pull image before building (#30614)
* pin to a specific version

* pull latest version

* dont need version debug
old-commit-hash: f32e3ae799
2023-12-05 15:48:26 -08:00
Justin Newberry fa45813b3d pytest: add durations to tici (#30609)
add durations to tici
old-commit-hash: 56b8a1a5db
2023-12-05 12:24:03 -08:00
Shane Smiskol fd130642b6 joystick: bump max angle (#30602)
old-commit-hash: 09a9ba6de1
2023-12-04 21:16:33 -08:00
Shane Smiskol baeaa2f730 Toyota: rename LTA torque wind down signal (#30603)
* bump

* rename

* bump
old-commit-hash: 3fed87dbb7
2023-12-04 21:16:12 -08:00