Commit Graph

6125 Commits

Author SHA1 Message Date
Adeeb Shihadeh d710eed2d9 mac_setup: install git-lfs
old-commit-hash: 8fe9c0ef931a19be187fe8fceb3cf69e8864f80f
2021-12-31 10:08:34 -08:00
Andrew 94f0ec19d0 add version to docs.comma.ai (#23260)
* update conf:
* add logo and favicon from connect.comma.ai
* add version

* proper version extract

* v

* Update docs/conf.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: c86ca387c2fd98366057a146735ef2b388f4d070
2021-12-29 17:31:56 +01:00
Andrew 06c80e264c docs.comma.ai add sitemap and robots.txt (#23259)
* add sitemap generator

* update conf for seo

* remove cmake var

* relock

* fix html_baseurl

* more fixes

* newline

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: c95202bd1c1882f30dbb153d58de4d875cdbf025
2021-12-28 18:07:32 +01: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
Adeeb Shihadeh fe13487ad8 update release notes
old-commit-hash: 2ab57c29b7d67fff55edca5393498adaef1ed5b1
2021-12-16 14:07:25 -08:00
Willem Melching 686a38aea4 Abstract classes inherit from ABC (#23246)
old-commit-hash: 14bf834fefc136bec817a69e066c325055841474
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: 55390d273f36f49da3896e687ac5530f40c1d150
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: 4f1eb4278a83a3abebebef67a081961e27594d90
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: a793b949bea7308051448924e0f3a97c396e39e8
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: 768cfdb92a70f30435cf4c4ab1de083d8fbe6491
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: 66ee3e9ef98f240f424228953c307be8daaf5597
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: 7fd98757b46b384fba00aaa91612f66f3de2f020
2021-12-15 15:13:31 -08:00
Adeeb Shihadeh ab783fe661 soundd: back to onroad only (#23236)
old-commit-hash: 3bdb445c84383768d365315abdeab5dad43ccfb5
2021-12-15 14:29:32 -08:00
Jason Young e4b396864d VW MQB: Add FW for 2018 Škoda Superb (#23233)
old-commit-hash: a11259929ba4d6f18892ae31844501d4db1eaa36
2021-12-15 11:18:40 -08:00