Commit Graph

5865 Commits

Author SHA1 Message Date
Adeeb Shihadeh
89eb02fee4 Bring back Accord 2021 + 2021 Hybrid (#23021)
Co-authored-by: Chris Souers <csouers@gmail.com>
old-commit-hash: 239c7c1d4e7c5b854490bc44f6f4dc252b331cf3
2021-11-23 23:19:11 -08:00
Dean Lee
a919e5721e panda: add unit tests for usb protocol (pack/unpack) (#22955)
* prepare for unit tests

* add to selfdrive_tests.yaml

* test header

* test chunk count

* rename test function

* continue

* don't check chunks count

* test recv_can

* continue

* small cleanup

* merge master

* cleanup

* rename functions

* test different packet size

* fix operator precedence problem

* refactor unpack_can_buffer

* cleanup test

* cleanup unpack_can_buffer

* add test for multiple pandas

* rename to test_panda

* restore test_boardd

* rename to test_boardd_usbprotocol

* fix typo

* bus_offset = [0,4]

* change src

* use USBPACKET_MAX_SIZE
old-commit-hash: c77354009c61da8a322dc9aaaa4c1ecaec432449
2021-11-23 20:15:22 -08:00
Dean Lee
987f87cc0e loggerd: split loggerd.cc into three files
old-commit-hash: 75dd0d6296753dea9f6817955ef975f8d543fd19
2021-11-23 17:53:49 -08:00
George Hotz
5d990ad509 thermald: track power usage / pmic temps (#23013)
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6462ced209fe545c2354c0d04bee98767a03eea7
2021-11-23 16:08:20 -08:00
Dean Lee
b2e59c0bfe networking: remove unused #inculde<QMovie> (#23016)
old-commit-hash: 6964adec39b8264d4332fe1daee99a336a4a275b
2021-11-23 15:24:28 -08:00
Willem Melching
21651f23b9 don't build internal kalman objects on device (#23011)
old-commit-hash: 9417051062b80a6df8b21043186cacf348d90d31
2021-11-23 16:25:51 +01:00
Erich Moraga
2844ba5248 Add several missing CHRH f/w (#23002)
`Hookler#6341` 2017 C-HR DongleID/route 9de14f6c78d29e91|2021-11-22--03-48-14
His car was previously FP'ing over FPv1 on OP 0.8.1, and he didn't realize it, until I verified it.  Relevant FPv1 was pruned from newer code.
old-commit-hash: 9b9cbe1f375bddb4665fd53e63697663e84a8130
2021-11-23 15:35:08 +01:00
Dean Lee
0babd4d6e8 UI: fix cameraview crash after going offroad in settings window (#23009)
old-commit-hash: c1f617db46e3ed0aa9993dadd278f4f0c0efef6b
2021-11-22 21:46:46 -08:00
Adeeb Shihadeh
bef53929d7 camerad: lower YUV vipc buffer count to 40 on tici
old-commit-hash: 20d5c0c1cb73f848770bcf8b887eff9ccd43a442
2021-11-22 16:53:59 -08:00
Adeeb Shihadeh
43abb312f8 boardd: small cleanup (#23005)
old-commit-hash: d482b2d0a265473bbb3a44e88810a436d53566bb
2021-11-22 15:15:03 -08:00
Adeeb Shihadeh
8731fc42b7 back to 0.8.12
old-commit-hash: a941a1040da3bcacca24f2eeee1745d7376d2394
2021-11-22 14:26:00 -08:00
Erich Moraga
821ddf785f Add Lexus RC support (#22941)
* Add f/w firmware for Lexus RC under LEXUS_IS

`@ph33rl355#0529`  2020 Lexus RC F Track Edition  DongleID/route 32696cea52831b02|2021-11-16--23-12-02

Doesn't seem to need a full port, per user feedback...
https://discord.com/channels/469524606043160576/524327905937850394/910400788319326229

* Update CARS.md

* Separated Lexus RC from IS... still using IS DBC

* match lexus IS for now

* Update wheelbase to match published specs

I'm hesitant to touch `mass`, even though I know it's different from the IS.

* Add TOYOTA.LEXUS_RC test route

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d630ec9092f039cb5e51c5dd6d92fc47b91407e4
2021-11-22 14:22:28 -08:00
Adeeb Shihadeh
76aed9c23b perfetto (#22998)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b51da61dc4401efadfe15b90ce65ab24c80cf9e0
2021-11-22 14:03:42 -08:00
Jason Young
b30ff5fd0c VW MQB: Longitudinal prereqs (#23004)
old-commit-hash: 819b7a120ac08ca64abda390da7cd36b21da4781
2021-11-22 14:01:42 -08:00
Adeeb Shihadeh
3a6413a103 Honda Bosch cleanup (#22999)
old-commit-hash: 7746130a1e68ea2b8b0c781effb344f1edb207bc
2021-11-21 14:52:35 -08:00
Adeeb Shihadeh
3a47379995 boardd: add note about slow disconnected panda check
old-commit-hash: a405fc5d43ebe4acd644e2ad14338e34841320f2
2021-11-21 00:32:05 -08:00
Adeeb Shihadeh
f22905b998 boardd: set thread names
old-commit-hash: fb32381a8893f3999d1f34f6efda6f15846027a2
2021-11-21 00:20:33 -08:00
Dean Lee
31b63386f8 wifiManager/get_response: pass response by const reference (#22997)
old-commit-hash: aa0cc260b9bc3f6e2a2d2c8e837c92243e6c07cf
2021-11-20 20:19:43 -08:00
Adeeb Shihadeh
5e6608b67e comma pedal: rename create_gas_command -> create_gas_interceptor_command
old-commit-hash: b07ddad6ed62f9b0002ce7aa73db932dd2d7a73e
2021-11-20 20:13:58 -08:00
Adeeb Shihadeh
be1f80810e boardd: resolve TODO, still need that for USB errors
old-commit-hash: 944fa5fa0814d9499036b4ffa505a06ee3f926fc
2021-11-20 19:06:47 -08:00
Dean Lee
8f9ca8d3f6 replay: add test to check dcam and ecam (#22993)
old-commit-hash: 1d2dfab81c60e48ebaeabe01efe74222190a7071
2021-11-20 18:56:27 -08:00
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
Adeeb Shihadeh
4ffc570eb8 link to ctf in tools readme
old-commit-hash: a64169af26c905521e85e1a48d1cff0095f24d8a
2021-11-19 21:16:49 -08: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
bb0c6b7314 bump 0.8.11 release date
old-commit-hash: 08078acbd0b4f7da469c7dff6159000e358974a9
2021-11-19 15:08:56 -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
Greg Hogan
0ff7695dcb Revert "update_requirements.sh: install both Pipfiles"
This reverts commit 97ea2c37e0e831216969b8c04e9053022e39ca10.

old-commit-hash: 148c739ec754c981889c714faa265a7fa0010676
2021-11-19 11:48:34 -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
Adeeb Shihadeh
19c69ee0c2 nicer car count script
old-commit-hash: 1b800f4075e0e38bd3275c71833ab7ee5e331ec0
2021-11-18 20:56:20 -08:00
Adeeb Shihadeh
5aacdf610f add genesis g70 to release notes
old-commit-hash: 5f731ee9140a0e339483188a5ee179b428f0c4d1
2021-11-18 20:47:19 -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
ee8addb8c5 add can fd to release notes
old-commit-hash: a36d616815ed37e7f11141a91bdea3d3769549d3
2021-11-18 15:11:51 -08:00
Adeeb Shihadeh
ab74f9a372 back to 0.8.11
old-commit-hash: f813ae3e1ab9118931587912ec2eb5a28d0eb8cb
2021-11-18 15:10:41 -08:00
Adeeb Shihadeh
2e40fdfb0f juggle: strip input
old-commit-hash: 80d0aaadf448d9f47a7da4779791566323e5de22
2021-11-18 14:56:01 -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