Dean Lee
d802a423a6
loggerd: Initialize atomic variables to zero ( #33130 )
...
Initialize atomic variables in LoggerdState to zero
old-commit-hash: 8f3fc699d4e06811fd29fbf64fe89032cce563b9
2024-08-02 12:01:56 -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: e71ec4e8d7e39a56235f590227e7cb361cd8b79d
2024-06-06 14:31:56 -07:00
Adeeb Shihadeh
2632a41c1e
encoderd: get frame size over vipc ( #31276 )
...
* encoderd: get frame size over vipc
* bump cereal
* fix ffmpeg
* no print
old-commit-hash: a5766e27967707d51c4e7181a3509c78b3671d16
2024-02-02 12:53:12 -08:00
Adeeb Shihadeh
6124ecf1c1
uploader: restrict qcam upload on metered connctions ( #31047 )
...
* uploader: restrict qcam upload on metered connctions
* route requesting
* rename
* str
* cleanup
* strip dongle
* upload bookmarked segments
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 2280ac50b76264dadd170e8f23bf0c3bf68ef61c
2024-01-17 21:41:58 -08:00
Dean Lee
00e5f37d2a
loggerd: c++ LoggerState ( #25869 )
...
* c++ LoggerState
* trigger ci
* trigger ci
* merge master
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 3527c1da6759e54e42f80ab7cfde038a8ae96680
2023-11-18 22:11:13 -08:00
Justin Newberry
dc6078a6c3
System: use paths for download folders too ( #29818 )
...
* use paths for download folders too
* trailing slash
* reset that
old-commit-hash: 73eda51a11955627f4d149fdf12c1c781983d52e
2023-09-07 12:49:03 -07:00
Kacper Rączy
4040d85159
encoderd: fix crash when filename is null ( #29748 )
...
Use publish_name for thread name and debugging messages
old-commit-hash: 0bda43d71c46b02b8d9d2043243388f8a2839497
2023-09-01 11:51:59 -07:00
Dean Lee
56b582a059
cpplint: add filter whitespace/forcolon ( #29582 )
...
whitespace/forcolon
old-commit-hash: ac939029835542a02b866e8a0d174f09773e4e6e
2023-08-23 22:46:02 -07:00
Adeeb Shihadeh
6b2ffe9490
bump cereal ( #29561 )
...
old-commit-hash: e726505918bfbaa4ee75714bd6ea391d7fff7fb8
2023-08-23 13:42:37 -07:00
Dean Lee
97e9d55588
cpplint: build/include_what_you_use ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 2d99521e7500902070d0aacce69528bcfd8b9964
2023-08-23 13:25:17 -07:00
Vivek Aithal
8d11558056
[commabody] setup and run live stream encoders ( #29087 )
...
* op changes needed for body
* remove logmessaged callback
* add newlines
* add stream arg
* add stream_encoder to config
* supersets, avoid two encoderd
* fix recursive exit error
* fix loggerd crash
* add stream_encoderd cpu usage to test
* Update system/loggerd/loggerd.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* resolve comments
* stream_encoderd onroad to false
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 81322a48059bfb77c1e5613dea35e24181c8bb14
2023-08-11 15:34:25 -07:00
Dean Lee
b80325aa04
swaglog: enable type-checked against format string ( #29096 )
...
* check&fix fmt
* bump rednose
* correct format string
* bump rednose
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 940954c13e4fb352618448e435b5c1a722fdc3aa
2023-07-31 17:49:50 -07:00
Dean Lee
c4aeaba7c6
loggerd: check userFlag outside the while loop ( #29095 )
...
* improve check userFlag
* rename to ServiceState
* setxattr once
old-commit-hash: c0c00e1997a6919701a183b9d4757a74b17ac141
2023-07-23 12:33:06 -07:00
Cameron Clough
b120aec2f5
deleter: preserve flagged segments ( #28814 )
...
old-commit-hash: 98a30f10f447b3c28d92f089012ec66c93066bf0
2023-07-20 21:30:26 +01:00
Dean Lee
b59b27e01e
loggerd/encoder: refactor constructors to take EncoderInfo as parameter ( #28921 )
...
* refactor constructors to take EncoderInfo as parameter
* remove last arg codec
* use macro to init function pointers
old-commit-hash: 713d2ec5865e4d64b5bb543f6641783e75e72d0b
2023-07-15 10:39:40 -07:00
Dean Lee
0ac70b51fa
loggerd: pass encoder_info by reference ( #28694 )
...
old-commit-hash: 36fe84ccdd2e757510ce9438ddcabd2961f19108
2023-06-25 14:51:28 -07:00
Harald Schäfer
e841a5ef81
Encoderd: refactor msg getters and setters ( #28509 )
...
* Encoderd: refactor msg getters and setters
* whitespace
* whitespace
* whitespace
old-commit-hash: 2453d3a04b38c59447184bde08e76aed66be3439
2023-06-12 00:08:00 -07:00
Harald Schäfer
1581ba80f8
Encoderd: give every camera stream list of encoder streams ( #28480 )
...
* Compiles
* fixed something
* CLEANUP
* todo
* More cleanup
* Add TODO
* Update loggerd.cc
* remove write here too
old-commit-hash: ac45b77d3bd86d7f6fc6fdb740bdfd28a5dea9e8
2023-06-11 22:23:40 -07:00
Adeeb Shihadeh
3a968c67e1
loggerd: move to system/ ( #27534 )
...
old-commit-hash: 94eb2159802d3dba99620db0b08731c68a7e4733
2023-03-08 11:20:49 -08:00