Dean Lee
81d4595c19
params: log `prefix` on fail ( #29973 )
2 years ago
Adeeb Shihadeh
a90a2cd656
bump version to 0.9.6
2 years ago
Justin Newberry
206fab9b4e
Params: nogil at the end ( #29983 )
...
* nogil at the end
* Wrong pr
* Wrong pr
2 years ago
Justin Newberry
8aad9758cf
Params: better error logging on constructor ( #29954 )
...
* ensure params path
* static anlysis
* revert that
2 years ago
Kacper Rączy
fb804c9529
scons: delete SHARED flag ( #29906 )
...
Delete SHARED
2 years ago
Dean Lee
95ae87659d
test_util.cc: do not compare file contents in REQUIRE ( #29861 )
2 years ago
Justin Newberry
0adc2f20c2
Prefix: cleanup more folders ( #29848 )
...
cleanup downloads folders
2 years ago
Dean Lee
7816edda57
common/params: not copyable ( #29834 )
2 years ago
Adeeb Shihadeh
f197decbc9
fix RateKeeper test
2 years ago
Justin Newberry
bfe990b112
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
2 years ago
Adeeb Shihadeh
ec479322d3
Revert "params: safe and efficient async writing parameters ( #25912 )"
...
This reverts commit 0d797f4e8b
.
2 years ago
Dean Lee
0d797f4e8b
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>
2 years ago
Adeeb Shihadeh
7b6afbc162
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>
2 years ago
Justin Newberry
4e69937d0d
Precommit: ensure executable bit is set ( #29784 )
...
* precommit ensure executable
* exclude tinygrad
* bump submodules
* exclude tinygrad globally
2 years ago
Mitchell Goff
151ac4bf76
Combine update_calibration/get_warp_matrix ( #29719 )
2 years ago
Kacper Rączy
d138a358eb
scons: fix multithreaded builds ( #29716 )
...
* common_python export
* Single scons call
* transformations_python
2 years ago
Adeeb Shihadeh
6333ff94e7
common/i2c: make thread safe ( #29706 )
...
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Greg Hogan
5058f31908
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
2 years ago
Dean Lee
12073c07af
ui/MapSettings: sort destinations by recent activity ( #29079 )
2 years ago
Dean Lee
c6c6877263
util.cc: remove duplidate #include ( #29632 )
...
remove duplidate #include
2 years ago
Dean Lee
2709cd6538
common/tests: combine multiple test binaries into one ( #29623 )
2 years ago
Dean Lee
7270c64872
common/gpio: use util::safe_ioctl ( #29624 )
...
use util::safe_ioctl
2 years ago
Justin Newberry
1ee6ed4b16
Linter: remove pylint ( #29611 )
...
remove pylint
2 years ago
Bruce Wayne
e7418cfa39
KF1D: add steady state kalman code
2 years ago
Adeeb Shihadeh
4917e22615
Minimal build ( #29600 )
...
* add build flag for minimum build
* add minimal build
* update
* fix pj
* bump opendbc
* update subaru
2 years ago
Shane Smiskol
54e98fa888
C++ FirstOrderFilter: add initialized flag ( #29602 )
...
add initialized flag with default to not change behavior
2 years ago
Dean Lee
20e8170399
common/i2c: remove duplicate #include ( #29594 )
2 years ago
Dean Lee
9c7bf50703
cpplint: add filter `whitespace/tab` ( #29588 )
2 years ago
Dean Lee
21da5a216f
cpplint: add filter `build/include_subdir` ( #29585 )
2 years ago
Dean Lee
8b7004e68d
swaglog: remove unnecessary string copy ( #29164 )
2 years ago
Dean Lee
5480d32bb5
cpplint: add filter `whitespace/parens` ( #29565 )
2 years ago
Adeeb Shihadeh
e726505918
bump cereal ( #29561 )
2 years ago
Dean Lee
2d99521e75
cpplint: `build/include_what_you_use` ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Dean Lee
363740a497
cpplint: add `readability/braces` filter ( #29554 )
2 years ago
Willem Melching
e8094affae
ratekeeper.h: add missing <cstdint> include ( #29523 )
2 years ago
mitchellgoffpc
72950cd9bc
Add cl_create_context function
2 years ago
Dean Lee
3eef63af9b
common: C++ RateKeeper ( #29374 )
...
* c++ RateKeeper
* add to files_common
* use util::random_int
* improve monotor_time
* remove ~ratekeeper
2 years ago
Adeeb Shihadeh
a9626f95b6
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 db5e13b991
.
* fix pm test
2 years ago
Adeeb Shihadeh
d61f86d339
replace custom clock helpers with time module ( #29499 )
...
* replace custom clock stuff wtih time module
* fix double
* fix release
* bump cereal
* update type
* fix one more
2 years ago
Adeeb Shihadeh
2fa09a9ad7
common/gpio: fix warning on re-export ( #29457 )
2 years ago
Kacper Rączy
d8bda6feb4
replay: increase file descriptor limit macOS ( #29346 )
...
* Increase file descriptor limit for replay on macos
* Reword comment
* Move set_file_descriptor_limit to common/util.cc
* Include resource.h header
2 years ago
Dean Lee
37c3854623
util: fix typo in comment ( #29392 )
...
fix typo in comment
2 years ago
Dean Lee
22bc06fdaa
common/util: move function `random_int` to util ( #29388 )
2 years ago
Adeeb Shihadeh
db287496d8
Fixes for PYTHONWARNINGS=error ( #29381 )
2 years ago
YassineYousfi
9858754a02
camera transformations: pass intrinsics to get_calib_from_vp ( #29323 )
2 years ago
Misophist
4cad0a035d
util: random_string is now more entropic ( #29312 )
...
* random_string now returns a significantly higher entropy random string
sizeof(char*) is going to be 8 on a 64-bit system, not the length of the
string. Before, only strings of integer values [0-6] were being generated. Also
switched to C++ constructs for simplicity.
* Update common/util.cc
* maintain repo style
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Justin Newberry
8793cbff40
Ruff: enable flake8-builtins ( #29315 )
...
* enable flake8-builtins
* replace any with contains
* fix typo in pack
* fix type
* format is from the parent module, has to be enabled
* item_id
* fix item_id
* disable for id since that's what the remote server returns
2 years ago
Justin Newberry
af3ed37c5c
Ruff: flake8 pie (misc lints) ( #29318 )
...
flake8 pie
2 years ago
Dean Lee
940954c13e
swaglog: enable type-checked against format string ( #29096 )
...
* check&fix fmt
* bump rednose
* correct format string
* bump rednose
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Adeeb Shihadeh
7a5739c5a4
bump to 0.9.5
2 years ago