Commit Graph

491 Commits

Author SHA1 Message Date
Adeeb Shihadeh
269fbedbcb cleanup old params (#31039)
* cleanup old params

* one more
old-commit-hash: 7ce29ef08e9ee9c930238f697bfe3b69f6be368e
2024-01-17 14:42:07 -08:00
Adeeb Shihadeh
e9e1d4559b Update Python packages and pre-commit hooks (#31003)
* Update Python packages and pre-commit hooks

* fix

---------

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: a8afaf39d4d8c1b1b2b4070441d05aed14f982f5
2024-01-15 10:34:25 -08:00
Adeeb Shihadeh
f4242f188b updated: persist more state between runs for UI (#30963)
* persist branches and more

* fix target

* typo

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b92e71a2b6a2067fa67578106a6b5c15f3f5dfb1
2024-01-10 23:23:13 -08:00
Adeeb Shihadeh
6315957cf4 remove common.profiler (#30927)
* remove common.profiler

* cleanup
old-commit-hash: f0ccb84ae3ed890fdf5610573a8b8882f4e29d3e
2024-01-06 16:20:28 -08:00
stevenworks
4ca48060bc Typo fixes / Grammar corrections (#30860)
* CONTRIBUTING.md: Misspelling

* BOUNTIES.md: Misspelling

* SAFETY.md: Grammar

* realtime.py: Comment consistency

* revert for now

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0f724675580d25734e047904c29bad8be2ce984e
2024-01-01 14:39:01 -08:00
Dean Lee
babf868ddd refactor swaglog (#30795)
old-commit-hash: 3646ca0a14b9ed80bd0ba0ba3b74ee6f7df6d56a
2023-12-19 10:36:35 -08:00
Adeeb Shihadeh
feb03f3625 more common/ pruning (#30778)
old-commit-hash: 8c1176ca839bdfd805f87d281a6d06b9af881eb5
2023-12-17 11:40:46 -08:00
Adeeb Shihadeh
9b40f9ab5f move common.window to xx (#30777)
old-commit-hash: 2c30421b161de649e7e255b04b86b1eb88698a86
2023-12-17 10:50:45 -08:00
Adeeb Shihadeh
63b374bd89 Cython KF1D to Python (#30773)
* Cython KF1D to Python

* cleanup

* set x

* less nesting

* fix release

* Revert "fix release"

This reverts commit 97e5d0f80405660efb861c7b9df7fbfd5dda5dd9.
old-commit-hash: 1421551297396cf16e3d041506f156c1626ded50
2023-12-16 23:45:28 -08:00
Adeeb Shihadeh
887cd1855c common: remove statlog (#30774)
* common: remove statlog

* fix release
old-commit-hash: a07060b24bf9bc0963dad5fa94dc9881d6e3cc06
2023-12-16 23:33:55 -08:00
Adeeb Shihadeh
0bbffc86c0 common/file_helpers: remove xx stuff (#30772)
* remove xx stuff

* cleanup
old-commit-hash: 1346704426ef247a74de3922da670e53251858d9
2023-12-16 22:19:50 -08:00
royjr
6161996653 dependency: remove atomicwrites package (#30769)
* Update file_helpers.py

* remove dependency

* Revert "remove dependency"

This reverts commit e2bd5f4edab7d14b75f65c296631855d886e38d1.

* remove atomicwrites

* allow overwrite

* fix indents

* add type hints

* Update poetry.lock

* optional

* wrap
old-commit-hash: 7f9e41ce2e9da4c712eba469a0f4407afbe3583f
2023-12-16 21:58:19 -08:00
Dean Lee
1d7d7b89b2 common/params: support nonblocking write (#29808)
* Safe and efficient asynchronous writing parameters

* call putNonBlocking in locationd

* remove space

* ->AsyncWriter

* remove semicolon

* use member function

* asyc write multiple times

* add test case for AsyncWriter

* merge master

* add missing include

* public

* cleanup

* create once

* cleanup

* update that

* explicit waiting

* improve test case

* pass prefix to asywriter

* move to params

* assert(queue.empty())

* add comment

* add todo

* test_power_monitoring: remove patch

* rm laikad.py

* fix import

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3c4c4d1f7f22884f84f0f52ad45ab0412fab1eb5
2023-12-13 20:36:01 -08:00
Justin Newberry
059aa6ffd9 Revert "Process Replay: move to pytest (#30260)" (#30687)
This reverts commit eb8f3f7f568aa0e294b32226ae5c5ed5e1b75e9d.
old-commit-hash: 7b5d4d031adb0e2fecf36772bbbb95e2989b9cc7
2023-12-11 14:46:56 -08:00
Shane Smiskol
f5d1c4f371 ruff: check newline (#30668)
* check newline

* nothing catches this
old-commit-hash: 97da129e11e58b07d5d136093827cd1c62311fea
2023-12-09 13:24:18 -08:00
Adeeb Shihadeh
1d86d5442d remove common/xattr.py
old-commit-hash: 80bc5833e7a7df4f9f258b19b38f67209b1d413e
2023-12-08 14:44:39 -08:00
Adeeb Shihadeh
5fbf86a4d9 qcomgpsd: move retry logic to a decorator (#30633)
* qcomgpsd: move retry logic to a decorator

* make that same

* fix

* fix that
old-commit-hash: 51fa7b227afbc1134bf4860eaee819cdc64174d2
2023-12-06 19:55:27 -08:00
Adeeb Shihadeh
59eb2988de swaglog.py goes in common/ (#30631)
* swaglog.py goes in common/

* all of these go in release

* we'll even include the pyx
old-commit-hash: 35f819c8239b8ac3a000087a0f791b91ccea5e5e
2023-12-06 17:27:51 -08:00
Greg Hogan
e91032efb3 replace common.file_helpers.mkdirs_exists_ok with python os.makedirs funtion (#30618)
replace common.file_helpers.mkdirs_exists_ok with python os.makedirs function
old-commit-hash: db35dcd0b5353d9c009fcf5817e611125a6b0b8b
2023-12-06 09:55:29 -08:00
Adeeb Shihadeh
4394116e5b clear non-release params on startup (#30583)
old-commit-hash: 531e62fc033b06b54f11c702dcbde5982bfe41e6
2023-12-01 23:57:54 -08:00
Justin Newberry
661132be5a Pytest: more post-test path cleanup (#30556)
* test cleanup

* missed this one

* remove that

* static class
old-commit-hash: 4086795c29bacd245a7cc372a16730e1a6ff974f
2023-11-30 09:55:48 -08:00
Dean Lee
54346eccee modeld: remove modeldata.h (#30423)
* remove modeldata.h

* remove TRAJECTORY_SIZE
old-commit-hash: 335237aea0a854b41960c32b2f54b6c5af63b707
2023-11-18 22:45:26 -08:00
Adeeb Shihadeh
ef9afc072f bump to 0.9.6
old-commit-hash: fa353401f44751d88ffdc583449177451d726d63
2023-11-17 18:44:05 -08:00
Justin Newberry
6af8e72604 Process Replay: move to pytest (#30260)
* process replay pytest

* enable long diff

* readd job name

* make it executable

* cleanup imports

* retrigger
old-commit-hash: 90c873ab1def0756f6f91fcb7f2d6fad503e3f49
2023-11-13 13:50:23 -08:00
Adeeb Shihadeh
fa87fadcef SOM boot recovery (#30427)
* SOM boot recovery

* bump

* master
old-commit-hash: 515e57402a4ea1c6637b2a377af0dd86214a9373
2023-11-09 18:09:18 -08:00
Vivek Aithal
f8dce94688 params: Remove separate CarParams from each daemon (#30405)
* remove separate previous route carparams from each daemon and add centrally to controlsd

* extract out sigint handler

* make process replay work for torqued

* don't write param if None
old-commit-hash: 2eb487c9a5a905b502433db2e7c5e52a52224f39
2023-11-08 15:25:41 -08:00
Justin Newberry
fe14ca751f Pytest: fix local params overriden (#30312)
* fix local params being overriden

* just reset prefix after completion
old-commit-hash: 412f4cbc1a82fe585d2beb5c84032c685f22e5ec
2023-10-23 17:41:19 -07:00
Adeeb Shihadeh
dd9b72292e UI: remove drive stats (#30183)
* UI: remove drive stats

* little more

* vanish
old-commit-hash: f80db10720099d34fd19e3aa0be36d05647ea897
2023-10-05 14:53:49 -07:00
Adeeb Shihadeh
a9153a39cc Update Python packages and pre-commit hooks (#30149)
* Update Python packages and pre-commit hooks

* fixes

* Update common/transformations/README.md

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* fix

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 377722fd5ed13349acf99c71954f56e6ccd17c3c
2023-10-03 15:31:26 -07:00
Adeeb Shihadeh
1b11da92ed remove panda flash logs (#30138)
* bump panda

* unused

* update test
old-commit-hash: 67161a7174416d8ebc4d186e8e4a1780f43d47db
2023-10-02 15:34:33 -07:00
Adeeb Shihadeh
8548294fec back to 0.9.5
old-commit-hash: 8461cdb77ec76cd3583345f17b310b2cd742f9f8
2023-10-02 14:37:04 -07:00
Dean Lee
cae2534558 params: log prefix on fail (#29973)
old-commit-hash: 81d4595c190c8fcbf3fa27d45d088449ae6c4f4e
2023-09-19 16:22:33 -07:00
Adeeb Shihadeh
4c393faca4 bump version to 0.9.6
old-commit-hash: a90a2cd656ac61e07034baffcf33979bd4732db7
2023-09-19 16:18:39 -07:00
Justin Newberry
3a7fb59234 Params: nogil at the end (#29983)
* nogil at the end

* Wrong pr

* Wrong pr
old-commit-hash: 206fab9b4e98fa0ec3026cb2037bffddf7f25949
2023-09-19 15:07:54 -07:00
Justin Newberry
baa86681f7 Params: better error logging on constructor (#29954)
* ensure params path

* static anlysis

* revert that
old-commit-hash: 8aad9758cf901bb141724a4363e67da5fb044a7d
2023-09-18 16:50:44 -07:00
Kacper Rączy
38a4c4bad7 scons: delete SHARED flag (#29906)
Delete SHARED
old-commit-hash: fb804c9529dd8f1b0c48fb4b7c3d796cdd226878
2023-09-13 14:39:06 -07:00
Dean Lee
9351c70889 test_util.cc: do not compare file contents in REQUIRE (#29861)
old-commit-hash: 95ae87659d381360a7a6aa6610d25f8519414a01
2023-09-09 08:47:52 -07:00
Justin Newberry
0043a1f039 Prefix: cleanup more folders (#29848)
cleanup downloads folders
old-commit-hash: 0adc2f20c250ae7ca9a1d4e205c9560b50309eea
2023-09-08 14:54:15 -07:00
Dean Lee
f48dc2b0ef common/params: not copyable (#29834)
old-commit-hash: 7816edda57894c7967fcd931294a31d000e6508c
2023-09-07 21:44:58 -07:00
Adeeb Shihadeh
268337f32b fix RateKeeper test
old-commit-hash: f197decbc901d2bc2320db507aecae3b040fd7ee
2023-09-07 16:47:33 -07:00
Justin Newberry
c7029ea15a System: cleanup paths to use a common class (#29816)
* use OP prefix for logmessage

* cleanup paths too

* cleanup the paths too

* add hw.py to release

* fix those issues

* fix unittests

* fix unittests

* fix unittests

* do swaglog_ipc properly across all the files

* fix that

* fix swaglog in c++

* review suggestions
old-commit-hash: bfe990b112a83f245bb5244553c84202aec7d86c
2023-09-07 11:32:47 -07:00
Adeeb Shihadeh
0010c9a986 Revert "params: safe and efficient async writing parameters (#25912)"
This reverts commit 780669c33fea1b2a14a0bd6e2eac82c9b8893aa5.

old-commit-hash: ec479322d3d8d789290bee68919d14b040481d53
2023-09-06 13:44:20 -07:00
Dean Lee
08e70aecb2 params: safe and efficient async writing parameters (#25912)
* Safe and efficient asynchronous writing parameters

* call putNonBlocking in locationd

* remove space

* ->AsyncWriter

* remove semicolon

* use member function

* asyc write multiple times

* add test case for AsyncWriter

* merge master

* add missing include

* public

* cleanup

* create once

* cleanup

* update that

* explicit waiting

* improve test case

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0d797f4e8b2552192669d0329c14849f0a970066
2023-09-06 08:50:28 -07:00
Adeeb Shihadeh
53e0f5eb49 pytest: use a clean environment for all tests (#29788)
* pytest: use a clean environment for all tests

* rm that

* fix pj

* put build back

* fix params

* fix that

* handle no key

* that was removed

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 7b6afbc1623b8c159a92f6a5a951fb4d688045ee
2023-09-05 18:52:40 -07:00
Justin Newberry
3b91610c0b Precommit: ensure executable bit is set (#29784)
* precommit ensure executable

* exclude tinygrad

* bump submodules

* exclude tinygrad globally
old-commit-hash: 4e69937d0d3fbdc7d1d42cbc18d7ccf8ddb115f1
2023-09-05 16:33:26 -07:00
Mitchell Goff
fa770f1ccc Combine update_calibration/get_warp_matrix (#29719)
old-commit-hash: 151ac4bf7631a60e05c7490515e58c3309de445b
2023-08-30 15:16:29 -07:00
Kacper Rączy
b580f19448 scons: fix multithreaded builds (#29716)
* common_python export

* Single scons call

* transformations_python
old-commit-hash: d138a358ebd0e67302a409a346777fc15aeb5b66
2023-08-31 00:01:03 +02:00
Adeeb Shihadeh
92014fc125 common/i2c: make thread safe (#29706)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6333ff94e76376e315ba08b0691b5dea5ec03d3c
2023-08-29 18:34:30 -07:00
Greg Hogan
de996d76bb rename GPIO pin with ublox in the name that is not ublox specific (#29702)
* rename UBLOX_PWR_EN to GNSS_PWR_EN

* add schematic label as comment
old-commit-hash: 5058f31908ec10e1dad10fc8f1e9921d6df52efe
2023-08-29 22:24:37 +00:00
Dean Lee
2e4a23510a ui/MapSettings: sort destinations by recent activity (#29079)
old-commit-hash: 12073c07afbd0de42ed475c9368ad9f51fd0c631
2023-08-27 15:13:43 +01:00