Commit Graph

6930 Commits

Author SHA1 Message Date
Jason Young 95fcd5a4ee VW MQB: Add FW for 2019 Volkswagen Tiguan (#24373)
old-commit-hash: 1810909195c3b49467fb158cf972c054ac2bc42c
2022-04-29 10:25:34 -07:00
George Hotz 3a6a5485f2 camerad: less ioctls try 2 (#24371)
* premap the buffers

* memory manager

* free buffers properly, alignment seems okay

* update camerad CPU usage

* cam_sync_fd

* useless line, and use the define

* cheap prereqs for multistream

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b7ddce8bacde6de2f708af0b70ea8a20d61396f2
2022-04-29 18:09:12 +02:00
George Hotz e7aac92b21 Revert "camerad: don't remap everything every time (#24334)" (#24370)
This reverts commit 30e9a8aab8337d6b5661f4acdb0f2cf8c1421504.
old-commit-hash: 5ddd2000b23ca3fc3c67a5a29331a28cffaa2a9e
2022-04-29 07:59:03 -07:00
Gijs Koning d0fc9afa48 Simulator: Fix CI and set low_quality default (#24354)
* Change low_quality argument and fix closing carla bridge

* Some fixes

* Change carla process in test

* Change fov to 120, higher doesn't look good

* Update readme and remove redundant test

* update

* Add folder description
old-commit-hash: ee433dfa57a60364423a222a7f18dc137b77f532
2022-04-29 07:15:05 -07:00
Shane Smiskol effe065577 Add no disengage on accelerator to release notes (#24365)
* add ndog to releases

* aligns with latActive

* note to split it up and describe what it does

* Update RELEASES.md

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

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7b7fc92aba522a6bdb7684bc32b3b663372f20a5
2022-04-28 23:08:49 -07:00
Shane Smiskol 754b93997a Support RAV4 Hybrid 2022 with stock longitudinal (#23969)
* add panda flag for toyota stock long with camera

* clean up

* Add 2022 RAV4 Hybrid from Philly

* fix wrong fw in interface, did this ever work?

* Must be a hybrid

* no radar parsing

* fix can error

* move to own platform

* generate docs

* fix

* Add 2022 Rav4 XSE Australia fingerprint parameters (#24303)

* Update values.py

Add 2022 Rav4 XSE Australia

* add commas

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

* bump panda

* wait, the camera doesn't even send 0x343, right?

* use a set instead, more obvious

* don't test without a parser

* bump panda

* flip panda flag

* bump panda

* add commas

* regen and update refs

* set to none by default

* revert parenthesis

* update comment

* bump panda

* regen and update refs

* add test models and update readme

* bump to master

Co-authored-by: BrettLynch123 <34538435+BrettLynch123@users.noreply.github.com>
old-commit-hash: c1caca104f8553d485334e33446bd7b8ec1fb8ca
2022-04-28 22:37:46 -07:00
Adeeb Shihadeh 009a62912e jenkins: reduce timeout to 20 minutes
old-commit-hash: ef7ece408a932ae724cadd108e523d0e4a7cef94
2022-04-28 22:02:32 -07:00
Adeeb Shihadeh fdf13d565b controlsd: add lagging alert (#24360)
* controlsd: add lagging alert

* move those

* just this for now

* no camera malfunction
old-commit-hash: 3abbe827deac4954a2af97a191171c8b7d08d0c1
2022-04-28 19:51:42 -07:00
Shane Smiskol 32075d4681 safety param: make uint16_t (#24362)
* only use half of the available bytes

* move to set_safety_model

* regen and update refs

* last two

* bump to master
old-commit-hash: 66dd8f934cc84cdbd3e48e7b49836ec95f82c23a
2022-04-28 17:56:34 -07:00
Jason Young d82f65a1b7 Accept resumeCruise for resuming prior speed setpoint (#24348)
* accept two button types for resume

* retry CI

* Update selfdrive/controls/lib/drive_helpers.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 45f131e0e7d1df168295f180195a3b06aba87736
2022-04-28 17:46:58 -07:00
Shane Smiskol 66454c000e Fix can replay Jungle warning (#24364)
old-commit-hash: 2fa5a59e3faf30c2d4bb45056f20ec2408dcb3f4
2022-04-28 17:43:26 -07:00
George Hotz 0c2a527b3e camerad: don't remap everything every time (#24334)
* premap the buffers

* memory manager

* free buffers properly, alignment seems okay

* update camerad CPU usage

* cam_sync_fd

* useless line, and use the define

* cheap prereqs for multistream

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: fb7d84875bc993beaf75645a7e4b311704742f02
2022-04-28 11:32:32 -07:00
Willem Melching 0817a5aaef ui: only open map pane when route is not empty (#24352)
old-commit-hash: bff0db566bfc20a8f2ab936646c67be22b9ade76
2022-04-28 14:51:02 +02:00
Shane Smiskol 12d0a18a05 Clean up controllers (#24340)
* clean up lat controllers

* pass CP once

* sort
old-commit-hash: c9be2f02c3877fe00674ea7fc86912234376a36a
2022-04-28 00:42:52 -07:00
Jason Young 9de3eb63c1 Fix PlotJuggler saved tuning layout (#24347)
old-commit-hash: be0f27ac852fe41a904af1bb05b1438d43938896
2022-04-27 21:57:37 -07:00
Daniel 2201cf91a6 Update can_replay.py (#24346)
Fixed typo from PandaJugnle to PandaJungle
old-commit-hash: c60ce2a770e32a228f5dc234df7a37d2c77c37d1
2022-04-27 21:43:36 -07:00
Adeeb Shihadeh 1d989be3d6 more release notes
old-commit-hash: 0c24465b641dd15a64e2442cab5d30ed1257d276
2022-04-27 17:59:37 -07:00
HaraldSchafer 41d18c678f Update RELEASES.md
old-commit-hash: 2d086998dc0cfbec940d0e56071cee4a2f3be24a
2022-04-27 17:39:04 -07:00
Adeeb Shihadeh 2130eae8b1 fix panda_jungle static analysis
old-commit-hash: bfeaf35d6dd2c29c65b80a70ccafd9948056731a
2022-04-27 15:45:00 -07:00
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
ZwX1616 957d0c2767 Update RELEASES.md
old-commit-hash: 6a3762e2fcba845f7a430531a5c1b978e8ba7395
2022-04-27 13:37:04 -07:00
HaraldSchafer 9e66896ca6 Update RELEASES.md
old-commit-hash: 0ae77b49cd5094b5f26752ae23051441304e125d
2022-04-27 13:00:30 -07:00
HaraldSchafer 0e4a9b369a Update RELEASES.md
old-commit-hash: 096b9f2909896a687fa86580cbd5b337a5e588ce
2022-04-27 12:59:52 -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
Adeeb Shihadeh 7e1f873cf7 third_party cleanup (#24336)
* third_party cleanup

* remove zlib

* cleanup release files
old-commit-hash: 2474546f4807d7653edf4d4eaaf5dbdd7edafb26
2022-04-26 19:03:54 -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
George Hotz d348193169 compressed_vipc: make yuv default
old-commit-hash: 3694f9801c280cdba5654a8ad90ef4b5827795d0
2022-04-25 21:44:37 -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
Adeeb Shihadeh 9b3040f0ff research magic
old-commit-hash: 1714c9be17bff852a642ee9bb1701e1b9d434a6f
2022-04-25 20:12:14 -07:00
Comma Device 482801d4fd body: remove print spam
old-commit-hash: 729d7ae549315411017cc19aeae52baeca27c776
2022-04-25 20:07:12 -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
Cameron Clough 38e14ed47b Don't build OpenCV tests in webcam docker image (#24326)
Building opencv tests and apps are [on by default](https://docs.opencv.org/4.x/db/d05/tutorial_config_reference.html#tutorial_config_reference_general_tests),
but we don't need them.
old-commit-hash: 2d77a31cd57a17e8562ba7a57f741a942d674cf9
2022-04-25 16:08:42 -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
MT e80d78969d ubuntu_setup.sh: support 22.04 LTS (#24312)
* Build on 22.04 lts

- Removed python-dev from install_ubuntu_common_requirements()
- Added case ubuntu 22.04
- Added install_ubuntu_21.10_requirements()
- Modified install_ubuntu_latest_requirements() to include python3-dev instead of python-dev

* remove 21.10

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2a64f7b5638d4acf0dff3a84e842e78a89537d77
2022-04-25 14:06:30 -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
Gijs Koning 0112f4212f Simulator: Fix keyboard input (#24320)
* Fix keyboard input for simulator

* add unblock_stdout() to test

* Revert import change
old-commit-hash: 01968ca61ba32174f86f826c5b4166890034691c
2022-04-25 07:26:30 -07: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