Adeeb Shihadeh
bcdeec3133
Reduce pub-sub memory usage by 10x ( #36884 )
...
less mem
2025-12-16 13:27:14 -08:00
Jason Young
1f312e16d4
messaging: cleanup zero-frequency service initialization ( #35145 )
...
* messaging: fix bug with relaxed checks under simulation
* refactor
* cleanup
* fix bug
* Revert "fix bug"
This reverts commit ea31f3ee83676c5b8ffe57500881557f7586998c.
* that did need to be different
* fix bug, add test coverage
* retry CI
2025-05-09 15:13:52 -04:00
Dean Lee
61bec65f32
common: add MovingAverage class for real-time windowed average calculation ( #34569 )
...
* add MovingAverage class for real-time windowed average calculation
* move to util.py
2025-02-21 14:47:21 -08:00
Dean Lee
3c456f5b8d
submaster: improve avg frequency calculation for efficiency ( #33516 )
...
improve avg freq calculation for efficiency
2024-09-29 10:15:26 -07:00
Adeeb Shihadeh
e3f05db3e0
SubMaster: init services as invalid ( #33513 )
...
* SubMaster: init services as invalid
* fix sim
* update refs
* cpp too
* update refs
* model ref
2024-09-07 16:31:49 -07:00
Dean Lee
a0f8148ae6
SubMaster: add self.services attribute for consistent service management ( #33268 )
...
simplify service handing
old-commit-hash: b644555a1d
2024-08-19 16:56:57 -07:00
Dean Lee
2119f7774e
cereal/SubMaster: encapsulate frequency management in FrequencyTracker ( #33252 )
...
* encapsulate frequency management
* apply reviews
* early return, avoiding unnecessary calculations
* simplify avg freq calc
old-commit-hash: b14fca78e0
2024-08-19 16:53:13 -07:00
Kacper Rączy
4efe8d8118
Fix msgq context overrides ( #33014 )
...
* Fix msgq context overrides
* Remove unneccesary changes
* add reset_context helper
* Remove redundant import
old-commit-hash: c96dbd5a0b
2024-07-18 20:19:39 -07:00
Dean Lee
45c3992e43
CarParams: set no traversal limit ( #32929 )
...
* Increase traversal_limit_in_words to Fix Traversal Limit Errors
* just use log_from_bytes
* come on pycharm
* no free lunch
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 12d729a0a0
2024-07-08 13:50:31 -07:00
Harald Schäfer
05ed3d8c15
Restructure msgq ( #32652 )
...
* Update ref
* Compiles
* compiles
* Refactor rest of libs
* import all
* small fiex
* cleanup import
* Need msgq simlink too
* Add to openpilot docker too
* try repo
* Updates
* Fix lint
* fix docs
* Try blank slate
* Revert "Try blank slate"
This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.
* Maybe scons needs this to clear cache
* fix tests
* Disable test for now
* Update SConstruct
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Fix whitespace
* Write skip normal
* small fixes
* add test path
* Revert repo
* linting
* whitespace
* Bump msgq
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: e70dc90a45
2024-06-09 17:44:34 -07:00
Harald Schäfer
f870a968e9
Split cereal into cereal/msgq ( #32631 )
...
* squash
* fix doc
* compile device
* compile device
* Update ref
* add msgq to precommit exclusions
* No service ports
* fix compile
* address comments
* More comments
* Delete logger
* Update opendbc
* Linting
* bump msgq
old-commit-hash: e71ec4e8d7
2024-06-06 14:31:56 -07:00
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
2020-01-17 10:02:52 -08:00
Vehicle Researcher
bc747137e3
Merge cereal subtree
...
old-commit-hash: 0440535f64
2020-01-15 14:04:38 -08:00
Vehicle Researcher
5087c7684e
Merge cereal subtree
...
old-commit-hash: 391eb0b74b
2019-12-13 13:02:45 -08:00