Willem Melching
8f4a445171
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
old-commit-hash: ae094042ad
4 years ago
Adeeb Shihadeh
893946ae0c
increase log level of NVME cloudlog
...
old-commit-hash: 538df2596d
4 years ago
Dean Lee
405df8b165
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
old-commit-hash: 98e55996f6
4 years ago
Greg Hogan
f0b9176bd7
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
old-commit-hash: 1e3f8b014e
4 years ago
Adeeb Shihadeh
ed23f0778a
log when nvme isn't mounted ( #20428 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 33500bf23f
4 years ago
Willem Melching
c64d818341
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>
old-commit-hash: 0a88304e8d
4 years ago
Willem Melching
d61654abc3
Revert "use class AlignedBuffer from cereal ( #20343 )"
...
This reverts commit df9e836779af0c145efc933b88bbc94f59f2b378.
old-commit-hash: e3ad952902
4 years ago
Dean Lee
4c02da3f0a
use class AlignedBuffer from cereal ( #20343 )
...
* AlignedBuffer
* move AlignedBuffer to cereal/messaging.hpp
* rename function aligned to get
* use overloaded function AlignedBuffer:: get(Message *)
old-commit-hash: 7aa379e123
4 years ago
Dean Lee
21346b0980
fix Fix problematic realloc ( #19812 )
...
old-commit-hash: e736029235
4 years ago
Dean Lee
d7e1874549
raw_logger: remove unneeded recursive_mutex ( #20274 )
...
* remove lock
* remove forword declared err
* cleanup include
old-commit-hash: 51d46e289a
4 years ago
Willem Melching
c0098cec09
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>
old-commit-hash: 5a3b511306
4 years ago
Willem Melching
e5d066bc14
write params in initData as Data
...
old-commit-hash: 511cb2680f
4 years ago
Willem Melching
c1606b60fd
test loggerd: limit samples to number of services
...
old-commit-hash: 6e26403cee
4 years ago
ZwX1616
46840807fa
up tici hevc bitrate ( #20093 )
...
* 2x tici bitrate
* update test
* clean up
old-commit-hash: e2044ca5a2
4 years ago
Willem Melching
a98a06c1f8
loggerd: clean exit on SIGPWR ( #20100 )
...
* loggerd: clean exit on SIGPRW
* no SIGPWR on macos
old-commit-hash: d3dfb47d0e
4 years ago
Adeeb Shihadeh
05eb44115e
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
old-commit-hash: 312b681a46
4 years ago
Greg Hogan
d59a13e22a
adjust qcamera quality ( #20066 )
...
* better ts
* fix test
old-commit-hash: 1cd9105e96
4 years ago
Dean Lee
6e63be3a01
loggerd: remove the segment variable from encoders ( #20034 )
...
old-commit-hash: 1fad5216ea
4 years ago
Dean Lee
60aa7b9d96
Logger: added function logger_get_route_name ( #19995 )
...
* added function logger_get_route_name
* remove empty line
old-commit-hash: 1588a6f0ac
4 years ago
Dean Lee
bc3b705a5b
mv logger_build_boot to bootlog.cc ( #19996 )
...
old-commit-hash: 678c149246
4 years ago
Dean Lee
ab24d18c43
OmxEncoder: use c++ mutex&condition_variable ( #19786 )
...
* use c++ mutex&condition_variable
* rebase
* cleanup includes&use while
* remove include pthread.h
old-commit-hash: aa37e95341
4 years ago
Dean Lee
926c3d6fd7
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
old-commit-hash: ef6d1aeaaa
4 years ago
Dean Lee
06ac698691
OMXEncoder: remove pthread_mutex_t lock from member variables ( #19948 )
...
* remove mutex
* rebase master
old-commit-hash: 9a9641a296
4 years ago
Dean Lee
33495e4368
loggerd: small cleanup ( #19864 )
...
old-commit-hash: 16e259cadf
4 years ago
Adeeb Shihadeh
78b20a077f
Revert "OmxEncoder: new function set_state, set and wait state changed ( #19906 )"
...
This reverts commit fbc80f3131acd05e6473daa1682f017874b6f883.
old-commit-hash: 20a2bfdd31
4 years ago
Dean Lee
d7adc6ed49
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
old-commit-hash: 36a596eb1e
4 years ago
Willem Melching
1296525567
fix safequeue import
...
old-commit-hash: 5693773ae1
4 years ago
Dean Lee
da9b0e8baa
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
old-commit-hash: e6783f4d9f
4 years ago
Dean Lee
b0552a1985
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
old-commit-hash: 79e05965c4
4 years ago
Adeeb Shihadeh
efb14fc172
Revert "OMXEncoder: add calls to OMX_Init()&OMX_Deinit() ( #19905 )"
...
This reverts commit 2b789323981058401a6c908ec674901ed2662f08.
old-commit-hash: ea74f558f4
4 years ago
Adeeb Shihadeh
bfa5674d4f
fix up encoder test for tici rotation ( #19941 )
...
* fix encoder test
* revert for c2
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0411015103
4 years ago
Dean Lee
6bd65f558e
OMXEncoder: add calls to OMX_Init()&OMX_Deinit() ( #19905 )
...
* add calls to OMX_Init()&OMX_Deinit()
* fix indentation
old-commit-hash: 8f00813089
4 years ago
Willem Melching
4fd576e7f7
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
old-commit-hash: 87119aebe2
4 years ago
Adeeb Shihadeh
46877afa24
make loggerd rotation test more reliable
...
old-commit-hash: 9f2088e2c3
4 years ago
Adeeb Shihadeh
edd881fa16
more tici tests in jenkins ( #19908 )
...
* run loggerd tests on tici
* boardd loopback
* fix up seg length
* this doesn't add more coverage
old-commit-hash: 810ed30cab
4 years ago
Adeeb Shihadeh
a65cef0b31
loggerd: remove vipc arg from encode frame
...
old-commit-hash: 1ed77847fe
4 years ago
Adeeb Shihadeh
cfdeda3393
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>
old-commit-hash: d4489fbf91
4 years ago
Dean Lee
3a11061dce
OmxEncoder: set s->of to nullptr after close ( #19814 )
...
old-commit-hash: a5be02c2c7
4 years ago
Adeeb Shihadeh
5362097b37
fix loggerd after bootlog split ( #19840 )
...
* fix loggerd after bootlog split
* logger handles that
* unused
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2e64049ea4
4 years ago
Dean Lee
57b1b4c456
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
old-commit-hash: f973c56a36
4 years ago
Willem Melching
8a187ec406
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>
old-commit-hash: f3db94a0c4
4 years ago
Dean Lee
92c11baefb
loggerd: make sure to print one statistics every 1000 times ( #19803 )
...
old-commit-hash: d085adb9ec
4 years ago
Dean Lee
339cb7b353
OmxEncoder: use std::vector to keep buffer ( #19807 )
...
old-commit-hash: e04cecd169
4 years ago
Dean Lee
603a21c1f4
loggerd: do not LOGW twice when logger.part == 0 ( #19795 )
...
* fix LOGW
* space
old-commit-hash: caf87c25dd
4 years ago
Dean Lee
9eb6648ec5
OmxEncoder: use macro to check error ( #19785 )
...
old-commit-hash: 0592c326ed
4 years ago
Willem Melching
a04de5683e
RecordFront remove ifdef ( #19773 )
...
old-commit-hash: 10790304c9
4 years ago
Adeeb Shihadeh
eaa1489093
loggerd: another rotation test ( #19742 )
...
* another rotation test
* make encoder test fast
* fix pc
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5221450f2d
4 years ago
Adeeb Shihadeh
65a624db68
Loggerd for PC ( #19730 )
...
old-commit-hash: 92e4f04873
4 years ago
Adeeb Shihadeh
9909060b4d
Video Encoder abstraction ( #19729 )
...
old-commit-hash: a1c7f19fe4
4 years ago
Adeeb Shihadeh
47cc09f413
loggerd: fix double encoder open ( #19703 )
...
* fix double encoder open/close
* simplify rotation
* clean up
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 87e8ef1fca
4 years ago