Commit Graph

8380 Commits

Author SHA1 Message Date
Justin Newberry 00a96ece33 test_athena: remove slow memory leak test (#30734)
way too long
old-commit-hash: 23c20bce8f90aabec31fece84f4f8f6a3770d61b
2023-12-14 17:24:47 -08:00
Justin Newberry 0939b25bc4 CI: move test_maprenderer to GH actions (#30610)
maprenderer to ci
old-commit-hash: 5d668701cb69c1e3d170109a8e788a2acbacebd3
2023-12-14 16:59:28 -08:00
Shane Smiskol 0c18b556ea Use a safety param for gas interceptor (#30719)
* bump

* bump

* space

* remove from boardd

* set flag for honda to pass tests

* migrate

* Update ref_commit

* final bump

* bump cereal

* bump to master
old-commit-hash: 582743fdb5a20fbbe841aa154cf36304771d52a6
2023-12-14 16:53:22 -08:00
Adeeb Shihadeh c3567151f0 bump up installer size (#30722)
old-commit-hash: 2b12a499f7b923758d8b85705b680b04156f27c0
2023-12-13 21:18:20 -08:00
Adeeb Shihadeh 3b73fce7ed fix put_nonblocking reference
old-commit-hash: bd8a99ba285bebc498c41136dfa900bfdfa86ea5
2023-12-13 20:52:43 -08:00
Dean Lee 8b3fe8d46d boardd: improve the performance of PandaUsbHandle::list() (#30673)
* improve list performance

* revert test_onroad

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b53b505d2ea52b61e9b42582bd97f20bff0a1fa3
2023-12-13 20:48:51 -08:00
Dean Lee 1d7d7b89b2 common/params: support nonblocking write (#29808)
* Safe and efficient asynchronous writing parameters

* call putNonBlocking in locationd

* remove space

* ->AsyncWriter

* remove semicolon

* use member function

* asyc write multiple times

* add test case for AsyncWriter

* merge master

* add missing include

* public

* cleanup

* create once

* cleanup

* update that

* explicit waiting

* improve test case

* pass prefix to asywriter

* move to params

* assert(queue.empty())

* add comment

* add todo

* test_power_monitoring: remove patch

* rm laikad.py

* fix import

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3c4c4d1f7f22884f84f0f52ad45ab0412fab1eb5
2023-12-13 20:36:01 -08:00
Jason Wen 995c951dae torqued: cache bucket points every minute while onroad (#30515)
* torqued: cache bucket points every minute while onroad

* use put_nonblocking

* remove caching on exit

* unused

* more unused

* remove logging
old-commit-hash: fcc671297ee0cd44abc6f7535e1adddc11d58192
2023-12-13 20:30:33 -08:00
Adeeb Shihadeh ffc40a2fd1 athena: cleanup unused methods
old-commit-hash: ea94a6d89fa00f9852e8ee6b5c8203199c1a06e8
2023-12-13 20:27:54 -08:00
Dean Lee 5ada7c007b ui: destroy egl_images in main thread (#30253)
* call eglDestroyImageKHR in ui thread

* assert
old-commit-hash: dbda641cee9c8b5218518ffd6589599c8f641faf
2023-12-13 20:18:45 -08:00
Justin Newberry a625ca55e7 Subaru: enable alpha longitudinal for gen1 cars (#30714)
* enable alpha long

* update docs

* added footnote about eyesight

* only for these cars

* add alpha

Co-authored-by: Shane Smiskol <shane@smiskol.com>

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5f24078a480c9436ce99bf19358b5737aebf065f
2023-12-13 20:17:33 -08:00
Jason Wen 5e9c22e051 Hyundai CAN-FD: Panda safety config assignments cleanup (#29733)
* Hyundai CAN-FD: Interface small cleanup

* some more

* Do this too

* fix

* cleaner

* use flag

* consolidate

* do it there

* Fix

* hda2 only

* cleaner

* default to False

* in another PR

* lint
old-commit-hash: 8009b11516fdedd964716a414dcefc996dea807a
2023-12-13 20:15:25 -08:00
Harald Schäfer 2d7a222239 Ford: radar + long control fixups (#28948)
* enable radar

* manual new track

* Don't filter points

* cleanup

* Update radar_interface.py

* This is non-zero in stock

* add speed

* more extreme

* A few more things

* fixes

* cleanup

* revert that

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8c25741e468b7cb11a59c8905c9d00d5612b9143
2023-12-13 19:54:06 -08:00
Adeeb Shihadeh b48abb9511 read params in a thread
old-commit-hash: fe24bdc689f1e3b82e0bec92034a855fd5da78b2
2023-12-13 19:00:22 -08:00
Dean Lee 62525a60ee ui/onroad: avoid drawing invalid lanes and leads (#29666)
old-commit-hash: 33987d4cc9a6de80d6f9b3a4bae7a159d182620a
2023-12-13 14:51:09 -08:00
Isaac d5b4ba8239 Ford: Add Mach-E (#30691)
* Update interface.py

* Update values.py

* Update routes.py

* Update override.yaml

* Update selfdrive/car/ford/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update interface.py

* order

* only have dongles for these

42f08a29af3699f4
83a4e056c7072678

from https://github.com/commaai/openpilot/pull/30444

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 26a67641d2e4a4b908239996c7a9b580c3813d4b
2023-12-13 09:05:41 -08:00
Jason Wen 82747c42a1 Hyundai: Car Port for Staria 2023 (#30672)
* Hyundai: Car Port for Staria 2023

* camera scc!

* add test route

* Update RELEASES.md

* Apply suggestions from code review

* bump down max torque

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d6465e39bd74591d82d9a8c673052f656ed62516
2023-12-13 08:23:10 -08:00
Shane Smiskol 197571344e Car docs: fixes (#30710)
* always lower case

* more fixes

* link

* rm ()
old-commit-hash: c4759c0a5008b33c2b772a2b2ad27c5d05d50d77
2023-12-12 20:41:43 -08:00
Shane Smiskol eb642a1704 Ford: consolidate comments about unsupported hybrid platforms (#30709)
* fix typo, move comments to one place

* -appear

* Update selfdrive/car/ford/carstate.py
old-commit-hash: 77066a226068ea933b565b9521c26a99c72e7a6a
2023-12-12 20:37:37 -08:00
Isaac 390e75b3bd Ford: Add F-150 Lightning (#30692)
* Update interface.py

* Update values.py

* Update routes.py

* Update override.yaml

* Update values.py

* Update interface.py

* Update selfdrive/car/ford/interface.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2192cc170c3231186704b0929e1ee81d318e940e
2023-12-12 20:07:59 -08:00
Justin Newberry ff8521a32e cleanup car port docs (#30707)
readme
old-commit-hash: 5d80858a16cfc1ab36f16ac3ed464eb6010c68a4
2023-12-12 18:17:10 -08:00
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: 595041ffc0a2fd8ab6eb09e366d7cd4ddd262781
2023-12-12 16:40:21 -08:00
Justin Newberry b914f0a27f soundd/micd: retry getting stream (#30701)
retry soundd/micd
old-commit-hash: 4f3a186a6faa9f95b0764069a79f86693973bfb2
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: e62756596b82e4e40d02a30b34d3f3c9960bffe6
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: dd54ec9aa8f1991b70d8a012bd0d854462b2c0ff
2023-12-12 11:24:04 -08:00
Jason Young 736b903c7c VW MQB: Add FW for 2020 Škoda Superb (#30699)
old-commit-hash: aaff6aebcaf3bece8ae741d3e12abf764bf635c5
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: a03a931737fed35f4ff203236039d1ccc4c7de96
2023-12-12 00:52:36 -08:00
Shane Smiskol 4c47510e55 Revert "2022"
This reverts commit bb190fb973706782f5dbf0ecb1e2992c4a96bf73.

old-commit-hash: fc0daa9693361b51e787500e8e40f0cdffc44737
2023-12-12 00:51:05 -08:00
Shane Smiskol 92dc6ca1ba 2022
old-commit-hash: ad0a882c1ced9f03abd3f85b40dca6fb3262a8dc
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: 1c011e6024527b9e2b311fbe48485e6d424f8bca
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: b1ecfd55ce73062f297a5ea7d99d0c55d57c58ab
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: 9807bd99dbc526ba92bb68c503d5108b9f892dd1
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: d2583d64f0ce997bdc7413f091f794ac3d704d4b
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: 4028cb6121ffd1f92463cfc109593b17abe3aa8c
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: b0831fb117dde77334b6355975011611afc5d76f
2023-12-11 17:25:37 -08:00
Lukejb14 64d1835db7 Add 2021 Mazda CX-5 engine fingerprint (#30616)
old-commit-hash: 76c53e4742850966906b1ba10e5faf7b457503fc
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: 804973155344f39e839e5d11669db42287f866d6
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: 7b5d4d031adb0e2fecf36772bbbb95e2989b9cc7
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: 48cf7eb6d9700d8cdab52c1a28c7e05dc4527574
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: 3831bf19e47ed1ee09b2f4eb0341f8e879194880
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: 13e5e708c28b40cdfcb2771e8d6c2d376cd09f8f
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: 63bf098017c89a09f79059647deb90d1960f720d
2023-12-09 17:36:34 -08:00
Shane Smiskol 8119ba7c1a Volkswagen: update MY for Tiguan
old-commit-hash: b3908e3c82f53ab998bdbef34a005d0a699c7448
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: dd034bbfb7db198d07c05d927b60b0ceba453ea4
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: 5051ff0b84845cbbacd31927461eac82fba90142
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: 6d9629b0e11e6d36b71530e7dbd1475acb30e280
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: ac83318ac4f54c46deef02c69d46c549bd741cb3
2023-12-09 14:28:32 -08:00
Shane Smiskol f5d1c4f371 ruff: check newline (#30668)
* check newline

* nothing catches this
old-commit-hash: 97da129e11e58b07d5d136093827cd1c62311fea
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: 2afff9a0cba605d5118c6cb33c157017a3999957
2023-12-09 05:06:30 -08:00
Shane Smiskol fa6bc55834 athenad: use socket constant (#30663)
Update athenad.py
old-commit-hash: 90c2aee6c36d6f37bc580804d98613e9918a9e33
2023-12-09 04:53:15 -08:00