Adeeb Shihadeh
8a280fbb8e
bump cereal
4 years ago
Adeeb Shihadeh
9813c0ddbd
log encodeIdx packets in qlog ( #20738 )
4 years ago
Adeeb Shihadeh
1786d04239
handle unregistered devices ( #20728 )
...
* handle unregistered devices
* cleanup
* no uploader or athena
* clean up
4 years ago
Adeeb Shihadeh
36d8c89ebf
enable --as-needed linking ( #20619 )
...
* only link as needed
* a few more
* need to fix order
* everywhre
* fix mac
* update spinner + text
* fix c2 build
* another fix
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Willem Melching
c4e2d374c9
More encoder test cleanup ( #20623 )
...
* more encode test cleanup
* fix check at end of function
4 years ago
Willem Melching
ec5465ffd5
check encodeIdx in loggerd test ( #20621 )
4 years ago
Willem Melching
ae094042ad
add putBool/getBool wrappers to cython params class ( #20611 )
...
* add putBool/getBool wrappers to cython class
* use new API
* some more puts
* fix mockparams arguments
* add get_bool to MockParams
* typo
4 years ago
Adeeb Shihadeh
538df2596d
increase log level of NVME cloudlog
4 years ago
Dean Lee
98e55996f6
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
4 years ago
Greg Hogan
1e3f8b014e
logging cleanup ( #20502 )
...
* switch some uploader messages to debug log
* use allow_sleep
* log when not request or response
* test both with params and without params
4 years ago
Adeeb Shihadeh
33500bf23f
log when nvme isn't mounted ( #20428 )
...
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Willem Melching
0a88304e8d
use class AlignedBuffer ( #20388 )
...
* use class AlignedBuffer from cereal (#20343 )
* AlignedBuffer
* move AlignedBuffer to cereal/messaging.hpp
* rename function aligned to get
* use overloaded function AlignedBuffer:: get(Message *)
* use AlignedBuffer
Co-authored-by: Dean Lee <deanlee3@gmail.com>
4 years ago
Willem Melching
e3ad952902
Revert "use class AlignedBuffer from cereal ( #20343 )"
...
This reverts commit 7aa379e123
.
4 years ago
Dean Lee
7aa379e123
use class AlignedBuffer from cereal ( #20343 )
...
* AlignedBuffer
* move AlignedBuffer to cereal/messaging.hpp
* rename function aligned to get
* use overloaded function AlignedBuffer:: get(Message *)
4 years ago
Dean Lee
e736029235
fix Fix problematic realloc ( #19812 )
4 years ago
Dean Lee
51d46e289a
raw_logger: remove unneeded recursive_mutex ( #20274 )
...
* remove lock
* remove forword declared err
* cleanup include
4 years ago
Willem Melching
5a3b511306
Manager cleanup ( #20231 )
...
* move manager in folder
* inital refactor
* call start
* small cleanup
* add comments
* use self.signal()
* order shouldnt matter
* newlines
* add helpers
* newlines
* add process config
* split out build part of manager
* this should fix most tests
* no sensord on pc
* dont start athena
* remove comment
* fix old athena test
* fix inject model
* fix test car models
* should be not none
* fix helpers exitcode
* ignore manage_athenad
* Use time.monotonic()
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* combine init, remove spinner
* move manager test
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Willem Melching
511cb2680f
write params in initData as Data
4 years ago
Willem Melching
6e26403cee
test loggerd: limit samples to number of services
4 years ago
ZwX1616
e2044ca5a2
up tici hevc bitrate ( #20093 )
...
* 2x tici bitrate
* update test
* clean up
4 years ago
Willem Melching
d3dfb47d0e
loggerd: clean exit on SIGPWR ( #20100 )
...
* loggerd: clean exit on SIGPRW
* no SIGPWR on macos
4 years ago
Adeeb Shihadeh
312b681a46
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65eb
.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master
4 years ago
Greg Hogan
1cd9105e96
adjust qcamera quality ( #20066 )
...
* better ts
* fix test
4 years ago
Dean Lee
1fad5216ea
loggerd: remove the segment variable from encoders ( #20034 )
4 years ago
Dean Lee
1588a6f0ac
Logger: added function logger_get_route_name ( #19995 )
...
* added function logger_get_route_name
* remove empty line
4 years ago
Dean Lee
678c149246
mv logger_build_boot to bootlog.cc ( #19996 )
4 years ago
Dean Lee
aa37e95341
OmxEncoder: use c++ mutex&condition_variable ( #19786 )
...
* use c++ mutex&condition_variable
* rebase
* cleanup includes&use while
* remove include pthread.h
4 years ago
Dean Lee
ef6d1aeaaa
Logger: new class BZFile ( #19959 )
...
* add class BZFile
* inline
* cleanup includes
* stack bzfile
* log first error
* remove assert
* rename log_err to err_logged
* assert in destructor
* LOGE
* don't assert statement
* assert error of fclose
4 years ago
Dean Lee
9a9641a296
OMXEncoder: remove pthread_mutex_t lock from member variables ( #19948 )
...
* remove mutex
* rebase master
4 years ago
Dean Lee
16e259cadf
loggerd: small cleanup ( #19864 )
4 years ago
Adeeb Shihadeh
20a2bfdd31
Revert "OmxEncoder: new function set_state, set and wait state changed ( #19906 )"
...
This reverts commit 36a596eb1e
.
4 years ago
Dean Lee
36a596eb1e
OmxEncoder: new function set_state, set and wait state changed ( #19906 )
...
* free buffers after state is loaded
* set_data_blocking
* fix indentation
* Empty commit,trigger Build
4 years ago
Willem Melching
5693773ae1
fix safequeue import
4 years ago
Dean Lee
e6783f4d9f
remove cqueue, use class SafeQueue ( #19774 )
...
* class SafeQueue
* cleanup includes
* space
* add timeout
use try_poll
* add function empty() & size()
* class SafeQueue
* add timeout
use try_poll
* add function empty() & size()
* rebase master
* rebase master
* for loop
* fix bug
4 years ago
Dean Lee
79e05965c4
bootlog: fix dangling pointer problem in logger_build_boot ( #19942 )
...
* fix dangling pointer problem
* logger_build_init_data() has same problem
* return kj::Array<capnp::byte>
* Revert "return kj::Array<capnp::byte>"
This reverts commit 4df4685bfc
.
* Empty commit,trigger Build
* fix each segment in a route having a different initial logMonoTime
4 years ago
Adeeb Shihadeh
ea74f558f4
Revert "OMXEncoder: add calls to OMX_Init()&OMX_Deinit() ( #19905 )"
...
This reverts commit 8f00813089
.
4 years ago
Adeeb Shihadeh
0411015103
fix up encoder test for tici rotation ( #19941 )
...
* fix encoder test
* revert for c2
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
8f00813089
OMXEncoder: add calls to OMX_Init()&OMX_Deinit() ( #19905 )
...
* add calls to OMX_Init()&OMX_Deinit()
* fix indentation
4 years ago
Willem Melching
87119aebe2
Put bootlog in own folder ( #19939 )
...
* put bootlog in own folder
* fix uploader
* remove print statements
* update test
* remove comment
* also write initddata
* remove sentinels from test
4 years ago
Adeeb Shihadeh
9f2088e2c3
make loggerd rotation test more reliable
4 years ago
Adeeb Shihadeh
810ed30cab
more tici tests in jenkins ( #19908 )
...
* run loggerd tests on tici
* boardd loopback
* fix up seg length
* this doesn't add more coverage
4 years ago
Adeeb Shihadeh
1ed77847fe
loggerd: remove vipc arg from encode frame
4 years ago
Adeeb Shihadeh
d4489fbf91
OMX encoder stability ( #19758 )
...
* cleanup test first
* wait for other encoder threads
* fixes initial crash
* no print
* unused
* fix up tests
* need that
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
a5be02c2c7
OmxEncoder: set s->of to nullptr after close ( #19814 )
4 years ago
Adeeb Shihadeh
2e64049ea4
fix loggerd after bootlog split ( #19840 )
...
* fix loggerd after bootlog split
* logger handles that
* unused
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
f973c56a36
loggerd: split bootlog to a separate program ( #19831 )
...
* bootlog
* blank lines
* move file_exists to util.h
* src = ['loggerd.cc']
* log_init_data
* Revert "src = ['loggerd.cc']"
This reverts commit 18a587023d
.
* add bootlog to .gitignore
* use s->has_qlog instead of true
* add blank lines & remove extern C
4 years ago
Willem Melching
f3db94a0c4
Linux tombstones: add stacktrace and upload ( #19737 )
...
* Add stacktrace to tombstones
* make sentry output prettier
* Refactor
* Generate upload filename
* Actually move file
* Fix spaces
* copy and upload
* dont delete just yet
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
d085adb9ec
loggerd: make sure to print one statistics every 1000 times ( #19803 )
4 years ago
Dean Lee
e04cecd169
OmxEncoder: use std::vector to keep buffer ( #19807 )
4 years ago
Dean Lee
caf87c25dd
loggerd: do not LOGW twice when logger.part == 0 ( #19795 )
...
* fix LOGW
* space
4 years ago