grekiki
77d6d9a083
mypy: enable --warn-unused-ignores ( #24287 )
...
* this is the easy part to check
* Not sure what this fixes, https://github.com/commaai/openpilot/pull/24282/commits/8aaf00c6a41ac4c9c5e56f8a2dfed8591f153b67
* bump laika
* works here
* cleanup
* add types-certifi
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 049b163ea0494a21956d89d4cb2a527dcbd62c0c
2022-04-27 14:26:15 -07:00
Shane Smiskol
846b8fe0bb
Toyota: fill stockFcw signal ( #24324 )
...
* fill stockFcw
* only TSS2 car for now
old-commit-hash: a05487cdf55d60c9a3e30f2f9b9983078b666116
2022-04-27 14:18:27 -07:00
Adeeb Shihadeh
211fc8fc68
Toyota: add safety param flag for alt brake message ( #24341 )
...
* Toyota: add safety param flag for alt brake message
* update refs
* update refs
* bump panda
old-commit-hash: 3e098c9ba5fd8f6958f38dc500c357db34e83ffe
2022-04-27 12:08:11 -07:00
Dylan Herman
a8910d9d43
Add --warn-redundant-casts to mypy checks ( #24304 )
...
* add mypy checks for redundant-casts and unused-ignores
* revert unnecessary changes
* ignore
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: ee0021b86cc6ae6a9105d82798c34c5371992afb
2022-04-27 12:07:53 -07:00
Shane Smiskol
3e9694d3f3
LatControlTorque: fix deadzone and missing steer saturated warning ( #24294 )
...
* fix steer saturated alert and deadzone
* fix and formatting
* update refs
* update refs
* not needed
* remove
old-commit-hash: e834b4d9bed65e672c25c6e9ba67d41f2a1c8329
2022-04-27 01:18:05 -07:00
Jackson Smith
9544a1513d
Honda: Add FW for 2021 Honda Passport Elite ( #24255 )
...
old-commit-hash: 6e789fae7098eab20d4f60d88b88dec383d8765f
2022-04-26 21:00:31 -07:00
martinl
6c971feb84
Subaru: Add missing FW versions for Forester 2019 and Impreza 2020 ( #24225 )
...
* Add FPv2: Subaru Crosstrek 2020 Sport (Canada), a2af7643da1d4017|2022-04-14--12-00-31
* Add FPv2: 2021 Subaru Forester Sport, c2f528d49fe19d53|2022-04-13--20-11-17
* Add FPv2: 2020 Subaru Crosstrek Limited, 0f33f7a9d1949fa6|2022-04-13--14-44-02
* Update FPv2: 2019 Subaru Forester Sport, f6e178e18ba27ca1|2022-04-08--18-22-50
* Update FPv2: 2021 Subaru Forester Touring, 6fcb17b9ef924548|2022-04-14--05-37-28
* Add FPv2: 2019 Subaru Forester Limited, a447729c1d15ff89|2022-04-13--17-54-27
* Add fw for a2af7643da1d4017|2022-04-14--18-21-57 for IMPREZA SPORT 2020
* Add fw for a447729c1d15ff89|2021-12-27--15-35-46 for FORESTER 2019
* Add fw from c2f528d49fe19d53|2022-02-19--13-44-43 for FORESTER 2019
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: df13b26971727554a9c0465420c2eea9d986cf0a
2022-04-26 20:34:41 -07:00
Adeeb Shihadeh
3b1f479fa9
always tici
...
old-commit-hash: 4af943dc015551a952b508291a6dfa1d151a24b7
2022-04-26 20:02:39 -07:00
Shane Smiskol
5469375c91
HKG: only allow engagement on user button press ( #24140 )
...
* use deque for prev_cruise_buttons
* stash
* disallow engagement if resume or decel isn't pressed
* fix buttons
* reduce chances of causing 30-frame fault
Fix clu11
drive down cancel times
* Revert "reduce chances of causing 30-frame fault"
This reverts commit 0f54c051bf5a22b1f584718ec46e78bc3a82a0dd.
* consider pause/resume button
* stash
* Revert "stash"
This reverts commit 551ca7be6c45729f0747abc81cd81894cd621c32.
* sadly some cars need 8 op frames (identical to 4 updates from CLU11)
* add main button
* 6 should be safe
* use max
* clean up
* change to 4 samples and process all messages received, like panda
* bump panda
* test: replay segments with known re-engagements on-device
* Revert "test: replay segments with known re-engagements on-device"
This reverts commit 9730c3c14f942b82b6ed5ef2e81b8ae0126f3006.
* need prev_cruise_buttons as we don't run every CAN message through carstate
* more generic
* extend
* Update selfdrive/car/interfaces.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* 3% faster at 1000000 loops
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: efa98d2a0694b9a33a2fda3bebfae50fb4ba33cc
2022-04-26 13:27:28 -07:00
Shane Smiskol
b3e7498f27
onnxruntime: initialize CUDA provider before predictions ( #24330 )
...
* initialize CUDA runtime before predictions
* dmond pauses modeld execution...
* done in other PR
old-commit-hash: 60b7114024181f79819c9a8b14863a8f23fb0252
2022-04-26 11:49:32 -07:00
Adeeb Shihadeh
1056784a95
pandad: better handling of internal panda failures ( #23755 )
...
* reset internal panda
* recover
* internal dfu
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 59134c05d65504edf03c2bf1199478927d683fb7
2022-04-26 11:02:40 -07:00
Shane Smiskol
ed58f3edbd
regen: send vipc_client_extra frames ( #24331 )
...
* send extra frames to fix regen
* for sanity
* not used
* minimal changes
old-commit-hash: a8e632bb98288c09a2292bb83da9d1fb7d5dff1f
2022-04-26 00:15:09 -07:00
Jason Young
8e755ff447
VW MQB: Audi RS3 ( #24329 )
...
old-commit-hash: d0a6622342ffd20ce8648463de677b84e3854653
2022-04-25 21:06:23 -07:00
Vivek Aithal
8823b9e4a5
longitudinal_mpc: Compute forward distance from velocity ( #24328 )
...
* add vel integ as x in e2e long mpc
* add comment
old-commit-hash: 1a9f5d29d40036407a0c1c45943485d01e35d4e1
2022-04-25 20:15:04 -07:00
martinl
752ccac435
Subaru: remove A/C fw version ( #24224 )
...
* Subaru: remove A/C fw version
* add test to ensure the ecu isn't added again
* check CP.carName
* clean up
one line
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 599b1ab3ff5bc75603469916a8ecda644657dc34
2022-04-25 16:41:34 -07:00
Adeeb Shihadeh
35e073a22e
Revert "onroad UI: show negative speed ( #23987 )"
...
This reverts commit cac807daf9e39f982db2a856403a50a67622b992.
old-commit-hash: de56544531ea70ce1ca913e5aa6fd6fb3e293ec6
2022-04-25 15:16:06 -07:00
Joost Wooning
31f9e8af0f
UI: remove memcpy on frame receive ( #24318 )
...
* UI: remove frame memcpy
* fix freezing
* fix onroad test
old-commit-hash: f84fdc86bbd8223f22158abfa37e368fa18bedf6
2022-04-25 13:45:55 -07:00
Joost Wooning
c3bebf3e19
UI: use YUV stream instead of RGB ( #24317 )
...
* UI: use YUV stream instead of RGB
* cleanup
* cleanup
old-commit-hash: 43f43b1c64c6b95808e9a876083a70adf4e9a09d
2022-04-25 21:07:08 +02:00
Adeeb Shihadeh
8eb8cf95ec
Revert "UI: remove RGB buffer usage ( #24298 )"
...
This reverts commit 2a13d8446cd19340bfb67f14470b7c35f643e8b8.
old-commit-hash: 13e1c0b3393617a47bd1f9acf20485a1993f83e9
2022-04-24 11:56:30 -07:00
Erich Moraga
83ca61a44f
Add missing LEXUS_RX_TSS2 engine & fwdCamera f/w ( #24309 )
...
`@jackus1#7254` Lexus RX 350 2022 ICE DongleID/route 02b50dc00776ca3c|2022-04-24--11-40-30
old-commit-hash: 785a228f2b976cd5298b2a1dbd48610a314f2129
2022-04-24 11:08:39 -07:00
Azenzic
e6efaa90a8
Hyundai: remove mismatched video ( #24307 )
...
* Fingerprint for Kona EV 2021
update fingerprint to show support for Kona EV 2021 also the Kona EV 2021 uses the G harness ( the same as the 2019)
616f048bf31258b7|2022-04-23--20-38-39
616f048bf31258b7|2022-04-23--20-38-39--4
remove improper youtube link that show a Hyundai Elantra driving listed next to a Kona hybrid
* Update values.py
* Update values.py
fixed an open parentheses that could cause some issues added SCC+LFA requirement note on Kona EV
* Update CARS.md
add Kona EV 2021 to supported cars
* regenerate
* remove that
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: b5f65a587dc6581dffe2c8f68476dc565128d373
2022-04-24 10:12:16 -07:00
Adeeb Shihadeh
03e743ab01
Hyundai: update supported Kona EV model years
...
old-commit-hash: d9683b63dfd40e1fde3a07df62a380c798cae5b6
2022-04-24 09:48:49 -07:00
Shane Smiskol
82e5b382f1
longActive: consider longitudinal control ( #24295 )
...
* consider longitudinal control
* update refs
old-commit-hash: f4d1703b424a9bc9864fb86e9feb705e8b947937
2022-04-22 20:32:36 -07:00
Adeeb Shihadeh
66065b527b
updated: reduce frequency of unnecessary updates ( #24301 )
...
* updated: reduce frequency of unnecessary updates
* little cleanup
old-commit-hash: e8a9b9ed8c31d119ab0d3043db305966b3103c33
2022-04-22 19:18:49 -07:00
Adeeb Shihadeh
75174c93d7
more verbose debug alerts ( #24126 )
...
old-commit-hash: 70987fd9d971ffd1a60b9c97835c838de21a764b
2022-04-22 16:12:54 -07:00
Willem Melching
b9fb3cb647
updated: only run offroad & disable automatic git garbage collection ( #24269 )
...
* updated: disable automatic git garbage collection
* set gc.autoDetach false
* add gc cloudlogs
* trigger updated
* handle exception
* trigger updated
* only while offroad
* no trigger needed
* trigger updated
* check if git gc was interrupted
* trigger updated
* dont set params when shutting down
* let manager clear params
* no offroad check anymore
* event is nicer to parse
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 3063c70ff1b6277b002639679e18e2990b2296d2
2022-04-22 14:43:44 -07:00
Adeeb Shihadeh
4fa266c035
tici downclock ( #24088 )
...
* tici downclock
* fix that
* gp ref
* lower that a bit
* that was a scam
* perf
* update power
* increase that
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: b88fb037aba5582a4c669fe972ddde17d0c4d9b6
2022-04-22 14:14:59 -07:00
Willem Melching
4ff9f6910d
Do not run model when skipping frames ( #23949 )
...
* Do not run model when skipping frames
* also prepare wide
* add logging
* remove newline
* small skip test
* more random
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 374190873349fc9cb59771dbd60ca1a759ff3b8c
2022-04-22 13:59:49 -07:00
Joost Wooning
e0c973fe70
UI: remove RGB buffer usage ( #24298 )
...
* ui: use yuv buffer
* cleanup
* fix watch3
* replay always send yuv
* fix drawing of path
* fix onroad test
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: b9907e86b2dde54263d55d36346bb5609950ab99
2022-04-22 12:55:37 -07:00
Adeeb Shihadeh
16c40a5f7c
CI: power draw test ( #24292 )
...
* CI: power draw test
* initialize hardware
* try this
* fix that
* happy linter
* actually happy
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 37dbc7be0c70adff2f002c1c77c277f7addddd81
2022-04-21 23:13:20 -07:00
Jcs Kadupitiya
942c9345f5
Add missing Highlander Hybrid TSS2 fw ( #24289 )
...
Adding a new firmware version for Ecu.esp for the CAR.HIGHLANDERH_TSS2.
old-commit-hash: c5a700981cad1b261af6e7a968883b605d6dd6e7
2022-04-21 17:52:47 -07:00
Adeeb Shihadeh
e82bf249bb
test onroad: increase DM execution threshold instant max
...
old-commit-hash: 6bbb168511c8f532a41288bfc92d3aa0405c939c
2022-04-21 14:16:56 -07:00
grekiki
cc943ac9a5
mypy: enable --warn-unreachable ( #24282 )
...
* Optional solves mypy assuming None is always None
* oops
* spaces
* Update registration.py
* fix local error
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: b8b15d5cf1d2507c89bbe0e3b1de1ff043d9078e
2022-04-21 18:27:45 +02:00
Willem Melching
373ac5ce3d
manager: cleanup ensure_running ( #24270 )
...
* manager: cleanup ensure_running
* make notcar a blocking condition
* invert last conditions
* duplicate
* always run daemon process
* comment
* typo
* make notcar like driverview
old-commit-hash: 207df4742f7eaa534cb472412bfe2621a0b8ce18
2022-04-21 16:23:39 +02:00
Willem Melching
f1dce8540a
fix --extras on device: move ui.cc into widgets_src ( #24286 )
...
old-commit-hash: 303f4ea5c1e875a6740e6be5bc60abe2637f5903
2022-04-21 16:23:20 +02:00
Willem Melching
c1091a67cd
ui: Fix path artefact when going over hill ( #24285 )
...
old-commit-hash: 38300474bbf2d956ca2482df7c2f93db43b34d27
2022-04-21 16:18:48 +02:00
Shane Smiskol
ebec632ea2
Make safetyParam unsigned ( #24160 )
...
* bump panda & cereal
* make unsigned in boardd
* update health packet version
bump panda
* fix definition
* bump
* regen TOYOTA2 route
* upload route
* oh, ndog param wasn't being set
* regenerate routes with non-zero safety params
* update refs
* regen routes and update refs
* bump panda
* update refs
* update refs
* bump submodules to master
old-commit-hash: 6e62df65d722bf2013c42514bf56cbe5c838ad63
2022-04-21 00:01:05 -07:00
Shane Smiskol
d82173e685
Toyota: resolve controls mismatch due to interceptor thresholds ( #23710 )
...
* remove gas interceptor exception
* panda
* bump submodules
* bump panda
* forgot carstate change
* revert
* add test route
* bump
* update refs for CS.gas
* bump submodules to master
old-commit-hash: 17cb65c4b75987e4fa6630a02f384e27f1472d13
2022-04-20 22:28:56 -07:00
George Hotz
b872fe92ab
loggerd: Separate writer from encoder ( #24257 )
...
* seperate writer from encoder
* video writer in release
* confirm loggerd on PC works, add YUV option to compressed_vipc
* make raw_logger use video_writer
* put this back to master
* close codec
* put this back
* use unique_ptr
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 8d2465578707022ca4a54defe171103955026a65
2022-04-20 14:51:24 -07:00
Adeeb Shihadeh
9b9d332a54
paramsd: fix variable cpu usage ( #24281 )
...
* paramsd: fix variable cpu usage
* fix that
* increase that a bit
old-commit-hash: f7c2b8b46e87f9f32eaeb5a11d20d3df24fe96e4
2022-04-20 14:08:52 -07:00
Adeeb Shihadeh
b57808e650
paramsd: use real logMonoTime ( #24279 )
...
old-commit-hash: 4c9020863f156e98702adf073a018b3ca71f4dbe
2022-04-20 13:57:15 -07:00
Adeeb Shihadeh
806d7b1158
update refs after VW signal removal
...
old-commit-hash: b42b3a8f9fcd513e52d3a78e11e3d87aa432d38c
2022-04-20 13:38:59 -07:00
Jason Young
4333fda533
VW MQB: Remove metric units detection ( #24280 )
...
old-commit-hash: a959650f3dac9aaa4d9438f3126f5c34d35b3c62
2022-04-20 13:35:05 -07:00
Adeeb Shihadeh
709e683bf4
athena: fix random test failure ( #24278 )
...
old-commit-hash: 0fbb7a4673ae02a5d2efafabfdccba194a0a8ebf
2022-04-20 13:20:50 -07:00
Shane Smiskol
3e201c015d
test_models: add Honda segment for standstill controls mismatch ( #24275 )
...
old-commit-hash: e515831e5f879c936347ee7422dbdd6f6d327d68
2022-04-20 12:54:52 -07:00
George Hotz
6c70cfa0ce
precise power measurement script
...
old-commit-hash: 3b2421baa04be3e2408e5177248a31689c244107
2022-04-20 12:15:11 -07:00
Erich Moraga
7ef181647f
Add missing AVALON_TSS2 firmwares ( #24273 )
...
`@Frank McTank#5005` 2022 Avalon Limited ICE DongleID/route 14f1b241a8c4e210|2022-04-20--09-01-39
old-commit-hash: 70775df771da9305d6efd9a8d10434709c5ad7a3
2022-04-20 11:53:17 -07:00
HaraldSchafer
ef41004968
Latcontrol torque: max_torque rename ( #24265 )
...
old-commit-hash: 506650bab66ae1d28f76526ffcb73470b755c170
2022-04-20 11:26:24 -07:00
Gijs Koning
db68d73333
swaglog: delay creating zmq socket to first use - fix modeld crash in sim ( #24271 )
...
* Initialize zmq socket later with initialize method
* empty lines
* Add lock and move initialize function
* Check for initialized
old-commit-hash: 6ab7b2f32562fdb155a14e64c5c2b963f9345b33
2022-04-20 15:03:23 +02:00
Shane Smiskol
955ca69cc4
Honda: do same standstill check as panda ( #24262 )
...
* check standstill against panda
* use XMISSION_SPEED for all, and compare to 0
* fix
* only check for Honda for now
* update comment
* update refs
* update refs and update check
* phantom commit
old-commit-hash: 6de434f2ecee89e86c011bece57cb205c4c047e3
2022-04-19 23:18:01 -07:00