Willem Melching
80ec32bcf3
loggerd: put signal in end of route sentinel ( #21025 )
...
old-commit-hash: 6e22f16ddb
4 years ago
Willem Melching
4d874a90ea
Store almanac on ublox poweroff ( #20967 )
...
* Store almanac on ublox poweroff
* send current UTC time
* move message building to ublox_msg.h
old-commit-hash: ea5141d909
4 years ago
Willem Melching
8b785f4744
store all files in /sys/fs/pstore in bootlog ( #20875 )
...
* store all files in /sys/fs/pstore in bootlog
* whitespace
* fix bootlog test
old-commit-hash: 4742f55749
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
Dean Lee
7534abdd50
util.cc: reduce two read_file functions into one ( #20655 )
...
* no need to malloc one extra byte
* combine two read_file into a faster one
* cleanup #include
* use resize
* apply suggestions from review
* space
* rebase master
old-commit-hash: fe2f63849a
4 years ago
Dean Lee
ba58b382e2
util.h: remove unused macro ALIGN ( #20673 )
...
old-commit-hash: eb4666b38f
4 years ago
Dean Lee
7d5a53ccbe
Use std::size for element counts ( #20654 )
...
old-commit-hash: cf80675369
4 years ago
Dean Lee
aa1474467e
Added new util class FirstOrderFilter ( #20303 )
...
* new class FirstOrderFilter
* flick face icon
* revert ui_draw_vision_face
* new function reset()
* reset after update
* use filter to update brightness
old-commit-hash: 6db31b9a33
4 years ago
Adeeb Shihadeh
2298d8f8f9
Qt UI: scale volume with speed ( #20441 )
...
* Qt UI: scale volume with speed
* for all hw
* way too loud for tici
* set volume
* volume
* swap
old-commit-hash: f1da1f9cb2
4 years ago
Willem Melching
4d6c98aa6b
Add watchdog check to manager ( #20277 )
...
* this should work but doesnt
* Only offroad
* works
* make it work offorad
* reduce diff
* cleanup
* need util
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a94ba4fb8b
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
Dean Lee
9abfacf182
util.h: re-indent function string_format and use const std::string & for read_file ( #19931 )
...
old-commit-hash: 316f475544
4 years ago
Dean Lee
6af18c1c7c
util.h: use const reference for std::string parameter ( #19885 )
...
old-commit-hash: c688461e11
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
Dean Lee
4c1919f41e
merge utilpp.h into util.h ( #19710 )
...
old-commit-hash: 595830135b
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
Willem Melching
651d4ce031
--std=c++17 ( #2330 )
...
* switch to c++17
* more 17
* 1z
* use std::clamp
* Fix types in clamp
* bump submodules
* bump laika
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 339d1967cb
5 years ago
Dean Lee
ef8b6d20fb
add function write_file() ( #2181 )
...
* add function write_file()
* handle EAGIN & EWOULDBLOCK
* don't handle errno
old-commit-hash: 6476207009
5 years ago
George Hotz
5d069eb8c3
Fixups for Mac, and a bunch for PC ( #1654 )
...
* fix mac nui
* fix cereal
* builds on mac without warnings
* ui swap shouldn't be instant on pc
* camerad builds on mac
* modeld, and now everything, builds on mac
* ui draws pictures on mac now
* fix camerad shutdown
* support ui looping on pc
* python3 on that
* SCNu64 should be cross platform
* bump cereal and new apk
* clean up
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 344a9a3699
5 years ago
Jason Young
ebed52527b
Reduce scheduler latency for realtime processes ( #1638 )
...
* WIP: reduce boardd and other lags
* Copypasta fault
* Silence spurious startup warning
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 68531b071c
5 years ago
George Hotz
b846f88ade
Support scons build on Mac ( #1034 )
...
* fix clock and add Darwin sconstruct
* it builds, this changes should be simplifications too
* fix boardd build
* that's the real type of EGLClientBuffer
* remove extra lines
* ui needs opencl on phone
old-commit-hash: f72f78f2b9
5 years ago
George Hotz
189c815e8f
selfdrive/common
...
old-commit-hash: 368a956b96
5 years ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago
Vehicle Researcher
9abcfabc5f
openpilot v0.6 release
...
old-commit-hash: 8a9ed94f5f
6 years ago
Vehicle Researcher
e41a943dd0
openpilot v0.5 release
...
old-commit-hash: de33bc4645
7 years ago
Vehicle Researcher
2c0cc6103a
openpilot v0.3.7 release
...
old-commit-hash: daf54ad54d
8 years ago
Vehicle Researcher
46e0ee7750
openpilot v0.3.4 release
...
old-commit-hash: 6f46f988d9
8 years ago
Vehicle Researcher
5de48a7668
openpilot v0.3.0-devel release
...
old-commit-hash: 4653a9aef0
8 years ago
Vehicle Researcher
79ca8c9ec9
openpilot release
...
old-commit-hash: e94a30bec0
9 years ago