Commit Graph

4526 Commits

Author SHA1 Message Date
Dean Lee 3723b3a877 lane_planner.py/parse_model: follow capnp best practices (#23368)
old-commit-hash: f2520b6e80125a108108b7acef1a10ab55b51284
2022-01-03 15:08:24 -08:00
Dean Lee 64ba111cbb ui: update lead's z position if modelV2 has been updated after startup. (#23355)
* model frame >= started_frame

* remove optional
old-commit-hash: 2a99bc6ddefaa050bf4f82640e3097ef230102e8
2022-01-03 14:37:36 -08:00
Adeeb Shihadeh 98c8147ec3 CAN receive error is a comm issue (#23362)
old-commit-hash: 1e41f4723b539c9c76c1ae0c16f7a0a42cfe5deb
2022-01-03 14:13:45 -08:00
Matt Barclay 08e2b9d697 Toyota: 2020 Highlander Hybrid Engine fingerprint (#23373)
old-commit-hash: 162460ebd8003c1f6d697b739dce8851c9527bbd
2022-01-03 14:13:00 -08:00
Adeeb Shihadeh 7e0e258a3e Toyota: merge Lexus RX params (#23374)
* Toyota: merge Lexus RX params

* pick tuning

* add those back
old-commit-hash: 24c741ea3da8efef533c3b7664064bce743d14fd
2022-01-03 14:11:34 -08:00
Mr. V 81e2b1ee48 add supported FW version for Palisade 2022 (#23337)
old-commit-hash: 7c51b4da677cf25e7a5d5ba6b838363f8ffefb4a
2022-01-03 19:52:07 +01:00
Jason Wen 35c7664529 HKG: Add and Fix FW for 2022 Kia Niro EV (#23253)
* Remove non-exist esp FW from Niro_EV

* HKG: Add FW for 2022 Kia Niro EV

* Add 2022 Kia Niro EV to STEER_MAX = 384

* Update CARS.md

* HKG: Add FW for 2022 Kia Niro EV

* Remove duplicate FW version

* Remove duplicate FW versions from 0.8.3 FW dump (#20702)

* Fix FW versions spacing

* Fix FW versions spacing

* Add additional FW version

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: e1805574a86a9680ab8eadb39a74426eccae0d57
2022-01-03 18:59:23 +01:00
Nelson Chen e681f40c62 Add firmware from 2021 prius in australia (#23271)
Discord user khalid.auslink#0024 / shah#3880

FW from: 49708c324cfe37cb%7C2021-12-20--04-14-26
old-commit-hash: ab2111adb0521c3ebe636bb55075914d29316aaf
2022-01-03 18:41:36 +01:00
Jason Wen e279bca5af HKG: blacklist cars with lower steering max (#23255)
* HKG: Add Lower Steering Torque Cars to STEER_MAX = 255 Blacklist

* add comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 30e8383f303f6d09c65d12821ca32a6310f6d5c3
2022-01-02 15:53:52 -08:00
Adeeb Shihadeh c036e64c86 MultiLogIterator: remove wraparound mode (#23360)
old-commit-hash: 92f194decc2bce39d6dd0dbabf39b2a9b1aa53e5
2022-01-02 15:16:44 -08:00
Dean Lee 5fbbb129a6 lateral_planner.py/publish: follow capnp best practices (#23359)
old-commit-hash: 2ca0925da7fd94a5f12a4ebe14a394a09703a212
2022-01-02 11:55:24 -08:00
Dean Lee 2a3a9e0bef replay: add flag to disable video (#23353)
old-commit-hash: 1e309a51f53a7678f42f40010fb0371b20c2f213
2022-01-02 11:54:49 -08:00
Jason Wen 5eeb916f0e Hyundai: Car Port for 2022 Santa Fe Plug-in Hybrid (#23332)
* Add car port: Hyundai Santa Fe Plug-in Hybrid 2022

* Add test route
old-commit-hash: bd399693b6e2239522e06d6c10d5f2938a06f0d2
2021-12-31 17:28:07 -08:00
George Hotz 86a39e838b Add More Types for mypy (#23268)
* mypy passes

* a few more

* a few in manager

* more types, will lint

* more

* simple types

* events type

* Update selfdrive/thermald/thermald.py

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dc96d4bee7b898172a6a15de4799af0e2d35605e
2021-12-28 18:07:00 +01:00
Shane Smiskol d5bf8e0e65 LongitudinalMpc: minor clean up (#23296)
* correct order

* formatting

* Revert "formatting"

This reverts commit 481c390f400179f5d0d8f9b5a3066cb68e484d0c.

* use np.zeros

* typos and formatting

* typo

* typo
old-commit-hash: 5387806400ff9258e158e0400683a2c9a5e6c043
2021-12-28 12:05:52 +01:00
Dean Lee ed55910aa9 replay/segment: pass member function pointer to QtConcurrent::run (#23312)
old-commit-hash: 58a363e07d640938e74f938d14dfc5beb6fa1036
2021-12-28 11:38:31 +01:00
Dean Lee 9191452120 replay: add flag REPLAY_FLAG_FULL_SPEED to play at full speed (#23324)
* add flag REPLAY_FLAG_FULL_SPEED

* use hasFlag
old-commit-hash: de6126ba06fc27978237a70049e444412ed22fce
2021-12-28 11:37:33 +01:00
Dean Lee 70b297f5db ui: set the bg color of controllerUnresponsivePermanent to blue (#23308)
* fix bg color

* blue
old-commit-hash: 5fe809b34471470b79e436d071d8278297b15a3c
2021-12-27 23:50:24 -08:00
Adeeb Shihadeh 0e3f1eae46 palanteer seems pretty cool
old-commit-hash: 4c7c2cc75ddeb92483f95f327a3098cfaa8fc9df
2021-12-27 15:04:50 -08:00
Dean Lee 70e06287f7 posenet_publish: use const references (#23310)
old-commit-hash: 1fc1382480f2d346762bf91353f9f582b4d7d07e
2021-12-27 13:31:42 -08:00
Dean Lee 1860d9c18c replay/util: initialize curl at startup (#23314)
old-commit-hash: 21fc9d537548f7694177f8bb3a1e31cb94995624
2021-12-27 13:22:42 -08:00
Dean Lee 446e59d10f replay: fix segfault or hanging on quit (#23323)
old-commit-hash: c9da1403bcb4491db0fd9ee9e2e921c630ad96a9
2021-12-27 13:02:18 -08:00
Adeeb Shihadeh 44498de2e6 test/profiler: fix setting carParams
old-commit-hash: 699b20ed4447e09d9d208f7a04074f48ff0055ec
2021-12-26 21:02:12 -08:00
Jason Young 9b0bf86cc6 VW MQB: Add FW for 2019 Volkswagen Jetta (#23306)
* fingerprint 2019 vw jetta sel

* remove duplicate, fix sorting

Co-authored-by: cyanet01 <richard@connectya.com>
old-commit-hash: 13bf30fdc35bec8a2eceed215a95574415639b39
2021-12-24 13:25:58 -08:00
Ewout ter Hoeven f206ebd054 Pyupgrade 3.6: Update syntax with Python 3.6+ features (#23305)
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default

Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>

Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
old-commit-hash: 332f568a8241fba9459cb70c76840b9670e6993a
2021-12-24 11:18:39 -08:00
Jason Young 6cd96b07e7 VW MQB: Add FW for 2018 Volkswagen Arteon (#23303)
old-commit-hash: 6fd3d50d79f0e75460f7f513657dfa1b47094bfa
2021-12-23 21:53:58 -08:00
Erich Moraga 78a8d0cbd6 Add missing HIGHLANDER_TSS2 engine f/w (#23301)
`@JohnLips#7600`  2022 Highlander Platinum ICE  DongleID/route  697a805960f1b2d5|2021-12-23--13-14-37
old-commit-hash: b1dfdca98284164d666336ef4e5cff0f71b1229a
2021-12-23 16:24:07 -08:00
Dean Lee 7c71bc1b98 replay/camera: use existing YUV_BUFFER_COUNT (#23297)
old-commit-hash: 94e435cededb90ff9215e1ecd9d0fa0dcfaf365e
2021-12-22 20:36:16 -08:00
Erich Moraga 0edf62e48d Add missing COROLLA_TSS2 ESP & engine f/w (#23294)
`Sebastiaan#0569` 2020 Corolla Hatch 1.2T XR RHD  DongleID/route  567e47e503b36408|2021-12-22--20-44-44
old-commit-hash: a1ac77310b3b3aabbcbc97b390f2609c3a200424
2021-12-22 19:31:50 -05:00
Dean Lee d30f82421d OnroadHud: use function loadPixmap (#23292)
old-commit-hash: bf4d875c5af226224f6d4e826c3d03d6765b89a4
2021-12-22 10:10:24 -08:00
cydia2020 af8143a333 use km/h in settings.cc (#23290)
old-commit-hash: db6c477373913d1ac67ffa863c3b1dc1a93e9611
2021-12-22 09:37:33 -08:00
Adeeb Shihadeh 2296b5727e make that consistent with other labels
old-commit-hash: 6aeb54275083cb4b13d3d6f77583797deb0d2678
2021-12-21 16:38:18 -08:00
Dean Lee 54a3a91628 UI: call map::offroadTransition after creating map (#23283)
old-commit-hash: 50cce27e34aaed9ee5029031447b36a8fa328851
2021-12-21 11:06:45 -08:00
Adeeb Shihadeh 487f8cdeaf UI: less harsh controls unresponsive when not engaged
old-commit-hash: 2d8578545ffdaa7c40527aaeb68819515f7f2039
2021-12-20 23:56:25 -08:00
Adeeb Shihadeh 9522a54293 delete old scripts
old-commit-hash: ea82af14ca876c158637a234158694bc410803f6
2021-12-20 23:20:02 -08:00
Adeeb Shihadeh 7d4c84dcaf repeat immediate warning sound
old-commit-hash: f3e67e0ec211331471830a0ada9eebc2eaea48d3
2021-12-20 23:16:16 -08:00
Adeeb Shihadeh 8f09da4407 bump cereal
old-commit-hash: 256c51e16afdf4a8fa7089cc9c318c07b15504a7
2021-12-20 23:04:27 -08:00
Adeeb Shihadeh 55d6972d08 Revert "Mazda: alert when LKAS is disabled (#23273)"
This reverts commit e67713edb1f62957974f20a0f7eceb2fc9efb1f4.

old-commit-hash: c92199ab1a94d2ea565e68e513bf4f9e3e81d489
2021-12-20 23:02:02 -08:00
Jafar Al-Gharaibeh 9b7dd754c4 Mazda: alert when LKAS is disabled (#23273)
* Mazda: alert when LKAS is disabled

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Update selfdrive/controls/lib/events.py

* Update selfdrive/car/mazda/interface.py

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f25121b7364a2babef5022e852cf97570bee6da2
2021-12-20 14:58:46 -08:00
Jafar Al-Gharaibeh 5f92847cfa Mazda CX-5 2021 FW (#23270)
dongle id: 661fdb17fa82339c

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: cd7db7f48e4ffd045531f42e0f47a6e2ea576523
2021-12-20 14:30:54 -08:00
George Hotz 6bac4f1c4a build for mac (#23048)
old-commit-hash: 16dd7ce1fe2a2b0537fefd5ad131d1494d0d09ad
2021-12-18 22:00:09 -08:00
Adeeb Shihadeh 02aafc42c3 mui
old-commit-hash: 646fe7de4b48901ed1be4998fcd5848997c9740e
2021-12-18 15:11:29 -08:00
Jafar Al-Gharaibeh 241392b370 Mazda: CX-5 and 3 FW (#23267)
* Mazda 3 2017 fw

dongle id: f7fec643f5178df8

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Mazda CX-5 2020 FW

dongle id: f4b488f06d3b7711

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: fc7d152dcafe3274aeb35d9c2f7599300ec8489e
2021-12-18 14:47:04 -08:00
Dean Lee 9321e1bb6c ui: remove variable world_objects_visible, use rcv_frame (#23264)
old-commit-hash: e4de82f90636a551a2490ccda1abc30a9b7f30b1
2021-12-17 21:37:29 -08:00
Dean Lee de3f8d227b modeld: update live calibration in main thread (#23235)
* update live calibration in main thread

* static ground_from_medmodel_frame

* more static

* cleanup

* no lambda

* trigger ci
old-commit-hash: ffc2f64f19b026a488b36a57a139b83716b7bed2
2021-12-17 12:29:59 -08:00
HaraldSchafer f64c2974b4 Road Roll Compensation Rebased (#23251)
* first commit

* update refs
old-commit-hash: cf466222f623df5fac325b86b71dc4e181b40d55
2021-12-16 17:34:12 -08:00
Igor Biletskyy f532819faf Revert "boardd: new class USBDevice (#23015)"
This reverts commit 6965aa0b903060ab38aace31c15fefdc7a0429eb.

old-commit-hash: 285addeef26d60fc7d263efae81d07defabb0171
2021-12-16 17:11:45 -08:00
Dean Lee 49c35a70b5 boardd: new class USBDevice (#23015)
* USBDevice

* merge master

* rebase master

* add to fiels_common

* inline functions

* namespace

* init err

* remove nested if

* cleanup

* bump panda for branch

* change includes

* bump panda branch

* change name

* bump master panda

Co-authored-by: Igor Biletskyy <briskspirit@users.noreply.github.com>
Co-authored-by: Igor Biletskyy <bs@privacy.im>
old-commit-hash: 4061f50da3dabff7a16e2a845d66efe00f9d7978
2021-12-16 16:53:48 -08:00
Adeeb Shihadeh d5a1acd1b6 update model replay ref commit after increased model idx precision
old-commit-hash: e49480185ac315f817a2d4c63089e23d11023cb8
2021-12-16 15:58:56 -08:00
Dean Lee 52ad5cddac modeldata: use a constexpr function to build the IDXS (#23245)
remove convert_array_to_type

rename to build_idxs

space

double
old-commit-hash: 7d3ad941bc4ba4c923af7a1d7b48544bfc0d3e13
2021-12-16 14:19:46 -08:00