Commit Graph

18 Commits

Author SHA1 Message Date
Adeeb Shihadeh
16ec56398c add openpilot prefix to imports (#29498)
* add openpilot prefix to imports

* more

* more

* fix docs

* fix linter

* bump submodules

* fix patched tests

* update dynamic imports

* debug

* Revert "debug"

This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.

* fix pm test
old-commit-hash: a9626f95b69af19306143fc4def02fb5769405d2
2023-08-20 20:49:55 -07:00
Adeeb Shihadeh
f50fedb647 Fixes for PYTHONWARNINGS=error (#29381)
old-commit-hash: db287496d82be87971a619b2659c47737142a385
2023-08-13 17:22:56 -07: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
d670eb4125 Spinner: wait for UI to start (#20279)
* Impose a max rate for updating spinner progress

* fix import

* Show spinner until offroad is started

* no need for time

* Fix ROOT_DIR

* Fix fb include

* fix relative path

* don't touch these files

* Close spinner after all procs have started

* don't touch file

* Move up

* Revert changes to spinner, and only sleep on final progress update

* add this back

* revert time

* test sending 100

* test sending 100

* revert makefile changes

* rm 2nd 100% update

* pass spinner to thread function

* pass ignore list

* Default to None

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

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a3556410deb187d7efd95631c970fc90d6861228
2021-03-09 13:37:11 -08:00
Adeeb Shihadeh
eb0fd3eaac fix startup spinner for non-C2 (#19536)
* limit build progress

* cleanup

* types

* comment
old-commit-hash: 71d317872a8df87e571a9078d874e776400df930
2020-12-18 14:47:25 -08:00
Adeeb Shihadeh
349429836c agnos updater (#2600)
* agnos updater

* add manifest

* fix path

* get manifest from overlay

* update manifest

* remove merge markers

* add streaming decompressor

* dont need read all

* Unsparsify

* Fix output filename

* Optimization

* cleanup

* Small cleanup

* Read manifest from merged overlay

* Write hash at end of partition

* Sync before writing hash

* Write bytes in file

* add manifest with image sizes

* Fix manifest path

* File was closed already

* Format string

* Put raw hash

* Read hashes in launch script

* update launch script

* should be agnos version

* fix slot

* Make sure we clear the hash

* Verify partition size

* move updated

* Standalone flasher

* Don't rely on ordering

* Get path

* Debug log

* Download agnos

* Info is enough

* update manifest

* Remove f

* Check downloader return code

* Exit on wrong manifest

* Fix typos

* Set pythonpath before hardware init

* move agnos into hardware folder

* remove comments

* Fix abstractmethod

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b276881fcdb95b6160bae23600ed204f521bdbb4
2020-12-18 13:17:12 +01:00
Adeeb Shihadeh
3a05f06ced Qt spinner (#2494)
* move android spinner

* qt spinner

* rotation

* nothing by default

* spin spin

* fix rotate

* style

* spinner for all

* -2

* unused
old-commit-hash: 6c86afee16c706a3c8e787d576ead509373e6b55
2020-11-06 18:44:04 -08:00
Adeeb Shihadeh
cd317b0780 Fix most remaining LGTM alerts (#1893)
* fixups from LGTM

* short globals

* fix spinner and textwindow

* total ordering

* no spinner/text window when import from manager

* not android
old-commit-hash: 5db81f60ca8fbc0ef28924b7e93f25a1d4bb3764
2020-07-19 16:12:22 -07:00
Willem Melching
a56e2b01f8 Make pylint more strict (#1626)
* make pylint more strict

* cleanup in progress

* done cleaning up

* no opendbc
old-commit-hash: 843a64c72fb94397a1edf814fa66044c8d92acbf
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh
60f348e310 Revert "minor LGTM fixes"
This reverts commit 58d908531bfb28b46719d74121325a7e6548d98c.

old-commit-hash: 6230f366c5f0b319755e537f4cc621f0805b270d
2020-05-29 11:10:48 -07:00
Adeeb Shihadeh
dc81f74851 minor LGTM fixes
old-commit-hash: f10c2eff7d8bbbaab62f1fc3712309a29558be07
2020-05-29 00:44:27 -07:00
Willem Melching
2b60ee9531 Run mypy commit hook (#1591)
* run mypy commit hook

* fix mypy errors
old-commit-hash: 3d08dcc3b27936cb14c0eae63605be9a6c077380
2020-05-28 15:05:04 -07:00
DeanLee
b3d3be7136 fix AttributeError: 'FakeSpinner' object has no attribute 'close' (#1317)
old-commit-hash: b4641b7392bdde59e3fc8c4e7d9232138ae8597b
2020-04-05 10:54:01 -07:00
George Hotz
b1f13418e1 common folder
old-commit-hash: e8d888c45b5cb84bf38bdb96cae579a10f7ae281
2020-01-17 10:28:44 -08:00
George Hotz
81dd5a50cf root commit
old-commit-hash: 6c33a5c1f3878e1d8c8a9db600dd44d188f02c87
2020-01-17 10:02:52 -08:00
Vehicle Researcher
fa4b6f33d1 openpilot v0.7.1 release
old-commit-hash: 8da8b6135c600ec653c16606239364ab9324fd98
2020-01-15 14:05:04 -08:00
Vehicle Researcher
99b637c7ce openpilot v0.7 release
old-commit-hash: c025b96e8a15640ee4d6e4d513fada6ed101afe5
2019-12-13 13:03:08 -08:00
Vehicle Researcher
89d1d84c70 openpilot v0.6.5 release
old-commit-hash: cf80f7a28bc737f50e096b21dea2dd2d6d4a1621
2019-10-09 18:43:53 +00:00