* move ui_draw_world to qt
* draw world if world_objects_visible is true
* cleanup
* cleanup includes
* continue
* cleanup
* cleanup
* enable multisampling on all devices
* Replace lists with generators v2
* Replace set with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Replace more set() with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Replace existing symbol with apostrophe
Without `'`, I cannot type my WiFi password... though it might be time
to rotate it.
* Replace extra bactic with apostrophe
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* new engage/disengage + amp config
* first family
* cleanup audible alerts
* tici isn't special
* fix up debug cycle alerts
* these were better
* extend range
* use distracted sound
* log scaling
* getting closer
* slightly louder
* prompt
* update tests
* update refs
* fix c2 test
* resolve todo
* adjust tolerance
* revert for now
* should work
Co-authored-by: Comma Device <device@comma.ai>
* catch exception outside loop
* print decompress error
* add test case for corrupt log
* fix decompressbz2 stuck if log is corrupt
* recovered from corrupt data
* add output
* ass space
* std::endl
* override load(), load from buffer
* override FrameReader::load to load from the buffer
* replace NULL with nullptr
* fix test case for corrupt log
* Trigger Build
* check bzerror too
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* refactor http download
* use chunk_size instead of parts
testcase:set chunksize to 5mb
* use template
space
* cleanup
* remove unused include
* check buffer overfllow
* simplify print download speed
* navd: render simple map
* render route
* offscreen rendering
* cleanup
* more cleanup
* render into visionIPC
* rename class
* split position update from route update
* stop broadcast if not active
* gate vipc server behind flag
* add python library
* faster
* no vipc from python
* put behind extras
* only send when loaded
* add glFlush just to be sure
* cleanup settings into helper function
* function ordering
* broadcast thumbnails
* put behind param
* adjust zoom level
* add route to python bindings
* revert that freq change
* add logging if map rendering is enabled
* use rlogs if available
* bump cereal
* 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>
* 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>
* 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 276b00ccb8
* 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
* 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>
* 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>
* 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
* 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
* there is no QThread::create on device
* add files to files_common
* modify SConscript
* no memory_resouce on device
* #define HAS_MEMORY_RESOURCE
* fix hangs on shutdown
* build on device with the --extra flag
* delete later
* setup -> extras
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* use mapbox proxy
* remove MapboxToken param
* do not log jwt
* remove import
* move to staging url
* put has_prime in ui state
* logic was flipped
* Update selfdrive/ui/qt/maps/map.h
* decode from the previous keyframe after seek
* less memory
* some stream seems to contian no keyframes
* test random seek
* merge master
* continue
update test_cases
use fr
* merge master
* start streaming after segment loaded
dd
* loop from beginning if reaches the end
* isSegmentLoaded
* one loop
* move to ctor
* delete stream_thread_ on exit
* pause streaming while testing seek
* Revert "one loop"
This reverts commit f029cd118f7ac876dee1dbf2b91478403211ad47.
* test:dummy stream thread
* cleanup
* start thread after vipcserver
* c3 is straightforward
* c2 transform
* c3 preview
* alpha model
* Revert "alpha model": wrong quantization data
This reverts commit b50e573973.
* yuv looks good
* a55b
* const int
* block top deadzone
* new box alpha curve
* update k
* fix debug
* rhd use same offset
* box shift for rhd
* 7e3e
* set new thresh
* update ref
* explain
* remove e2e
* same metric thresh
* process isocc
* model
* cancel extra policy
* update numbers
* new model
* update cereal
* up cereal
Co-authored-by: Comma Device <device@comma.ai>
* Change APN from settings
* subtext
* one function
* bring connection down and up
* fix adapter type
* trim input
* fix scrolling in scanning state
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* simplify seek&merge
* update test cases
update test cases
* cleanup test cases
* new function currentSeconds
* add TODO
* thread safe publishFrame
* cleanup
* fix 'at x S' not printed if seek back to old time
* exit replay if failed to load route
* move out setCurrentSegment from if statement
* cleanup
* use std::find
* const variables