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
Dean Lee
4db56c1247
util.cc: remove duplidate #include ( #29632 )
...
remove duplidate #include
old-commit-hash: c6c6877263f66bc55c966fa32d40724a80979cdc
2023-08-25 14:34:46 -07:00
Dean Lee
00f900e8c4
common/tests: combine multiple test binaries into one ( #29623 )
...
old-commit-hash: 2709cd6538363e439b3de39a9f4df05619dfbaa0
2023-08-25 10:35:39 -07:00
Dean Lee
5385263422
common/gpio: use util::safe_ioctl ( #29624 )
...
use util::safe_ioctl
old-commit-hash: 7270c6487237ee56e8a41c593ff7b3d8aa35a92c
2023-08-25 08:20:43 -07:00
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16e2ade0dd887c0687243aee769043e5
2023-08-24 16:30:54 -07:00
Bruce Wayne
d334798141
KF1D: add steady state kalman code
...
old-commit-hash: e7418cfa397ec2185e4b12baaa481017b7b23322
2023-08-24 15:04:47 -07:00
Adeeb Shihadeh
61cf541322
Minimal build ( #29600 )
...
* add build flag for minimum build
* add minimal build
* update
* fix pj
* bump opendbc
* update subaru
old-commit-hash: 4917e22615adbfcc9b3c3ec89b00d240e0b48883
2023-08-24 14:58:30 -07:00
Shane Smiskol
8cbc68a3be
C++ FirstOrderFilter: add initialized flag ( #29602 )
...
add initialized flag with default to not change behavior
old-commit-hash: 54e98fa888c9e28eb93513bada8371a63a54bb55
2023-08-24 14:33:11 -07:00
Dean Lee
e14a6bdda2
common/i2c: remove duplicate #include ( #29594 )
...
old-commit-hash: 20e81703995e74877248ac28fd653f059bc44e34
2023-08-24 16:21:03 +01:00
Dean Lee
228d30d5a9
cpplint: add filter whitespace/tab ( #29588 )
...
old-commit-hash: 9c7bf50703e4da45163e175766b4bdfabcb9916c
2023-08-24 08:06:58 -07:00
Dean Lee
0984736972
cpplint: add filter build/include_subdir ( #29585 )
...
old-commit-hash: 21da5a216fc8f5269d2deedc538c2f543a1c270a
2023-08-24 15:42:17 +01:00
Dean Lee
7e6be3378c
swaglog: remove unnecessary string copy ( #29164 )
...
old-commit-hash: 8b7004e68dfad516adbdecc9925bd7fc954cc8d4
2023-08-23 20:10:23 -07:00
Dean Lee
db211ce617
cpplint: add filter whitespace/parens ( #29565 )
...
old-commit-hash: 5480d32bb5d98d57100fd709b9ffe7bfcc6e020a
2023-08-23 14:25:05 -07:00