George Hotz
16dd7ce1fe
build for mac ( #23048 )
3 years ago
Adeeb Shihadeh
646fe7de4b
mui
3 years ago
Dean Lee
e4de82f906
ui: remove variable world_objects_visible, use rcv_frame ( #23264 )
3 years ago
Dean Lee
768cfdb92a
framereader: use the same alignement as visionbuf ( #23208 )
...
* aligned rgb buffer
* fix yuv stride
3 years ago
Dean Lee
5810583d57
UI: always clear CameraView background ( #23231 )
...
* fix background
* gate that with Hardware::EON
* always call glclear
3 years ago
Adeeb Shihadeh
472177e2a8
Revert "Qt/SetingWindow: faster initialization and painting ( #21764 )"
...
This reverts commit f482354e4e
.
3 years ago
Dean Lee
75687169eb
qt/util: new function scaledPixmap ( #23103 )
...
* new function scaledPixmap
* rename to loadpixmap
3 years ago
Dean Lee
2483fc5d5d
ui: singleton uistate ( #22789 )
...
* singleton uistate
* merge master
* merge master
* merge master
* connect uistate in sidebar
* move to device
3 years ago
Shane Smiskol
c84310c94c
seems to be flipped ( #23213 )
3 years ago
Dean Lee
084ef39489
C2: display ip address in network panel ( #23215 )
...
* display ipv4 address
* refactor to class
* only display ip address
3 years ago
Dean Lee
c5dbee4e58
UI: add timeout to close settings window while onroad ( #22980 )
...
* refactor updateWakefulness
* don't hide sidebar
* rename reset->reset_timeout
* move related variables and functions into class Device
* reset timeout in ctor
* set timeout to 10s if ignition is on
* cleanup
* remove unused QTimer *timer
* check getTimestamp
* keep socket reading in update_state
* keep filtering
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Dean Lee
d4b8cba0f6
move LayoutWidget,ClickableWidget to controls ( #23207 )
3 years ago
Adeeb Shihadeh
df5b374033
add small minimum time between taps to onboarding ( #23212 )
...
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Dean Lee
f482354e4e
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
3 years ago
Dean Lee
8a84263c2d
replay: use std::unique_ptr to manage memory, reuse events buffer. ( #23049 )
...
* reuse events buffer
* Trigger Build
3 years ago
Adeeb Shihadeh
d28622f8d3
Revert "soundd: use setLoopCount(0) to stop repeating sound ( #23076 )"
...
This reverts commit 35885745f1
.
3 years ago
Dean Lee
2335a20584
limit style scope ( #23181 )
3 years ago
Willem Melching
f93d89b888
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>
3 years ago
Adeeb Shihadeh
755ec71c05
UI: remove burn in prevention ( #23173 )
3 years ago
Willem Melching
b5fdf646ff
Revert "dmonitoring/DriverView: get crop_rect & transform by video size ( #23014 )"
...
This reverts commit 1af715d6a2
.
3 years ago
Dean Lee
1af715d6a2
dmonitoring/DriverView: get crop_rect & transform by video size ( #23014 )
3 years ago
Adeeb Shihadeh
1501c2e376
whole new family ( #23157 )
...
* family two
* more volume
* repeating dm sound
* update tests
3 years ago
Jason Shuler
af275af38f
ui.h: add missing optional header include ( #23160 )
3 years ago
Dean Lee
6e25ae9798
DevicePanel: fix dangling reference to params ( #23154 )
3 years ago
Willem Melching
2e0c73fc0c
Remove Raw Upload toggle ( #23143 )
...
* Remove Raw Upload toggle
* fix tests
3 years ago
Comma Device
20dc4df024
fix UI build on comma two
3 years ago
Dean Lee
20f571db3c
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
3 years ago
Willem Melching
790a64af90
nav: open map on new route without valid OpenGL context ( #23140 )
3 years ago
Dean Lee
8545901c0c
UI: draw header gradient in OnroadHud ( #23137 )
3 years ago
Comma Device
cc1699707f
fix sound test
3 years ago
Dean Lee
5ab6bff670
OnroadHud: update engageability and DM icons at 2Hz ( #23134 )
3 years ago
Dean Lee
ad09507e1b
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>
3 years ago
grekiki
6951b3271d
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>
3 years ago
Adeeb Shihadeh
37e2de2244
soundd: fix test for repeating soundsgitt status ( #23110 )
...
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Dean Lee
35885745f1
soundd: use setLoopCount(0) to stop repeating sound ( #23076 )
...
* use setLoopCount(0) to stop sound
* print default backend name
3 years ago
Adeeb Shihadeh
bc4ae3f587
soundd: max volume at 20m/s
3 years ago
Dean Lee
8c6242888c
CameraView: use unique_ptr for CameraView::program ( #23096 )
3 years ago
Cosmo Borsky
faecf4e4c1
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>
3 years ago
Adeeb Shihadeh
3b367e6872
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>
3 years ago
Adeeb Shihadeh
e679d05d9e
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>
3 years ago
Dean Lee
eb0724d7e3
soundd: fix test case ( #23075 )
...
* init sound_stats
* send deviceState msg
3 years ago
Dean Lee
348d2d2b0d
rename yuv streams ( #23071 )
...
* rename yuv streams
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Dean Lee
b2bcacf590
ui: singleton networkAccessManager ( #22994 )
3 years ago
Dean Lee
dbec761941
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>
3 years ago
Dean Lee
296c4076a2
framereader: refactor seeking ( #22926 )
...
* refactor seeking
* ckeck packets.empty()
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Dean Lee
00db14af64
cameraview: fix frameskip ( #23022 )
...
* fix frameskip
* sync upload->render
* cleanup
* comment
* rename to latest_texture_id
3 years ago
Dean Lee
3fd0264960
refactor httprequest: emit single signals ( #23039 )
...
* refactor httprequest
* Trigger Build
3 years ago
Dean Lee
5394fe1ae7
DevicePanel: split long constructor into multiple functions ( #23043 )
...
* begin refactor
* split long constructor to multiple functions
* one connection to signal
* merge master
3 years ago
Dean Lee
f5e4867864
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
3 years ago
Dean Lee
a449b856ca
framereader: fix crash after fallback to cpu decoding ( #23055 )
3 years ago