Commit Graph

1041 Commits

Author SHA1 Message Date
Adeeb Shihadeh
1f07e67c03 use catch2 package (#684) 2026-05-14 17:15:39 -07:00
Adeeb Shihadeh
6e9dbd5768 update ion include (#683)
Co-authored-by: Comma Device <device@comma.ai>
2026-05-09 19:19:13 -07:00
Adeeb Shihadeh
b7688b9bd7 rm codecov.yml 2026-03-01 09:23:54 -08:00
Adeeb Shihadeh
6bbd632218 no libpath 2026-02-27 19:36:37 -08:00
Adeeb Shihadeh
6263f30f2e brew is out 2026-02-23 19:58:00 -08:00
Adeeb Shihadeh
ed2777747d switch to system compiler (GCC/Clang) (#678) 2026-02-23 14:41:56 -08:00
Adeeb Shihadeh
fa514e7dd7 Reapply "visionipc: remove OpenCL support (#673)" (#675)
This reverts commit 4c4e814ed5.
2026-02-14 14:31:01 -08:00
Harald Schäfer
4c4e814ed5 Revert "visionipc: remove OpenCL support (#673)" (#675)
This reverts commit f9ebdca885.
2026-02-10 23:05:42 -08:00
Adeeb Shihadeh
2c191c1a72 Remove ZMQ support (#674)
* remove zmq

* less abstraction
2026-02-07 15:18:55 -08:00
Adeeb Shihadeh
f9ebdca885 visionipc: remove OpenCL support (#673)
* visionipc: remove OpenCL support

* less cl
2026-02-06 16:32:26 -08:00
Adeeb Shihadeh
20f2493855 pytest speedups (#671)
this doesn't even add coverage
2025-12-28 10:24:51 -08:00
Adeeb Shihadeh
4b3393aea9 remove pre-commit (#652)
* remove pre-commit

* cleanup

* fix codespell

* lil more

* lefthook

* lil more

* fix cpplint

* brew install has a ton of overhead

* speed up cppcheck
2025-12-28 10:06:31 -08:00
Dean Lee
9eb3ce68f2 zero-initialize fds and buffs before ipc_sendrecv_with_fds (#659)
zero-initialize fds and buffs before ipc_sendrecv
2025-12-28 09:51:04 -08:00
Adeeb Shihadeh
175e9d25dd Test both ZMQ and MSGQ modes on all platforms (#670) 2025-12-28 09:43:45 -08:00
Adeeb Shihadeh
0f2607228b Add ty type checker (#669) 2025-12-28 00:09:17 -08:00
Adeeb Shihadeh
349bf449b7 msgq: add (janky) macOS support (#667)
* start mac MSGQ support

* lil more
2025-12-27 16:38:49 -08:00
Adeeb Shihadeh
f3f440102e visionipc_server: prints -> logs 2025-12-21 17:17:15 -08:00
Adeeb Shihadeh
6abe47bc98 mark test_receive_tiemout as flaky 2025-12-16 15:47:14 -08:00
Adeeb Shihadeh
cc3b4567b8 msgq: prefix paths with msgq_ (#666) 2025-12-16 15:40:14 -08:00
Adeeb Shihadeh
345878d914 msgq: configurable ringbuffer size (#665) 2025-12-16 13:09:49 -08:00
Adeeb Shihadeh
deb807ef3c actually down to 1MB 2025-12-15 22:08:40 -08:00
Adeeb Shihadeh
33ef4bdf77 reduce default segment size to 2MB 2025-12-15 21:50:08 -08:00
Adeeb Shihadeh
92999f6bc1 msgq: add flag for preallocating full ringbuffer (#664)
* msgq: add flag for preallocating full ringbuffer

* map popualte
2025-12-15 20:53:35 -08:00
Dean Lee
e0ee68e69d VisionIpcClient: standardize opening brace spacing (#656)
standardize opening brace spacing
2025-12-02 19:20:32 -08:00
Adeeb Shihadeh
a16cf1f608 vipc: client reconnects on server stream changes (#653) 2025-11-19 14:41:43 -08:00
Adeeb Shihadeh
89096d90d2 pre-commit autoupdate (#651)
passes
2025-09-06 17:47:52 -07:00
Adeeb Shihadeh
933390f17a enable macOS in CI (#650) 2025-09-06 17:30:11 -07:00
Adeeb Shihadeh
7352ef9bff add test.sh (#649)
* add test.sh

* kinda works

* run in ci

* setup

* zmq

* lil more

* mv catch2

* rm docker
2025-09-06 17:23:58 -07:00
Dean Lee
5483a02de3 VisionIPC: expose fd and idx for zero-copy EGL rendering (#648)
expose fd and idx for zero-copy EGL rendering
2025-05-24 06:37:01 -07:00
SnakeOnex
94e738992c data value checking in TestPubSubSockets::test_conflate (#644)
* check each message value in test_messaging

* check correctness with conflate False
2025-03-30 14:15:39 -07:00
Dean Lee
ad9020c430 Add 'with nogil' to SubSocket for GIL-Free C++ operations (#643)
add 'with nogil' to SubSocket for GIL-Free C++ operations
2025-03-01 10:37:51 -08:00
Dean Lee
095f1e2361 remove redundant include (#642)
remove duplicate include
2025-01-24 10:24:44 -08:00
Shane Smiskol
102befe731 remove signal handler (#641) 2025-01-17 20:33:19 -08:00
Shane Smiskol
faf6ffdfb5 Revert "msgq: refactor blocking recv for improved robustness and performance (#616)"
This reverts commit 5b3f2cdfa5.
2025-01-17 19:35:57 -08:00
Dean Lee
5b3f2cdfa5 msgq: refactor blocking recv for improved robustness and performance (#616)
* improve blocking receive

* Update msgq/impl_msgq.cc

* 1s timeout

* comment

* typo

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2025-01-17 19:26:13 -08:00
Shane Smiskol
5bb86f8bc7 VisionIpc: fix exception if server is killed while client is getting streams (#638)
* Update visionipc_client.cc

* and here in some cases

* lines
2024-12-17 13:11:27 -08:00
Dean Lee
434ed2312c include full path (#631) 2024-11-28 11:03:37 -08:00
Dean Lee
e621ce0763 Refactor get_port to use FNV-1a hash for consistency across platforms (#634)
Fix ZMQ issue caused by mismatched port values between macOS and Linux
2024-11-16 10:28:33 -08:00
Adeeb Shihadeh
3e17f865bb visionipc: get arbitrary buffers from server (#633) 2024-10-12 11:01:41 -07:00
Adeeb Shihadeh
b4f0692c1a visionipc: remove RGB support (#632)
* visionipc: remove RGB support

* lil more
2024-10-07 10:23:59 -07:00
Shane Smiskol
cdcf84f44a Better compiler compatibility 2024-08-27 20:10:33 -07:00
Dean Lee
cff3a551f2 remove libcereal_shared from .gitignore (#630)
remove shared creal
2024-08-23 10:42:31 -07:00
Dean Lee
23cb05a80d visionbuf: fix incorrect length passed to munmap (#618)
Fix incorrect length passed to munmap
2024-08-04 15:02:07 -07:00
Dean Lee
622de235f7 msgq: check MAP_FAILED instead of NULL for mmap (#614) 2024-08-04 14:53:06 -07:00
Shane Smiskol
45110ffb9b fix mypy configuration header (#629)
did this work?
2024-07-31 21:49:42 -07:00
Shane Smiskol
37e734b718 fix PYTHONPATH (#628)
pythonpath was wrong, the location is what saved us
2024-07-31 19:09:21 -07:00
Uku Loskit
d7b99c4296 Convert tests to pytests (#626)
* make test pass

* linter

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2024-07-10 05:47:23 +00:00
Adeeb Shihadeh
74074d650f msgq: bump max readers (#623) 2024-06-11 16:04:35 -07:00
Adeeb Shihadeh
eabd20c919 remove prints in sconscript[ 2024-06-11 11:21:08 -07:00
Harald Schäfer
381fc3d9df Restructure package (#622)
* Move around

* rename messaging to ipc

* More renames

* refactor visionipc ipc

* more movement

* compiles

* works well

* update workflow

* Update

* test fake

* fix names

* Fix test

* exclude library

* exclude from lint too

* Rm dir

* rm this wayu

* Try again

* mv logger

* delete old

* HAX

* Move logger down

* add warning abck
2024-06-09 17:17:12 -07:00