* api: set User-Agent on network requests
The format of the User-Agent header matches the format in `common/api/__init__.py`.
Closes#22954.
* Update selfdrive/ui/qt/util.cc
* fix parentheses
* refactor into function
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 140c7f430c
* nav instruction icon for rhd
* we dont need rhd for active direction
* define suffix as constant
* ps version icon
* reflect icon instead
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 52c4ab73a9
* draw leads detected from radar since it has a low speed override
* comment
* fill lead_verticies
* fix
* Revert changes
Revert "fix"
This reverts commit 7a478c435a0913e09512801309cf52654f3e17ac.
Revert "fill lead_verticies"
This reverts commit 5cdf265bb98480413a4a83c093b3e00489ba2f94.
Revert "comment"
This reverts commit 24a8a3fc2beef263909810d828d4e4fb5ea576e8.
Revert "draw leads detected from radar since it has a low speed override"
This reverts commit 4679fa5d16c7e961def9aaa52e92fb7d994a830d.
* Revert "Draw model leads (#21864)"
This commit reverts f1003b8c85f73d9fbecd0b83bc9a6de6f46ea0c0
old-commit-hash: fa55dbe983
* support hardware accelerated video decoding
* support cuda only
* print decode info
* add yuv flag back
* fix height
* default is cuda
* fallback to CPU decoding
fix memory leak&cleanup
add output
old-commit-hash: 20d3cf1fcb
* soundd: configure as persistent process
* update c2 test
* fix that
* little more
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed8e6f857c
* ui: resizable on PC by mouse drag
* Revert "ui: resizable on PC by mouse drag"
This reverts commit 56aa8254a2.
* ui: auto scaling on resolution below 1920 x 1080
special case when on PC and screen resolution is exactly 1920 x 1080,
we don't use fixed-sized window to account for taskbar/menubar area
* Update qt_window.cc
set maximum window size
* keep SCALE
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 983cc14174
* move vipc to thread
* use invokeMethod
* cleanup
* latest_frame = nullptr
* space
* safe quit
* running_-> exit_
* recv timeout 1000
* cleanup
* run in loop
* requestInterruption
* block queue on vipcConnected for thread safety
* cleanup
* remove unused signal updateFrame
* make signals public
* dont emit signal in update
* apply reviews
* cleanup
* little more cleanup
* fix
* use glTexSubImage2D
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6e5fed63df
* Add navd folder
* prints route instructions to console
* broadcast NavInstuction without lanes
* show basic instructions and eta
* parse out lane info
* use swaglog
* clip distance on ui side
* draw lane directions
* show route
* add to process config
* add to release files
* small cleanup
* show route without gps
* pop open map on initial route
* fix error messages around no gps
* done
* make persistent process
* handle end of route
* clear route on offroad
* only one timer
* fix layout hacks
* explicit rendering at 20Hz
old-commit-hash: bef686f275
* no-cache mode
* fix test cases build error
* space
* don't create cache dir in no-cache mode
* fix errors in test cases
* no_local_cache_
* set the number of connections by chunk_size
* use size_t instead of int64_t
* add test case for no-cache mode
* rename variables
* fix SIGSEGV
* cleanup
* faster decompressBZ2
* always decompress bz2
* add test cases
* prepare for python interface
* fix test cases build error
* continue
* camera_replay: cache remote file
* protected inheritance
* single option name
* TODO
* test_case for LogReader&FrameReader
* fix wrong require
* test case for FileReader
* cleanup test
* test:fix wrong filename
* check cached file's checksum
* fix mkdir permissions err
cleanup filereader
* remove initialize libav network libraries.
dd
* abort all loading if one failed
* cleanup tests
* use threadpool to limit concurrent downloads
* cache more segments
* merge 3 segments for replay
* one segment uses about 100M of memory
* use segments_need_merge.size()
* shutdown
* fix stuck if exit replay before keyboard thread started
* load one segment at a time
* small cleanup
* cleanup filereader
* space
* tiny cleanup
* merge master
* cleanup test cases
* use util:create_directories
* cleanup framereader
old-commit-hash: 2b4a477fbc