Dean Lee
b462e5584f
move LayoutWidget,ClickableWidget to controls ( #23207 )
...
old-commit-hash: d4b8cba0f6
3 years ago
Adeeb Shihadeh
0bcb3936ad
add small minimum time between taps to onboarding ( #23212 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: df5b374033
3 years ago
Dean Lee
b7e08ff8fd
Qt/SetingWindow: faster initialization and painting ( #21764 )
...
* reduce init time from ~520ms to ~350ms
* faster init toggle
setfixedheight in ctor
delay init TogglesPanel,reduce init time to ~180ms
cleanup
* precise style, reduce to ~100ms
* revert 'faster toggle
* fix horizontal_line
* fix background
* cleanup
old-commit-hash: f482354e4e
3 years ago
Dean Lee
066528dc2b
replay: use std::unique_ptr to manage memory, reuse events buffer. ( #23049 )
...
* reuse events buffer
* Trigger Build
old-commit-hash: 8a84263c2d
3 years ago
Adeeb Shihadeh
e3e9a6402b
Revert "soundd: use setLoopCount(0) to stop repeating sound ( #23076 )"
...
This reverts commit 27bcef8a3846acc7664a26e30a1284abb9fd8752.
old-commit-hash: d28622f8d3
3 years ago
Dean Lee
22a334b224
limit style scope ( #23181 )
...
old-commit-hash: 2335a20584
3 years ago
Willem Melching
bc267926ce
dmonitoring/DriverView: get crop_rect & transform by video size ( #23169 )
...
* dmonitoring/DriverView: get crop_rect & transform by video size (#23014 )
* keep rounding the same
Co-authored-by: Dean Lee <deanlee3@gmail.com>
old-commit-hash: f93d89b888
3 years ago
Adeeb Shihadeh
2063ff2d71
UI: remove burn in prevention ( #23173 )
...
old-commit-hash: 755ec71c05
3 years ago
Willem Melching
f44ac2a806
Revert "dmonitoring/DriverView: get crop_rect & transform by video size ( #23014 )"
...
This reverts commit e312313d5c75a3914cdabc6e1382df602b005c84.
old-commit-hash: b5fdf646ff
3 years ago
Dean Lee
1e45fe1ee7
dmonitoring/DriverView: get crop_rect & transform by video size ( #23014 )
...
old-commit-hash: 1af715d6a2
3 years ago
Adeeb Shihadeh
9c702c779e
whole new family ( #23157 )
...
* family two
* more volume
* repeating dm sound
* update tests
old-commit-hash: 1501c2e376
3 years ago
Jason Shuler
cabd6c6b95
ui.h: add missing optional header include ( #23160 )
...
old-commit-hash: af275af38f
3 years ago
Dean Lee
1b8be22a4c
DevicePanel: fix dangling reference to params ( #23154 )
...
old-commit-hash: 6e25ae9798
3 years ago
Willem Melching
e7bf88f29f
Remove Raw Upload toggle ( #23143 )
...
* Remove Raw Upload toggle
* fix tests
old-commit-hash: 2e0c73fc0c
3 years ago
Comma Device
aef1cbd1f8
fix UI build on comma two
...
old-commit-hash: 20dc4df024
3 years ago
Dean Lee
88ebf835bb
UI: move rest of NVG to Qt ( #23133 )
...
* 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
old-commit-hash: 20f571db3c
3 years ago
Willem Melching
e59fb59785
nav: open map on new route without valid OpenGL context ( #23140 )
...
old-commit-hash: 790a64af90
3 years ago
Dean Lee
89318a9491
UI: draw header gradient in OnroadHud ( #23137 )
...
old-commit-hash: 8545901c0c
3 years ago
Comma Device
e91843ec1c
fix sound test
...
old-commit-hash: cc1699707f
3 years ago
Dean Lee
53c7684956
OnroadHud: update engageability and DM icons at 2Hz ( #23134 )
...
old-commit-hash: 5ab6bff670
3 years ago
Dean Lee
2da9327191
UI: move onroad hud to Qt ( #23040 )
...
* onroad hud
* improve boudingrect, same as nanvg
* QRect
* Update selfdrive/ui/paint.cc
* stacked with nvgWindow
* cleanup ui.h
* rename to road_view_layout
* no lambda
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ad09507e1b
3 years ago
grekiki
9e4cc1f7ff
Python: Replace more lists with generators ( #23116 )
...
* 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>
old-commit-hash: 6951b3271d
3 years ago
Adeeb Shihadeh
7dbffc72c0
soundd: fix test for repeating soundsgitt status ( #23110 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 37e2de2244
3 years ago
Dean Lee
95f54ffb39
soundd: use setLoopCount(0) to stop repeating sound ( #23076 )
...
* use setLoopCount(0) to stop sound
* print default backend name
old-commit-hash: 35885745f1
3 years ago
Adeeb Shihadeh
a8332128aa
soundd: max volume at 20m/s
...
old-commit-hash: bc4ae3f587
3 years ago
Dean Lee
1b715dff6b
CameraView: use unique_ptr for CameraView::program ( #23096 )
...
old-commit-hash: 8c6242888c
3 years ago
Cosmo Borsky
dc2a9fb311
keyboard: replace backtick with apostrophe ( #23104 )
...
* 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>
old-commit-hash: faecf4e4c1
3 years ago
Adeeb Shihadeh
6c2182c026
Newer sounds ( #23091 )
...
* new prompt sound
* padding
* prompt distracted
* debug
* fix spelling
* lower min volume
* better volume at low speeds
* revert debug
* revert that
* fix tests
* update refs
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3b367e6872
3 years ago
Adeeb Shihadeh
dccb8b4010
New sounds ( #22652 )
...
* 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>
old-commit-hash: e679d05d9e
3 years ago
Dean Lee
d30429a2ad
soundd: fix test case ( #23075 )
...
* init sound_stats
* send deviceState msg
old-commit-hash: eb0724d7e3
3 years ago
Dean Lee
9b0fcaeb84
rename yuv streams ( #23071 )
...
* rename yuv streams
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 348d2d2b0d
3 years ago
Dean Lee
db022f7816
ui: singleton networkAccessManager ( #22994 )
...
old-commit-hash: b2bcacf590
3 years ago
Dean Lee
71c282d42a
logreader: support reading from corrupt log ( #23050 )
...
* 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>
old-commit-hash: dbec761941
3 years ago
Dean Lee
c6ae32ecb3
framereader: refactor seeking ( #22926 )
...
* refactor seeking
* ckeck packets.empty()
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 296c4076a2
3 years ago
Dean Lee
14fa2bf41a
cameraview: fix frameskip ( #23022 )
...
* fix frameskip
* sync upload->render
* cleanup
* comment
* rename to latest_texture_id
old-commit-hash: 00db14af64
3 years ago
Dean Lee
67c748d62a
refactor httprequest: emit single signals ( #23039 )
...
* refactor httprequest
* Trigger Build
old-commit-hash: 3fd0264960
3 years ago
Dean Lee
b6e6c342b3
DevicePanel: split long constructor into multiple functions ( #23043 )
...
* begin refactor
* split long constructor to multiple functions
* one connection to signal
* merge master
old-commit-hash: 5394fe1ae7
3 years ago
Dean Lee
43812ae898
replay: refactor http download ( #23052 )
...
* 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
old-commit-hash: f5e4867864
3 years ago
Dean Lee
4ac4b61272
framereader: fix crash after fallback to cpu decoding ( #23055 )
...
old-commit-hash: a449b856ca
3 years ago
Dean Lee
5f299f7f3e
ui/device: change last_brightness from float to int ( #23029 )
...
old-commit-hash: e376a621ba
3 years ago
Dean Lee
e308bc0a3f
framereader: replace swscale with libyuv, reduce cpu usage by half ( #22992 )
...
* use libyuv
* cleanup
old-commit-hash: 5ae5174509
3 years ago
Dean Lee
89fcaad057
qt/settings: reuse params ( #23041 )
...
old-commit-hash: ac179e2c36
3 years ago
Dean Lee
e8b9513fcf
qt/settings: use default parameter for params.get ( #23042 )
...
old-commit-hash: 723c8d6a7c
3 years ago
Willem Melching
935ce9edad
navd: render map into VisionIPC ( #22800 )
...
* 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
old-commit-hash: 5069852573
3 years ago
eFini
6558e04dcb
UI: minor changes to make it translation friendly ( #23032 )
...
old-commit-hash: 21ff97b8c9
3 years ago
Dean Lee
b2e59c0bfe
networking: remove unused #inculde<QMovie> ( #23016 )
...
old-commit-hash: 6964adec39
3 years ago
Dean Lee
0babd4d6e8
UI: fix cameraview crash after going offroad in settings window ( #23009 )
...
old-commit-hash: c1f617db46
3 years ago
Dean Lee
31b63386f8
wifiManager/get_response: pass response by const reference ( #22997 )
...
old-commit-hash: aa0cc260b9
3 years ago
Dean Lee
8f9ca8d3f6
replay: add test to check dcam and ecam ( #22993 )
...
old-commit-hash: 1d2dfab81c
3 years ago
Dean Lee
2d8780e5c6
logreader: fix memory leak in Event ( #22987 )
...
old-commit-hash: 9cb46cc4a1
3 years ago