Commit Graph

1004 Commits

Author SHA1 Message Date
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
Cameron Clough cf7bb3e749
PSA: add safety mode (#600)
I'm in the process of reverse engineering the Vauxhall/Opel Corsa F, and
it looks as though the LKAS hardware is shared between
Citreon/Peugot/DS/Opel. Although PSA is now merged with Stellantis, I
think this is the best way to group these potential platforms in
openpilot.
2024-03-08 10:53:56 -08:00
Shane Smiskol 447da2e72c
hudControl: add leadDistanceBars (#599)
* add distanceBars

* rename

* add comment
2024-03-07 19:34:22 -08:00
Adeeb Shihadeh e1e100824b
pre-commit: autoupdate hooks (#597)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-03-07 13:56:46 -08:00
Adeeb Shihadeh 78c45389ec
add hasFix to GpsLocationData (#598) 2024-03-07 13:56:09 -08:00
Justin Newberry c5c2a60f1a
move actuatorsoutput to new CarOutput service (#596)
* card output

* fix

* add to log
2024-03-04 10:10:36 -08:00
Adeeb Shihadeh bfbb0cab83
Horizontal acc (#595)
* accuracy means horizontal

* typo

---------

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
2024-02-28 20:22:45 -08:00
Justin Newberry 2012d9fd16
scons: move exports to submodule (#593)
cleanup-cereal
2024-02-27 13:15:22 -08:00
Adeeb Shihadeh a4255106b7 add mici type 2024-02-23 19:15:47 -08:00
Hoang Bui 9326d2ef05
CI: enable docker cache (#592) 2024-02-22 22:47:24 -08:00
Adeeb Shihadeh 2fba1381f4 deprecate deviceState.ambientTempC 2024-02-21 13:48:53 -08:00