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
2 months ago
Dean Lee
26cedc5ff1
bridge: remove deprecated services check ( #34463 )
...
Remove deprecated services check from get_services
3 months ago
DevTekVE
8f7bbe4ee3
macos: use /tmp instead of /dev/shm ( #34097 )
...
* No /dev/shm on MacOS so we go to tmp instead given that the /dev/shm makes tests not really work fine on mac
* Cleanups
Fix cereal messaging tests
* keep msgq stock
More shm updates for macos
* typo
* fix return
* Semicolon...
5 months ago
Maxime Desroches
50aac48fba
ci: faster unit_test ( #34019 )
...
* multiple
* CACHE
* ...
* cache
* now fast
* maybe
* bp
* vv
* slow
* fast
* fix
* faster
* ruff
* info
* timeout
* info
* more
* clean
* faster
* test
* collection time
* is this real?
* fix
* back
* clean
* just to make sure
* faster!
5 months ago
Maxime Desroches
4f9794097b
ci: faster unit_tests ( #33953 )
...
* effect
* test
* no
* yes
* try some caching
* try
* 1
* try more 1
* just for fun
* 50 maybe????
* all for nothing
* fix
* add back
* back
* timeout
* clean
* try
* no
* less
6 months ago
Dean Lee
2f7d09bb01
bridge: improve message sending loop ( #33810 )
...
improve sending loop
6 months ago
Dean Lee
3c456f5b8d
submaster: improve avg frequency calculation for efficiency ( #33516 )
...
improve avg freq calculation for efficiency
7 months ago
Adeeb Shihadeh
e3f05db3e0
SubMaster: init services as invalid ( #33513 )
...
* SubMaster: init services as invalid
* fix sim
* update refs
* cpp too
* update refs
* model ref
8 months ago
Dean Lee
a0a322c456
bridge: drain each socket up to a fixed number ( #33400 )
...
drain each socket up to a fixed number
old-commit-hash: 930fa18299
8 months ago
Dean Lee
51fb5009f1
bridge: implement MSGQ to ZMQ bridge with subscriber-based publishing ( #32862 )
...
implement MSGQ to ZMQ bridge with subscriber-based publishing
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2faa08c2d6
8 months ago
Dean Lee
a0f8148ae6
SubMaster: add self.services attribute for consistent service management ( #33268 )
...
simplify service handing
old-commit-hash: b644555a1d
8 months ago
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
8 months ago
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
9 months ago
Maxime Desroches
d0e2572507
switch cereal to pytest ( #32950 )
...
pytest
old-commit-hash: 133f25eecb
10 months ago
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
10 months ago
Jimmy
b03daaadf1
fix bug in modelV2 service which was triggering test_loggerd failure ( #32892 )
...
* fix services bug
* add nonzero decimation assert
old-commit-hash: 9cec7bbfb3
10 months ago
Dean Lee
b07f5254ef
cereal: use nanos_since_boot() from common/timing.h ( #32840 )
...
Use nanos_since_boot() from common/timing.h
old-commit-hash: fccba867a9
10 months ago
Dean Lee
6f31d529b1
cereal: remove messaging/.gitignore ( #32839 )
...
cleanup gitignore
old-commit-hash: a256898510
10 months ago
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
11 months ago
Harald Schäfer
d7dae4db72
More cereal cleanups ( #32644 )
...
* rm generate_javascript.sh
* Unused
old-commit-hash: e6caaf40fb
11 months ago
Harald Schäfer
9fcd3fe73b
Msgq cleanups ( #32643 )
...
* Dead cereal stuff
* Dead code
* also dead
* More cleanup
old-commit-hash: 83209e0860
11 months ago
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
11 months ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago