Adeeb Shihadeh
f197decbc9
fix RateKeeper test
2023-09-07 16:47:33 -07:00
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
2023-09-07 11:32:47 -07:00
Adeeb Shihadeh
ec479322d3
Revert "params: safe and efficient async writing parameters ( #25912 )"
...
This reverts commit 0d797f4e8b .
2023-09-06 13:44:20 -07:00
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 >
2023-09-06 08:50:28 -07:00
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 >
2023-09-05 18:52:40 -07:00
Justin Newberry
4e69937d0d
Precommit: ensure executable bit is set ( #29784 )
...
* precommit ensure executable
* exclude tinygrad
* bump submodules
* exclude tinygrad globally
2023-09-05 16:33:26 -07:00
Mitchell Goff
151ac4bf76
Combine update_calibration/get_warp_matrix ( #29719 )
2023-08-30 15:16:29 -07:00
Kacper Rączy
d138a358eb
scons: fix multithreaded builds ( #29716 )
...
* common_python export
* Single scons call
* transformations_python
2023-08-31 00:01:03 +02:00
Adeeb Shihadeh
6333ff94e7
common/i2c: make thread safe ( #29706 )
...
Co-authored-by: Comma Device <device@comma.ai >
2023-08-29 18:34:30 -07:00
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
2023-08-29 22:24:37 +00:00
Dean Lee
12073c07af
ui/MapSettings: sort destinations by recent activity ( #29079 )
2023-08-27 15:13:43 +01:00
Dean Lee
c6c6877263
util.cc: remove duplidate #include ( #29632 )
...
remove duplidate #include
2023-08-25 14:34:46 -07:00
Dean Lee
2709cd6538
common/tests: combine multiple test binaries into one ( #29623 )
2023-08-25 10:35:39 -07:00
Dean Lee
7270c64872
common/gpio: use util::safe_ioctl ( #29624 )
...
use util::safe_ioctl
2023-08-25 08:20:43 -07:00
Justin Newberry
1ee6ed4b16
Linter: remove pylint ( #29611 )
...
remove pylint
2023-08-24 16:30:54 -07:00
Bruce Wayne
e7418cfa39
KF1D: add steady state kalman code
2023-08-24 15:04:47 -07:00
Adeeb Shihadeh
4917e22615
Minimal build ( #29600 )
...
* add build flag for minimum build
* add minimal build
* update
* fix pj
* bump opendbc
* update subaru
2023-08-24 14:58:30 -07:00
Shane Smiskol
54e98fa888
C++ FirstOrderFilter: add initialized flag ( #29602 )
...
add initialized flag with default to not change behavior
2023-08-24 14:33:11 -07:00
Dean Lee
20e8170399
common/i2c: remove duplicate #include ( #29594 )
2023-08-24 16:21:03 +01:00
Dean Lee
9c7bf50703
cpplint: add filter whitespace/tab ( #29588 )
2023-08-24 08:06:58 -07:00
Dean Lee
21da5a216f
cpplint: add filter build/include_subdir ( #29585 )
2023-08-24 15:42:17 +01:00
Dean Lee
8b7004e68d
swaglog: remove unnecessary string copy ( #29164 )
2023-08-23 20:10:23 -07:00
Dean Lee
5480d32bb5
cpplint: add filter whitespace/parens ( #29565 )
2023-08-23 14:25:05 -07:00
Adeeb Shihadeh
e726505918
bump cereal ( #29561 )
2023-08-23 13:42:37 -07:00
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 >
2023-08-23 13:25:17 -07:00
Dean Lee
363740a497
cpplint: add readability/braces filter ( #29554 )
2023-08-23 10:13:46 -07:00
Willem Melching
e8094affae
ratekeeper.h: add missing <cstdint> include ( #29523 )
2023-08-22 15:21:16 +01:00
mitchellgoffpc
72950cd9bc
Add cl_create_context function
2023-08-21 19:32:48 -07:00
Dean Lee
3eef63af9b
common: C++ RateKeeper ( #29374 )
...
* c++ RateKeeper
* add to files_common
* use util::random_int
* improve monotor_time
* remove ~ratekeeper
2023-08-20 21:27:02 -07:00
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 db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
2023-08-20 20:49:55 -07:00
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
2023-08-20 18:50:58 -07:00
Adeeb Shihadeh
2fa09a9ad7
common/gpio: fix warning on re-export ( #29457 )
2023-08-17 16:32:23 -07:00
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
2023-08-15 00:05:27 +02:00
Dean Lee
37c3854623
util: fix typo in comment ( #29392 )
...
fix typo in comment
2023-08-14 12:05:38 -07:00
Dean Lee
22bc06fdaa
common/util: move function random_int to util ( #29388 )
2023-08-14 09:37:16 -07:00
Adeeb Shihadeh
db287496d8
Fixes for PYTHONWARNINGS=error ( #29381 )
2023-08-13 17:22:56 -07:00
YassineYousfi
9858754a02
camera transformations: pass intrinsics to get_calib_from_vp ( #29323 )
2023-08-11 10:24:30 -07:00
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 >
2023-08-11 03:46:47 -07:00
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
2023-08-10 18:58:22 -07:00
Justin Newberry
af3ed37c5c
Ruff: flake8 pie (misc lints) ( #29318 )
...
flake8 pie
2023-08-10 15:28:51 -07:00
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 >
2023-07-31 17:49:50 -07:00
Adeeb Shihadeh
7a5739c5a4
bump to 0.9.5
2023-07-27 15:30:37 -07:00
Maxime Desroches
922e27fa5a
gpio_export return type ( #29158 )
...
return type
2023-07-26 16:01:26 -07:00
Maxime Desroches
eec99436c1
hardware: move gpio_export ( #29154 )
2023-07-26 15:12:01 -07:00
Vivek Aithal
92448012f0
[commabody] Support both self-balancing bodies and the wheeled bodies ( #29118 )
...
* add wheeled body support
* add WheeledBody param
* make movement less jerky
2023-07-24 19:49:51 -07:00
Adeeb Shihadeh
5831f9e5a0
common/gpio: switch to lru_cache for 3.8 compatiblity
2023-07-23 11:54:51 -07:00
Shane Smiskol
12ed894362
dmonitoringmodeld: initialize model first ( #29080 )
...
* hacky fix
* even better
* ordering
* clean up
* fix model replay
* add comment
* catch sigint
2023-07-23 09:28:22 -07:00
Adeeb Shihadeh
d92c9aef23
tici: speedup power save setting ( #29100 )
...
* speedup
* update type
---------
Co-authored-by: Comma Device <device@comma.ai >
2023-07-22 17:15:58 -07:00
Dean Lee
269ceca27a
common/swaglog: remove trailing semicolon from macros ( #29042 )
2023-07-19 19:46:42 -07:00
Robbe Derks
70bbb94dc5
Panda logs ( #28511 )
...
* log in pandaStates
* Revert "log in pandaStates"
This reverts commit 87ee283ac45c2eeed94d9a958927e3072ec4460f.
* log to param
* dumps datetime
* cloudlog instead
* add truncation
* fix
* try isotimestamp
* duh
* more fixes
* should be __class__
* add some time to account for log gathering
* use new fast interface
* Revert "add some time to account for log gathering"
This reverts commit 2c08ad48052dfc0546530059a0cda03b04c4939a.
* cleanup
* simple test
* fix wrong serial
---------
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-07-19 14:24:57 -07:00