Commit Graph

8267 Commits

Author SHA1 Message Date
Adeeb Shihadeh c036e64c86 MultiLogIterator: remove wraparound mode (#23360)
old-commit-hash: 92f194decc
2022-01-02 15:16:44 -08:00
Dean Lee 5fbbb129a6 lateral_planner.py/publish: follow capnp best practices (#23359)
old-commit-hash: 2ca0925da7
2022-01-02 11:55:24 -08:00
Dean Lee 2a3a9e0bef replay: add flag to disable video (#23353)
old-commit-hash: 1e309a51f5
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: bd399693b6
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: dc96d4bee7
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: 5387806400
2021-12-28 12:05:52 +01:00
Dean Lee ed55910aa9 replay/segment: pass member function pointer to QtConcurrent::run (#23312)
old-commit-hash: 58a363e07d
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: de6126ba06
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: 5fe809b344
2021-12-27 23:50:24 -08:00
Adeeb Shihadeh 0e3f1eae46 palanteer seems pretty cool
old-commit-hash: 4c7c2cc75d
2021-12-27 15:04:50 -08:00
Dean Lee 70e06287f7 posenet_publish: use const references (#23310)
old-commit-hash: 1fc1382480
2021-12-27 13:31:42 -08:00
Dean Lee 1860d9c18c replay/util: initialize curl at startup (#23314)
old-commit-hash: 21fc9d5375
2021-12-27 13:22:42 -08:00
Dean Lee 446e59d10f replay: fix segfault or hanging on quit (#23323)
old-commit-hash: c9da1403bc
2021-12-27 13:02:18 -08:00
Adeeb Shihadeh 44498de2e6 test/profiler: fix setting carParams
old-commit-hash: 699b20ed44
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: 13bf30fdc3
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: 332f568a82
2021-12-24 11:18:39 -08:00
Jason Young 6cd96b07e7 VW MQB: Add FW for 2018 Volkswagen Arteon (#23303)
old-commit-hash: 6fd3d50d79
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: b1dfdca982
2021-12-23 16:24:07 -08:00
Dean Lee 7c71bc1b98 replay/camera: use existing YUV_BUFFER_COUNT (#23297)
old-commit-hash: 94e435cede
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: a1ac77310b
2021-12-22 19:31:50 -05:00
Dean Lee d30f82421d OnroadHud: use function loadPixmap (#23292)
old-commit-hash: bf4d875c5a
2021-12-22 10:10:24 -08:00
cydia2020 af8143a333 use km/h in settings.cc (#23290)
old-commit-hash: db6c477373
2021-12-22 09:37:33 -08:00
Adeeb Shihadeh 2296b5727e make that consistent with other labels
old-commit-hash: 6aeb542750
2021-12-21 16:38:18 -08:00
Dean Lee 54a3a91628 UI: call map::offroadTransition after creating map (#23283)
old-commit-hash: 50cce27e34
2021-12-21 11:06:45 -08:00
Adeeb Shihadeh 487f8cdeaf UI: less harsh controls unresponsive when not engaged
old-commit-hash: 2d8578545f
2021-12-20 23:56:25 -08:00
Adeeb Shihadeh 9522a54293 delete old scripts
old-commit-hash: ea82af14ca
2021-12-20 23:20:02 -08:00
Adeeb Shihadeh 7d4c84dcaf repeat immediate warning sound
old-commit-hash: f3e67e0ec2
2021-12-20 23:16:16 -08:00
Adeeb Shihadeh 8f09da4407 bump cereal
old-commit-hash: 256c51e16a
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: c92199ab1a
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: f25121b736
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: cd7db7f48e
2021-12-20 14:30:54 -08:00
George Hotz 6bac4f1c4a build for mac (#23048)
old-commit-hash: 16dd7ce1fe
2021-12-18 22:00:09 -08:00
Adeeb Shihadeh 02aafc42c3 mui
old-commit-hash: 646fe7de4b
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: fc7d152dca
2021-12-18 14:47:04 -08:00
Dean Lee 9321e1bb6c ui: remove variable world_objects_visible, use rcv_frame (#23264)
old-commit-hash: e4de82f906
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: ffc2f64f19
2021-12-17 12:29:59 -08:00
HaraldSchafer f64c2974b4 Road Roll Compensation Rebased (#23251)
* first commit

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

old-commit-hash: 285addeef2
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: 4061f50da3
2021-12-16 16:53:48 -08:00
Adeeb Shihadeh d5a1acd1b6 update model replay ref commit after increased model idx precision
old-commit-hash: e49480185a
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: 7d3ad941bc
2021-12-16 14:19:46 -08:00
Willem Melching 686a38aea4 Abstract classes inherit from ABC (#23246)
old-commit-hash: 14bf834fef
2021-12-16 15:31:53 +01:00
Ewout ter Hoeven a962365292 Convert format strings strings to f-strings (#23241)
* Convert all text strings to f-strings

Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.

Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.

F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale

* revert pyextra changes

* revert ublox.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 55390d273f
2021-12-16 14:58:17 +01:00
Willem Melching 7b3e330def Log actuators after applying rate limits in CarController (#23230)
* return actuators from carcontroller

* log it

* pass to latcontrol

* chrysler

* gm

* honda

* more brands

* rest of the brands

* gm cleanup

* hyundai cleanup

* update ref

* rename field

* fix subaru

* add types

* more subaru fixes #23240

* consistent whitespace

* bump cereal
old-commit-hash: 4f1eb4278a
2021-12-16 13:08:20 +01:00
Adeeb Shihadeh 0386f99c1f boardd: add controls heartbeat (#23185)
* boardd: add controls heartbeat

* bump panda

* bump again

* bump panda
old-commit-hash: a793b949be
2021-12-15 17:58:16 -08:00
Dean Lee 20c50f8f51 framereader: use the same alignement as visionbuf (#23208)
* aligned rgb buffer

* fix yuv stride
old-commit-hash: 768cfdb92a
2021-12-15 16:19:07 -08:00
Adeeb Shihadeh 24c730f083 model replay: more consistent replay (#23237)
* first cleanup

* don't send calib and desire

* should always be valid

* little more
old-commit-hash: 66ee3e9ef9
2021-12-15 16:12:24 -08:00
martinl b99c359d61 Subaru: Add Impreza/Crosstrek 2020 (#21011)
* Add Subaru Impreza/Crosstrek 2020

* Update selfdrive/test/test_routes.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7fd98757b4
2021-12-15 15:13:31 -08:00
Adeeb Shihadeh ab783fe661 soundd: back to onroad only (#23236)
old-commit-hash: 3bdb445c84
2021-12-15 14:29:32 -08:00
Jason Young e4b396864d VW MQB: Add FW for 2018 Škoda Superb (#23233)
old-commit-hash: a11259929b
2021-12-15 11:18:40 -08:00