Commit Graph

6471 Commits

Author SHA1 Message Date
Adeeb Shihadeh 066e3e3626 CI: use ubuntu_setup.sh (#23349)
* CI: use ubuntu_setup.sh

* works?

* need to fix paths

* set paths

* no batman for now

* pyenv version

* rehash after install packages

* unify python install

* revert that

* fix pyenv path

* no pipenv

* flip that

* fix rehash

* skip that

* revert panda
2022-01-02 14:47:16 -08:00
Greg Hogan 9992ea1ae8 LogReader: add arg to sort by time (#23346)
* logreader optional sort by time

* robust logreader sort by time option
2022-01-02 11:56:53 -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
Greg Hogan 92b553be3e plotjuggler: fix layout param (#23348) 2022-01-01 17:17:24 -08:00
Shane Smiskol fed7cfeef0 PC: dynamically set PYTHONPATH from real openpilot path (#23322)
* dynamic PYTHONPATH setting based on actual openpilot location

* right above

* fix path

* absolute path all the time

* Revert "absolute path all the time"

This reverts commit c0bc2e08e76bd6c0abd36fa082ee00b4746e62dc.

* Update tools/openpilot_env.sh

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-12-31 19:34:08 -08:00
Adeeb Shihadeh 7cd6a88638 fix setup scripts if git isn't installed 2021-12-31 19:29:38 -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
Adeeb Shihadeh d85bb967e8 disable simulator job until LFS is fixed 2021-12-31 16:53:54 -08:00
Adeeb Shihadeh c26f294218 plotjuggler: add mac support (#23344)
* plotjuggler: add mac support

* fix test?

* update readme

* oops

* fix

* cleanup

* typo

* works

* little more

* fix test

* little faster
2021-12-31 16:44:57 -08:00
Adeeb Shihadeh 8fe9c0ef93 mac_setup: install git-lfs 2021-12-31 10:08:34 -08:00
Andrew c86ca387c2 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>
2021-12-29 17:31:56 +01:00
Andrew c95202bd1c 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>
2021-12-28 18:07:32 +01: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
HaraldSchafer cf466222f6 Road Roll Compensation Rebased (#23251)
* first commit

* update refs
2021-12-16 17:34:12 -08:00
Igor Biletskyy 285addeef2 Revert "boardd: new class USBDevice (#23015)"
This reverts commit 4061f50da3.
2021-12-16 17:11:45 -08:00
Dean Lee 4061f50da3 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>
2021-12-16 16:53:48 -08:00
Adeeb Shihadeh e49480185a update model replay ref commit after increased model idx precision 2021-12-16 15:58:56 -08:00
Dean Lee 7d3ad941bc modeldata: use a constexpr function to build the IDXS (#23245)
remove convert_array_to_type

rename to build_idxs

space

double
2021-12-16 14:19:46 -08:00