Commit Graph

826 Commits

Author SHA1 Message Date
Comma Device 1d193fb496 bodyStatus 2023-07-16 02:05:47 -07:00
Kacper Rączy b89ba909b7 Add BodyFace 2023-07-15 18:15:33 -07:00
Harald Schäfer f319a83ab7
Allow for livestreaming video (#468)
* Add additinal encode stream

* Add livestream encoding streams

* duplicate

* rm whitespace

* Guess that's still referenced

* typo
2023-06-12 18:49:40 -07:00
Adeeb Shihadeh 44c93ef17c
add procLog to qlogs (#465)
* add procLog to qlogs

* Update services.py
2023-06-09 14:42:22 -07:00
Kacper Rączy c8884295b9
visionipc: get_endpoint_name python binding (#463)
Expose get_endpoint_name in py bindings
2023-06-07 10:36:00 -07:00
Harald Schäfer c331e76b96
Longitudinal Personality (#462)
* adjustable follow

* better name

* better name

* better name
2023-06-05 17:51:26 -07:00
Dean Lee a3e66d284e
VisionIpcServer: unlink path after closing socket (#457) 2023-06-05 15:21:00 -07:00
YassineYousfi 8af4582508
Hc driving (#461)
add height and road transform to log
2023-06-02 20:21:37 -07:00
Kacper Rączy c27be716ec
connect: add error messages when Socket connect fails (#456)
* Throw runtime_error in Socket::create

* Add messages to MessagingError

* Fix cython bindings

* Write a message to stderr instead of throwing runtime_error
2023-06-02 15:14:08 -07:00
Shane Smiskol 7e1d67d415
Deprecate brakeUnavailable event (#455)
* deprecated

* Update car.capnp
2023-05-31 15:08:17 -07:00
Kacper Rączy 172b9b7dc0
liveLocationKalman: add filterState (#453)
Add filterState to liveLocationKalman
2023-05-31 14:25:09 -07:00
Shane Smiskol 3f950792d8
carState: non-critical car faulted field (#454)
* add fields

* fix dup ordinals

* carFaulted

* the car isn't critically faulted

* Apply suggestions from code review

* no event

* add comment

* cmt

* Revert "cmt"

This reverts commit 8dd017ecc3.

* ???
2023-05-30 16:24:47 -07:00
Harald Schäfer 9b6b53396f
Custom events reserved for forks (#449)
* Custom events reserved for forks

* Fixes

* Custom updates

* Update README.md

* little more

* add identifiers

* Language

* little more

* rm that

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-05-23 20:44:17 +02:00
Kacper Rączy 4e063ca166
FakeSubSocket and FakePubSocket for IPC synchronization (#439)
* Implementation of FakeSubSocket and FakePubSocket using eventfd with support for one-in/one-out synchronization

* Expose FakeEvent to Python

* Add demo showcasing synchronization between processes

* Fix linter errors

* Expose more FakeEvent APIs in Python bindings

* Add FakePoller implementation

* Remove suffix from poll env vars

* Set poller timeout to zero when events are enabled

* Replace poll with ppoll. Add invalidation methods

* Fix lint issues

* Fix comment indent

* Remove fake_demo

* Remove FakePubSocket. Simpler FakePoller implementation. Ability to wait for multiple events

* Rename FakeEvent to Event and move it to event.cc

* Rename event purpose constants in py

* Add support for timeout in wait methods

* Add tests for events and fake sockets

* Fix lint errors

* Add zmq sleeps

* Temporarly disable TestFakeSockets on ZMQ

* Add exception type specifiers to test_fake

* Event Manager implementation

* Fix fake sockets tests

* Update EventManager API

* Add test for enable/disable

* Add tests for cereal prefix

* Remove EventPurpose from python bindings

* Fix lint issues

* event_state_shm_mmap implementation shared by EventManager and FakeSubSocket

* Rename EventManager to SocketEventHandle

* More renames
2023-05-23 19:38:52 +02:00
ntegan1 0b5e05013c
Add engineRPM to CarState struct (#448)
Add engineRPM to CarState
2023-05-23 19:03:37 +02:00
Adeeb Shihadeh 88a586e671
pre-commit: autoupdate hooks (#446)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-05-16 11:49:47 -07:00
Justin Newberry e0cf7e09ae
Subaru: rename legacy preglobal (#445) 2023-05-15 17:22:59 -07:00
Adeeb Shihadeh 4ffd63b955
Calibration enum (#444)
* Calibration enum

* Add recalibrating event

---------

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
2023-05-15 10:06:26 -07:00
Adeeb Shihadeh d3de9ddd26
messaging: remove extern C (#443) 2023-05-10 10:59:18 -07:00
Adeeb Shihadeh a659e28c5b
deprecate liveParameters.yawRate (#430) 2023-05-10 10:28:06 -07:00
Shane Smiskol 8902e7a778
carEvent: add event for invalid vehicle sensors (#442)
* add field

* rename
2023-05-08 19:41:07 -07:00
Robbe Derks feef4530af
SBU voltages (#441)
add sbu voltages to pandaState
2023-05-08 13:31:03 +02:00
Robbe Derks e5cd59ef00
Add device type (#440)
tizi
2023-05-04 16:35:03 +02:00
Adeeb Shihadeh fe87410c11 fix names 2023-04-28 15:11:43 -07:00
Adeeb Shihadeh 938f57635e
CI: run tests with sanitizers (#438)
* matrix

* add ubsan

* named
2023-04-28 15:08:57 -07:00
Shane Smiskol 37157b1364
locationd: log timeToFirstFix (#436)
locationd ttff
2023-04-21 16:22:37 -07:00
Adeeb Shihadeh f6afcaf723
add pandaState.fanStallCount (#435)
Co-authored-by: Comma Device <device@comma.ai>
2023-04-20 13:25:15 -07:00
Dean Lee a70f1a8c05
Deprecate unused fields in FrameData (#423)
* Deprecate unused fields in FrameData

* Update log.capnp

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-04-15 21:29:49 -07:00
Adeeb Shihadeh 911cfac392 switch to pat so tests run on bot pr 2023-04-15 17:57:58 -07:00
Adeeb Shihadeh ae896d9e66
CI: add job to update pre-commit hooks (#434) 2023-04-15 17:39:26 -07:00
Adeeb Shihadeh 6e32e417db pre-commit update 2023-04-15 16:29:35 -07:00
Adeeb Shihadeh 4f5502c865 add spiChecksumErrorCount to pandaState 2023-04-05 21:26:43 -07:00
Adeeb Shihadeh 9baf462ce8 bump ordinal 2023-04-04 18:52:48 -07:00
Adeeb Shihadeh b752a901c5 add heartbeatLoopWatchdog panda fault 2023-04-04 18:49:44 -07:00
Adeeb Shihadeh 5827c4e17e
pandaState: add voltage and current back (#432) 2023-04-02 12:35:42 -07:00
Adeeb Shihadeh 5646788a40
CI: set PYTHONWARNINGS=error (#431)
* CI: set PYTHONWARNINGS=error

* precommit update

* try that

* unset

* Revert "precommit update"

This reverts commit 3e1e9a04df.
2023-04-02 11:25:30 -07:00
Adeeb Shihadeh d70d215de6
add panda siren fault (#429)
Co-authored-by: Comma Device <device@comma.ai>
2023-03-29 15:07:36 -07:00
Jason Young 1f0d21df73
VW: Add CarEvent for EPS timer soft disable (#422)
* add steerTimeLimit

* recycle accFaultedTemp
2023-03-28 15:15:05 -07:00
Shane Smiskol e276226dbe
Ecu: shuffle around parking fields (#428)
* shuffle around

* ECU

* no hyundai

* can remove

* add unused ecu

* Update car.capnp

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* follow convention

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-03-27 11:50:53 -07:00
Shane Smiskol c516d5e985
CarFw: add obdMultiplexing (#425)
add obdMultiplexing
2023-03-24 00:23:53 -07:00
Shane Smiskol 3c5ff1c6d0
Ecu: add parking (#426)
* rename unused vcu and add parking ecu

* move

* move it to Hyundai
2023-03-23 23:52:18 -07:00
Shane Smiskol d0ca2639d0
Ecu: add hvac (#427)
* rename unused vcu and add parking ecu

* move

* just hvac
2023-03-23 23:28:57 -07:00
Dean Lee 494cd28f3b
add function available_streams to visionipc_pyx.pyx (#424) 2023-03-21 10:52:27 -07:00
Harald Schäfer 7492dc3f45
Ephem status (#421)
ephem status
2023-03-16 16:44:56 -07:00
Harald Schäfer 915baaee9b
GnssMeasurements: Add TTFF (#420)
add ttff
2023-03-15 11:45:22 -07:00
Harald Schäfer 80a8eb8459
sat info (#419) 2023-03-15 00:43:15 -07:00
Harald Schäfer c579889f39
laika structs (#418) 2023-03-15 00:02:00 -07:00
Adeeb Shihadeh 9888e0476c
add frameId to uiPlan (#417) 2023-03-13 14:48:45 -07:00
Shane Smiskol 42f84fd85d
add accels field to uiPlan (#415)
add accels to uiplan

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
2023-03-02 18:53:46 -08:00
Harald Schäfer b88523f05a
Uiplan (#413)
* ui plan

* uiplan

* keep backwards compatibility

* more decimation

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-02-17 19:35:13 -08:00