Commit Graph

20 Commits

Author SHA1 Message Date
Dean Lee 2f7d09bb01
bridge: improve message sending loop (#33810)
improve sending loop
2024-10-24 13:41:14 -07: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 a0a322c456 bridge: drain each socket up to a fixed number (#33400)
drain each socket up to a fixed number
old-commit-hash: 930fa18299
2024-08-29 12:49:31 -07:00
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
2024-08-28 14:19:33 -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
Maxime Desroches d0e2572507 switch cereal to pytest (#32950)
pytest
old-commit-hash: 133f25eecb
2024-07-09 22:01:16 +00: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
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
2024-07-03 17:22:45 -07:00
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
2024-06-26 11:52:36 -07:00
Dean Lee 6f31d529b1 cereal: remove messaging/.gitignore (#32839)
cleanup gitignore
old-commit-hash: a256898510
2024-06-26 11:40:24 -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 d7dae4db72 More cereal cleanups (#32644)
* rm generate_javascript.sh

* Unused
old-commit-hash: e6caaf40fb
2024-06-06 23:35:13 -07:00
Harald Schäfer 9fcd3fe73b Msgq cleanups (#32643)
* Dead cereal stuff

* Dead code

* also dead

* More cleanup
old-commit-hash: 83209e0860
2024-06-06 15:03:19 -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