Commit Graph

1014 Commits

Author SHA1 Message Date
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
Shane Smiskol
3f82842fbf Update README.md 2024-06-07 15:37:22 -07:00
Harald Schäfer
2ac05eae17 Get tests running again (#621)
* Get tests running again

* rn

* I don't understand what any of this means

* More updates

* Try fixing test_fake

* test fake passes

* All python tests pass
2024-06-07 13:32:22 -07:00
Harald Schäfer
7c00db60e5 Update README.md 2024-06-07 10:51:15 -07:00
Bruce Wayne
615aea9b55 add readme 2024-06-06 14:44:57 -07:00
Harald Schäfer
6d2cc6e222 Restructure cereal (#620)
* Dont want those here

* Move visionipc

* doesnt make sense for now

* Compiles

* Move rest over

* Somewhat works

* Add .sp

* Delete messaging/messaging_pyx.so

* Delete messaging/messaging_pyx.cpp

* ignore this too

* Not needed

* Add pyproj

* Fix zmq port
2024-06-06 13:58:15 -07:00
Adeeb Shihadeh
4ef85977a4 remove generate_javascript.sh 2024-06-04 22:21:46 -07:00
Harald Schäfer
9eadf17873 Rm duplicate enums? (#575)
Duplicate enums
2024-06-04 17:09:18 -07:00
Mauricio Alvarez Leon
d0ceac712f add bootlogId to initData (#608) 2024-05-31 21:57:04 -07:00
ZwX1616
51cbf6294e Submaster (python): set alive when first seen for simulation=1 (#613)
* now should be the same as cc

* need updated

* clear about redefine
2024-05-21 23:00:43 -07:00
Shane Smiskol
5812f2c075 card fields (#610)
* deprecate carOutput, add some fields

* Revert "deprecate carOutput, add some fields"

This reverts commit 247a1c5973.

* add fields back

* canRcvTimeout is bool

* add vCruise

* enableRequested

* rm

* rm init, deprecate
2024-05-21 00:12:17 -07:00
Adeeb Shihadeh
0a9b426e55 add encoding type to thumbnail (#607)
* encoding

* fix

* Update log.capnp
2024-05-18 17:35:23 -07:00
Cameron Clough
0f84611bc7 add actuatorsApiUnavailable event (#611) 2024-05-18 17:34:21 -07:00
Adeeb Shihadeh
591e389bf8 cleaup duplicated loop 2024-05-12 14:19:45 -07:00
Adeeb Shihadeh
16cc134f60 pre-commit: autoupdate hooks (#605)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-05-11 13:10:41 -07:00
Adeeb Shihadeh
4e6d222526 this shouldn't be used directly 2024-05-11 12:02:53 -07:00
Adeeb Shihadeh
181b550e30 run pre-commit autoupdate monthly 2024-05-08 13:54:29 -07:00
Adeeb Shihadeh
84af7ef665 no pyenv 2024-05-01 15:04:09 -07:00
Adeeb Shihadeh
284206878d deprecate unused gpsMalfunction 2024-05-01 11:32:04 -07:00
Adeeb Shihadeh
861144c136 update to ubuntu 24.04 (#609)
* update to ubuntu 24.04

* Update .github/workflows/repo.yml

* Update tests.yml

* fix build

* clang rt

* system python

* those are way too slow
2024-04-28 13:40:31 -07:00
YassineYousfi
db1359ec22 deprecate nav on openpilot fields (#606)
* deprecate nav on op fields

* dont deprecate too much

* remove from services
2024-04-09 10:20:26 -07:00
Eric Brown
b9871482a3 Deprecate enableGasInterceptor car param (#604) 2024-03-25 15:35:04 -07:00
Adeeb Shihadeh
6bfd39a506 deprecate gmlan 2024-03-21 13:57:29 -07:00
Adeeb Shihadeh
29fa8d572c pre-commit: autoupdate hooks (#603)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-03-20 13:23:29 -07:00
Shane Smiskol
430535068a Move personality to controlsState (#602)
* move personality to controlsState

* move down
2024-03-12 23:57:36 -07:00
Adeeb Shihadeh
53af1649c5 pre-commit: autoupdate hooks (#601)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-03-12 23:55:56 -07:00
Adeeb Shihadeh
724d1d22ac add deviceType to deviceState 2024-03-10 14:08:04 -07:00
Adeeb Shihadeh
93d3df3210 add unicore gps 2024-03-09 23:31:25 -08:00