Dean Lee
a80999fd4f
moded/RunModel: fix possible memory leak without a virtual destructor ( #22990 )
...
old-commit-hash: d97ad1302a5ad665caa4cb081ada3db477ebaee4
2021-11-20 11:41:24 -08:00
Dean Lee
2d8780e5c6
logreader: fix memory leak in Event ( #22987 )
...
old-commit-hash: 9cb46cc4a12063c0ec27e9cf932cb8f7a10ed63a
2021-11-20 11:12:52 +01:00
Dean Lee
05b2ff7f26
ui/settingswindow: set parent for nav_btns. ( #22984 )
...
old-commit-hash: b399b48f0a32e17a111571d8b1d6ccef52432e1c
2021-11-19 20:40:46 -08:00
Dean Lee
3492b1290f
ui/device: fix uninitialized variable awake ( #22983 )
...
old-commit-hash: 7ce9ff1b0420e5e371570e7d69deb5c19d41ec0f
2021-11-19 20:40:29 -08:00
Adeeb Shihadeh
4249c77159
test car models: verify panda and carState's ACC main on match ( #22979 )
...
old-commit-hash: cfdeeff3fdef028e2254a29f3fabeed99246eb07
2021-11-19 15:07:16 -08:00
Vivek Aithal
16d9fcbd80
Revert ecef std until real fix ( #22982 )
...
* too low
* update refs
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com >
old-commit-hash: 94d59314e28c484c8a4a9fb36c8ab659ea79da57
2021-11-19 12:49:32 -08:00
ZwX1616
fc1954492b
dmonitoringmodeld: fix black padding not black after libyuv.I420Scale ( #22971 )
...
* true black
* set black once
* move def
* add commnet
* Update selfdrive/modeld/models/dmonitoring.cc
* Update selfdrive/modeld/models/dmonitoring.cc
* Update selfdrive/modeld/models/dmonitoring.cc
* Update selfdrive/modeld/models/dmonitoring.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 80940b98440a71e15d96dcb16105a3d0b39393f3
2021-11-19 12:16:23 -08:00
Adeeb Shihadeh
66aac35dd9
Hyundai: remove longitudinal whitelist ( #22976 )
...
* Hyundai: remove longitudinal whitelist
* move legacy safety mode into values.py
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 9abfc02148ea6fa5552f3f1563cf6d5310b73044
2021-11-19 14:20:03 +01:00
Adeeb Shihadeh
44568de155
faster jenkins ( #22973 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: e13630dfee49dd4439d70d932ea89ba5af74c82f
2021-11-18 23:43:09 -08:00
Dean Lee
97ee5320f3
ui: disable toggles while onroad ( #22975 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 63779c385d32baeb8fadb2dcbdf250f2756b6c22
2021-11-18 21:45:40 -08:00
Andrew
d9d7a55099
Genesis G70 2020 port ( #22692 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 2a6816b8935d3f4a863e42b37361c7ef6f104ddf
2021-11-18 20:45:32 -08:00
Adeeb Shihadeh
ab9019e57f
test car models: only check cruise state on PCM cruise cars
...
old-commit-hash: 2723cc6cf8c6481a510c9347ef0526b53f679e43
2021-11-18 20:42:48 -08:00
Adeeb Shihadeh
d9008f85ae
test car models: support disable radar cars
...
old-commit-hash: 01c2a0a211d44586704c6dfda53dce754f138d63
2021-11-18 19:59:30 -08:00
Cruise Brantley
b63bc90632
Hyundai: Add Elantra to allowed longitudinal cars ( #22974 )
...
old-commit-hash: d77438b4e3cc4b1b3e9af778d3c5beab61421060
2021-11-18 18:41:09 -08:00
Jason Wen
65b9766e22
Hyundai: Car Port for 2022 Santa Fe Hybrid ( #22962 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 73d66ada8dbd8a2aaea9ffbc333d6d53f5c44bdc
2021-11-18 17:33:10 -08:00
Dave
1ed29c23cb
GMC Acadia: Add lateral feedforward function ( #22899 )
...
* GM Acadia lateral tuning
* old tune was not returning to center, nor strong enough. Trying to make P and F equal.
* reduce integral, and eyeball actuator delay
* return PI to openpilot default
* remove default values from acadia
Co-authored-by: qadmus <42746943+qadmus@users.noreply.github.com >
old-commit-hash: 957864019a831fb9c1f295f0917390e17037d606
2021-11-18 15:45:37 -08:00
Adeeb Shihadeh
ab74f9a372
back to 0.8.11
...
old-commit-hash: f813ae3e1ab9118931587912ec2eb5a28d0eb8cb
2021-11-18 15:10:41 -08:00
Jason Young
84ef09130c
VW MQB: Volkswagen T-Roc Mk1 ( #22967 )
...
old-commit-hash: ef3811721934f2f20d7781c4cf576246a44a75ba
2021-11-18 14:52:59 -08:00
Brett Sanderson
a42e858c99
Honda: rename HONDA_NIDEC_ALT_MAIN to HONDA_PARAM_NIDEC_ALT_SCM_MESSAGES ( #22970 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 8b25551c7fe61ab5e4a7842f72e6474d517b9e04
2021-11-18 14:52:37 -08:00
Adeeb Shihadeh
211fc86ae5
CI: fix test car models bug
...
old-commit-hash: 9e1ee72a914dce3812475e588cbcf566dca733d8
2021-11-18 14:40:59 -08:00
Igor Biletskyy
989270ac56
fix chunk buffer size ( #22969 )
...
old-commit-hash: edaf7d76049d6807fe75238d33804420e0b15ee9
2021-11-18 14:15:06 -08:00
Dean Lee
1cf28894e6
panda: fix len_to_dlc always return 1 if len > 24 ( #22964 )
...
old-commit-hash: 57db99700c0ec41764d8645cec34a99a5b237135
2021-11-18 13:02:36 -08:00
Willem Melching
9399b6ae61
uploader: switch to upload_url v1.4 ( #22966 )
...
old-commit-hash: 23a1f478174ca443f760a5db910bc235c05bfffb
2021-11-18 16:23:50 +01:00
Willem Melching
425349a55c
swaglog.py: respect LOGPRINT env variable ( #22950 )
...
* swaglog.py: respect LOGPRINT env variable
* only change handler that prints
* keep usefull manager prints
* only print running list
* revert process changes
* fix test
old-commit-hash: 77b334a698300d6f763bfcc0210c32b6f2ae6f63
2021-11-18 16:05:06 +01:00
Cameron Clough
8ad1abd8ba
api: send User-Agent on network requests ( #22965 )
...
* api: set User-Agent on network requests
The format of the User-Agent header matches the format in `common/api/__init__.py`.
Closes #22954 .
* Update selfdrive/ui/qt/util.cc
* fix parentheses
* refactor into function
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 140c7f430cf9372c3706db4af9f58654a3ee2d0f
2021-11-18 15:53:21 +01:00
eFini
039e8be5a0
nav: flip instruction images for RHD ( #22877 )
...
* nav instruction icon for rhd
* we dont need rhd for active direction
* define suffix as constant
* ps version icon
* reflect icon instead
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 52c4ab73a979d114bc3bd073e991da05acded46f
2021-11-18 14:14:41 +01:00
Robbe Derks
b66e2a9f7a
Tesla longitudinal control ( #22561 )
...
* tesla long squashed changes
* fix no resume from stop
* try setting accel limits to 0 to remove jerk with fast switchover
* expand radard lookup tables
* bump merged panda submodule
old-commit-hash: 4960578bdfae11689da81e80973b998b05e6fd96
2021-11-18 13:57:12 +01:00
Adeeb Shihadeh
1d7184d160
better update prompt text
...
old-commit-hash: 6c909ba651d3d7199c8b8a4c529de84001f4f943
2021-11-17 23:28:23 -08:00
Adeeb Shihadeh
2bcaee3678
add offroad alerts for car unrecognized ( #22934 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Chris McCammon <chrismccammon123@gmail.com >
old-commit-hash: 2a72e2a5140a7b02c3a13f167e91b4238a01eba0
2021-11-17 20:29:00 -08:00
HaraldSchafer
6eb5dce881
Lateral planner: lower max cost ( #22960 )
...
* prevent ping pong when tuning is not so great
* update refs
old-commit-hash: 24aadaf1f35d61f26637377bc353539d25989f94
2021-11-17 20:24:10 -08:00
Dean Lee
816fbec7ab
replay: fix swsscale crash on nv12->yuv conversion ( #22961 )
...
old-commit-hash: ddea21e6482a16cb80c772f5a4fd0a19a038d393
2021-11-17 20:04:45 -08:00
Dean Lee
0049f2cf99
boardd: fix a panda may be connected by multiple panda instance ( #22932 )
...
* fix bugs in main
* no auto
old-commit-hash: 0716635808df8c2bdf05e31e4130f1b9a985c2f7
2021-11-17 19:25:21 -08:00
Dean Lee
433add3a02
boardd/can_recv_thread: improve caching for can_frame ( #22944 )
...
* better cache
* use emplace to remove copy&realloc
* rebase master
old-commit-hash: 841fb93def3b52cc597d6e60a51f676002e6f3ac
2021-11-17 17:54:14 -08:00
Adeeb Shihadeh
1792ebea6d
Honda: handle ACC state consistent with ISO 15622:2018 ( #22958 )
...
old-commit-hash: 14651866c2ec1dded8fae7ae3c9109acf2e79985
2021-11-17 17:30:50 -08:00
Igor Biletskyy
8844b560d0
panda.cc: struct for CAN header, counter complexity, cleanup for readability ( #22956 )
...
* try struct
* can_send refactor
* cleanups
* Resize vector only when it is needed
* ...
* more cleanup
old-commit-hash: 47d0d717ebdef8a0b3c472bfc17b5cd1b401c5ed
2021-11-17 16:00:18 -08:00
Adeeb Shihadeh
74f4dfde27
bump to 0.8.12
...
old-commit-hash: 7d18e26ff1712027aa2f7a85ad5eb045295a15cf
2021-11-17 15:00:37 -08:00
Jafar Al-Gharaibeh
da895353a0
Mazda: fix typo in CX-5 fw ( #22957 )
...
old-commit-hash: 787dde003ed3996a6258f636ae7e327da135570a
2021-11-17 13:49:10 -08:00
Adeeb Shihadeh
09ad54970c
Revert "Revert "Fix build failures in Ubuntu 21.10 ( #22952 )""
...
This reverts commit caf0013a20b5330b4b964867adf40294bc407e43.
old-commit-hash: f2a81309e10a93b85d4d68a83392eab9d8df9155
2021-11-17 13:46:38 -08:00
Jason Young
03ab5abb87
VW MQB: Add FW for 2018 Volkswagen e-Golf ( #22953 )
...
old-commit-hash: 36ca9d2daa376f676e2c969a232e19dbf6c29c7a
2021-11-17 13:44:10 -08:00
Adeeb Shihadeh
64a51de881
Revert "Fix build failures in Ubuntu 21.10 ( #22952 )"
...
This reverts commit e50fe1bb134e652aacd734c40b590b49d443512a.
old-commit-hash: 5e2570dc7555609e855370ab8afdade3640282c4
2021-11-17 11:40:17 -08:00
Jason Shuler
6e92ec1cf2
Fix build failures in Ubuntu 21.10 ( #22952 )
...
* Fix compile on Ubuntu 21.10
* Add missing c++17 optional refs in ui
old-commit-hash: 61f9b3e653b08900e6a5011320f383efbe443c14
2021-11-17 18:59:36 +01:00
Willem Melching
fd3140fd6f
cleanup unused pip packages ( #22947 )
...
* cleanup unused pip packages
* fix linter
old-commit-hash: f1c77f97b934fac877230d9438fb4a15d1813c52
2021-11-17 16:23:03 +01:00
Willem Melching
f076987942
Revert "cameraview: remove glflush, reduce C3 CPU usage ( #22949 )"
...
This reverts commit 6edbdc5e535eafaeea4b2e546ccb78ad190d21fb.
old-commit-hash: 372b0f10da2e6cd7c564f15d8769905744c0627c
2021-11-17 16:22:25 +01:00
Dean Lee
1ae1237520
cameraview: remove glflush, reduce C3 CPU usage ( #22949 )
...
* remove glflush
* revert cpu
old-commit-hash: 33b1b940671b4c5472e3ec272d6b109087edf73d
2021-11-17 15:37:45 +01:00
Adeeb Shihadeh
4c7fbb1da0
Take camera snapshot using VisionIPC ( #22070 )
...
* vipc snapshot
* front and rear need to go
* remove SEND_*
* cleanup
* put that back
* fix duplicate code
* dont start camerad on pc
* fix rgb stride
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 0a1aaaa74cfb36a4c99b80698f0fd6c8b32e7044
2021-11-17 15:24:50 +01:00
sshane
51081766f3
ui: draw all radard leads ( #22901 )
...
* draw leads detected from radar since it has a low speed override
* comment
* fill lead_verticies
* fix
* Revert changes
Revert "fix"
This reverts commit 7a478c435a0913e09512801309cf52654f3e17ac.
Revert "fill lead_verticies"
This reverts commit 5cdf265bb98480413a4a83c093b3e00489ba2f94.
Revert "comment"
This reverts commit 24a8a3fc2beef263909810d828d4e4fb5ea576e8.
Revert "draw leads detected from radar since it has a low speed override"
This reverts commit 4679fa5d16c7e961def9aaa52e92fb7d994a830d.
* Revert "Draw model leads (#21864 )"
This commit reverts f1003b8c85f73d9fbecd0b83bc9a6de6f46ea0c0
old-commit-hash: fa55dbe98394b5ed39385f26d6314a45fa899c15
2021-11-17 14:29:54 +01:00
Dean Lee
ec71ceead3
sidebar: dont update states when hidden ( #22948 )
...
old-commit-hash: ddc35826f74ead9f6529910880f9d4f2c16fe727
2021-11-17 14:12:57 +01:00
Willem Melching
f48cbfcd8d
increase c3 ui cpu usage after async pbo copy
...
old-commit-hash: 7a3754d50b2325863259cb31b8da6c5e31990246
2021-11-17 14:00:55 +01:00
Dean Lee
e72feb1263
framereader: remove memory copy overhead for AVIO ( #22894 )
...
* no memory copy
* merge master
better
old-commit-hash: dc8e23c94b29a8c26cc377f8649e497f33036c33
2021-11-17 13:25:40 +01:00
Willem Melching
a25637897b
nav: render at 20fps instead of 10fps
...
old-commit-hash: 5648b22833c4ec5eaa1b76af3018f856f6cfaf6f
2021-11-17 12:26:17 +01:00