Commit Graph

8898 Commits

Author SHA1 Message Date
Dean Lee 21ee6d25c7 ui: emit offroadTransition in UIState::updateStatus (#23265) 2022-01-03 17:35:05 -08:00
Dean Lee 7b612d47b6 radard/update: optimize capnp (#23380) 2022-01-03 17:26:32 -08:00
Adeeb Shihadeh c70fc7dbe5 Revert "soundd: back to onroad only (#23236)"
This reverts commit 3bdb445c84.
2022-01-03 16:37:35 -08:00
Adeeb Shihadeh 231f74cd23 GM: Switch to AcceleratorPedal2 (#23376)
* GM: Switch to AcceleratorPedal2

* bump panda

Co-authored-by: Jason Shuler <jshuler@gmail.com>
2022-01-03 16:09:53 -08:00
Adeeb Shihadeh a1a9a0f342 pre-commit: fix exclude patterns (#23375) 2022-01-03 15:24:34 -08:00
Dean Lee f2520b6e80 lane_planner.py/parse_model: follow capnp best practices (#23368) 2022-01-03 15:08:24 -08:00
Dean Lee 2a99bc6dde ui: update lead's z position if modelV2 has been updated after startup. (#23355)
* model frame >= started_frame

* remove optional
2022-01-03 14:37:36 -08:00
Adeeb Shihadeh 1e41f4723b CAN receive error is a comm issue (#23362) 2022-01-03 14:13:45 -08:00
Matt Barclay 162460ebd8 Toyota: 2020 Highlander Hybrid Engine fingerprint (#23373) 2022-01-03 14:13:00 -08:00
Adeeb Shihadeh 24c741ea3d Toyota: merge Lexus RX params (#23374)
* Toyota: merge Lexus RX params

* pick tuning

* add those back
2022-01-03 14:11:34 -08:00
Mr. V 7c51b4da67 add supported FW version for Palisade 2022 (#23337) 2022-01-03 19:52:07 +01:00
Jason Wen e1805574a8 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>
2022-01-03 18:59:23 +01:00
Nelson Chen ab2111adb0 Add firmware from 2021 prius in australia (#23271)
Discord user khalid.auslink#0024 / shah#3880

FW from: 49708c324cfe37cb%7C2021-12-20--04-14-26
2022-01-03 18:41:36 +01:00
Jason Wen 30e8383f30 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>
2022-01-02 15:53:52 -08:00
Adeeb Shihadeh 92f194decc MultiLogIterator: remove wraparound mode (#23360) 2022-01-02 15:16:44 -08:00
Dean Lee 2ca0925da7 lateral_planner.py/publish: follow capnp best practices (#23359) 2022-01-02 11:55:24 -08:00
Dean Lee 1e309a51f5 replay: add flag to disable video (#23353) 2022-01-02 11:54:49 -08:00
Jason Wen bd399693b6 Hyundai: Car Port for 2022 Santa Fe Plug-in Hybrid (#23332)
* Add car port: Hyundai Santa Fe Plug-in Hybrid 2022

* Add test route
2021-12-31 17:28:07 -08:00
George Hotz dc96d4bee7 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>
2021-12-28 18:07:00 +01:00
Shane Smiskol 5387806400 LongitudinalMpc: minor clean up (#23296)
* correct order

* formatting

* Revert "formatting"

This reverts commit 481c390f400179f5d0d8f9b5a3066cb68e484d0c.

* use np.zeros

* typos and formatting

* typo

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

* use hasFlag
2021-12-28 11:37:33 +01:00
Dean Lee 5fe809b344 ui: set the bg color of controllerUnresponsivePermanent to blue (#23308)
* fix bg color

* blue
2021-12-27 23:50:24 -08:00
Adeeb Shihadeh 4c7c2cc75d palanteer seems pretty cool 2021-12-27 15:04:50 -08:00
Dean Lee 1fc1382480 posenet_publish: use const references (#23310) 2021-12-27 13:31:42 -08:00
Dean Lee 21fc9d5375 replay/util: initialize curl at startup (#23314) 2021-12-27 13:22:42 -08:00
Dean Lee c9da1403bc replay: fix segfault or hanging on quit (#23323) 2021-12-27 13:02:18 -08:00
Adeeb Shihadeh 699b20ed44 test/profiler: fix setting carParams 2021-12-26 21:02:12 -08:00
Jason Young 13bf30fdc3 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>
2021-12-24 13:25:58 -08:00
Ewout ter Hoeven 332f568a82 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>
2021-12-24 11:18:39 -08:00
Jason Young 6fd3d50d79 VW MQB: Add FW for 2018 Volkswagen Arteon (#23303) 2021-12-23 21:53:58 -08:00
Erich Moraga b1dfdca982 Add missing HIGHLANDER_TSS2 engine f/w (#23301)
`@JohnLips#7600`  2022 Highlander Platinum ICE  DongleID/route  697a805960f1b2d5|2021-12-23--13-14-37
2021-12-23 16:24:07 -08:00
Dean Lee 94e435cede replay/camera: use existing YUV_BUFFER_COUNT (#23297) 2021-12-22 20:36:16 -08:00
Erich Moraga a1ac77310b 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
2021-12-22 19:31:50 -05:00
Dean Lee bf4d875c5a OnroadHud: use function loadPixmap (#23292) 2021-12-22 10:10:24 -08:00
cydia2020 db6c477373 use km/h in settings.cc (#23290) 2021-12-22 09:37:33 -08:00
Adeeb Shihadeh 6aeb542750 make that consistent with other labels 2021-12-21 16:38:18 -08:00
Dean Lee 50cce27e34 UI: call map::offroadTransition after creating map (#23283) 2021-12-21 11:06:45 -08:00
Adeeb Shihadeh 2d8578545f UI: less harsh controls unresponsive when not engaged 2021-12-20 23:56:25 -08:00
Adeeb Shihadeh ea82af14ca delete old scripts 2021-12-20 23:20:02 -08:00
Adeeb Shihadeh f3e67e0ec2 repeat immediate warning sound 2021-12-20 23:16:16 -08:00
Adeeb Shihadeh 256c51e16a bump cereal 2021-12-20 23:04:27 -08:00
Adeeb Shihadeh c92199ab1a Revert "Mazda: alert when LKAS is disabled (#23273)"
This reverts commit f25121b736.
2021-12-20 23:02:02 -08:00
Jafar Al-Gharaibeh f25121b736 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>
2021-12-20 14:58:46 -08:00
Jafar Al-Gharaibeh cd7db7f48e Mazda CX-5 2021 FW (#23270)
dongle id: 661fdb17fa82339c

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-12-20 14:30:54 -08:00
George Hotz 16dd7ce1fe build for mac (#23048) 2021-12-18 22:00:09 -08:00
Adeeb Shihadeh 646fe7de4b mui 2021-12-18 15:11:29 -08:00
Jafar Al-Gharaibeh fc7d152dca 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>
2021-12-18 14:47:04 -08:00
Dean Lee e4de82f906 ui: remove variable world_objects_visible, use rcv_frame (#23264) 2021-12-17 21:37:29 -08:00
Dean Lee ffc2f64f19 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
2021-12-17 12:29:59 -08:00