Dean Lee
147b355dde
add space after function name and if statement ( #21225 )
...
old-commit-hash: e4e669bb0f
4 years ago
Dean Lee
497472932a
Cleanup util.h ( #20849 )
...
* cleanup util.h
* fix build error:omx_encoder.cc:408: undefined reference to do_exit
* fix build error
* rebase master
* move helper functions back to util
* ExitHandleHelper->ExitHandlerHelper
* std::clamp
* struct ExitHandlerHelper to class
* rebase master
* cleanup
* restore ExitHandler
* prefer cassert
old-commit-hash: 65e0b1e699
4 years ago
Dean Lee
5609f32cee
Cleanup includes ( #20925 )
...
* remove #include <pthread.h>
* remove #include<stdbool.h> for cc files
* remove #include<iostream>
old-commit-hash: 0495426535
4 years ago
Dean Lee
e333e4f189
Cleanup selfdrive/ includes ( #20822 )
...
* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7222d0f20d
4 years ago
Adeeb Shihadeh
55a9ec8a93
set nice values for non RT processes ( #20812 )
...
* set nice values for non RT processes
* builds
* fix qcom build
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ec414e2eb1
4 years ago
Adeeb Shihadeh
532d19427c
bump cereal
...
old-commit-hash: 8a280fbb8e
4 years ago
Adeeb Shihadeh
1b54ab1135
android logcatd test reliability ( #20284 )
...
* android logcatd test reliability
* remove that
* more fix
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9151f55e5d
4 years ago
Adeeb Shihadeh
5bc05ad36b
android logcatd fixes + better test ( #20036 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bb0f91791a
4 years ago
Comma Device
d295eb68f9
fix logcatd after bugfix
...
old-commit-hash: 366292a059
4 years ago
Dean Lee
cb9b7c44c1
logcatd: fix bug: subsequent reads after the first always return empty ( #19994 )
...
* refactor logcatd
* cleanup
* rename logger_list to loggers
* apply review
* little cleaner
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1b140bdbca
4 years ago
Dean Lee
04adbaf8e1
Don't call function in assert ( #19997 )
...
old-commit-hash: 91504176e4
4 years ago
Adeeb Shihadeh
88566ec71c
logcatd bugfix + tests ( #19689 )
...
* hack to exit cleanly
* move the hack
* add test
* run in ci
* unused
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 49d4d58201
4 years ago
Dean Lee
57c4099b7c
Fix loggcatd: removed duplicate call to android_logger_list_free ( #19903 )
...
old-commit-hash: 1e9e7264fa
4 years ago
Dean Lee
4c1919f41e
merge utilpp.h into util.h ( #19710 )
...
old-commit-hash: 595830135b
4 years ago
Comma Device
e4502623ad
logcatd_android: use sleep_for instead of usleep
...
old-commit-hash: 61bc7f73fa
4 years ago
Dean Lee
5e557ed96d
common exit handler ( #19661 )
...
* common signal handle
* fix typo
* rename to ExitHandler
* remove include signal.h
* remove include csignal
* rename variable exit to v
* rebase master
old-commit-hash: 86fe2d1697
4 years ago
Adeeb Shihadeh
3b2d64fddb
make android logcat exit cleanly ( #19666 )
...
* make android logcat exit cleanly
* clean up cpu usage script
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a399ec530d
4 years ago
Dean Lee
df0435c933
simplify logcatd ( #19640 )
...
* simplify logcatd
* add assert
* revert opendbc
* revert opendbc
old-commit-hash: 6104e4c09e
4 years ago
Adeeb Shihadeh
5bbe4f3d52
manager tests + make all processes exit cleanly ( #19595 )
...
* manager tests
* logcatd exits cleanly
* sigint
* boardd
* multiple dbus connections hangs for some reason
* clocksd proclogd
* network type from thermal
* fix tests
* fix android logcatd
* fix mac
* fix mac proclogd
* move on device athena tests
* build first
* build first
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ffa7e0cbdb
4 years ago
Willem Melching
a331861873
Remove czmq part 1 ( #2332 )
...
* remove czmq
* remove streaming mode from loggerd
* Add include for usleep
old-commit-hash: a4ccfcffe8
5 years ago
Adeeb Shihadeh
ac3422fc0f
message builder ( #2161 )
...
* use custom MessageBuilder from cereal
* use MesageBuilder.toBytes
* bump cereal
* unused
* another one
* fix ui msg
Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: 4d5733924a
5 years ago
Willem Melching
55c441b6dd
Systemd logcatd ( #2085 )
...
* Systemd logcatd infrastructure
* This should work
* Cleanup
* Split
* More compact and cleanup
* Add to ubuntu setup package list
* Run logcatd on all non pc platforms
old-commit-hash: 5782efe3ae
5 years ago
Willem Melching
7f0b3180a4
Use C++ version of SubMaster and PubMaster ( #1548 )
...
* add PubMaster & SubMaster
remove 'delete msg'
remove headers
* use constructor to initial all submster
* modify drain sockets
* fix typo in ssconscript.remove lines
no checkValid in loggerd
last modify
handle_message:event->&event
fix type
remove heads
event to auto
* new interface
* api changed
* Revert "use constructor to initial all submster"
This reverts commit 73be7ea46250a325ce41d3a0445e34395a2ae692.
* change to new api
* revert loggerd
* dd
* use new PubSub api
* update to new interface
don't modify loggerd
reset panda
reset opendbc
remove empty lines
* switch to new pubMaster
* update to the new inteface
change
remove error code
. to ->
merge paramsd.cc
update panda
fix typo
simplify
fix typo
* Fix build
* always conflate
Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: ab5af232b2
5 years ago
Dean Lee
0a3dfb0476
fix wrong order of cleanup calls ( #1461 )
...
old-commit-hash: 75abfe28d5
5 years ago
Willem Melching
1f461cd205
Fix linter and compiler
...
old-commit-hash: 45410ee8a8
5 years ago
Willem Melching
401cd8b121
rename event name instead of service
...
old-commit-hash: c818f1df37
5 years ago
Willem Melching
7b4c8cac3a
fix androidLogEntry socket name
...
old-commit-hash: 196b28e311
5 years ago
Willem Melching
0c893bda6c
Fix kernel logging in logcatd, fixes #957
...
old-commit-hash: 12ff088b42
5 years ago
George Hotz
510b718f0f
logcatd, loggerd, mapd, modeld, proclogd
...
old-commit-hash: da079d47d7
5 years ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago
Vehicle Researcher
99b637c7ce
openpilot v0.7 release
...
old-commit-hash: c025b96e8a
5 years ago
Vehicle Researcher
b713eae9f8
openpilot v0.6.6 release
...
old-commit-hash: d7f0b402a8
6 years ago
Vehicle Researcher
9abcfabc5f
openpilot v0.6 release
...
old-commit-hash: 8a9ed94f5f
6 years ago
Vehicle Researcher
81ebf6b142
openpilot v0.3.8.2 release
...
old-commit-hash: 187a70f760
8 years ago
Vehicle Researcher
2c0cc6103a
openpilot v0.3.7 release
...
old-commit-hash: daf54ad54d
8 years ago
Vehicle Researcher
5de48a7668
openpilot v0.3.0-devel release
...
old-commit-hash: 4653a9aef0
8 years ago
Vehicle Researcher
7609fa3b51
openpilot v0.2.4 release
...
old-commit-hash: ecc565aa3f
8 years ago
Vehicle Researcher
79ca8c9ec9
openpilot release
...
old-commit-hash: e94a30bec0
9 years ago