Shane Smiskol
830f64e02c
ternary, not too complicated
3 years ago
Shane Smiskol
24585a76bc
not sure why passing to cameraview causes overflow
3 years ago
Shane Smiskol
2cc2a2f1c9
frame_id is a uint32_t
3 years ago
Shane Smiskol
aff7d92696
remove comments
3 years ago
Shane Smiskol
5895ba2d03
make tests pass
3 years ago
Shane Smiskol
007d8cd6c0
conflate, reduce buffer, and remove special case when starting
3 years ago
Shane Smiskol
20fa6767c7
fix drawing
3 years ago
Shane Smiskol
1ceb072092
only get modelV2 once
3 years ago
Shane Smiskol
1dee4855a5
draw latest frames when camerad is coming up with no modeld
3 years ago
Shane Smiskol
3985023069
more generic implementation
3 years ago
Adeeb Shihadeh
ab75c53792
replay: cleanup unused RGB buffers ( #24537 )
...
* replay: cleanup unused RGB buffers
* update replay cam
* little more
3 years ago
Willem Melching
aac7248a01
ui: fix cameraview widget on MacOS after YUV changes ( #24506 )
3 years ago
Dean Lee
3863a88356
tools/replay: replace deprecated usleep(0) with std::this_thread::yield ( #23544 )
...
* use std::this_thread::yield()
* use yield in cameraServer::waitFinish
* rename waitFinish to waitForSent
3 years ago
Anton Rudomanenko
3bfe4a691c
fix the problem with replay routes locally ( #24350 )
...
fix: fix the problem with replay routes locally
Co-authored-by: Anton Rudomaneko <anton.rudomanenko@nami.ru>
3 years ago
Adeeb Shihadeh
2466233b1c
body: opt-out logging ( #24423 )
...
* body: opt-out logging
* wait a bit
* little better
* fix that too
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Willem Melching
e8892481ab
ui: fix HUD drawing order ( #24419 )
3 years ago
Willem Melching
3fc01ec15a
cameraview.cc: set alignment to 1 when copying texture ( #24418 )
3 years ago
Willem Melching
9307fe434c
map.cc: fix crash on older route with missing liveLocationKalman values
3 years ago
Adeeb Shihadeh
670126cbf1
body: opt-in logging ( #24416 )
3 years ago
Shane Smiskol
546cb349e8
try this
3 years ago
Shane Smiskol
28a21bcd5a
fix ui hang
3 years ago
Shane Smiskol
239f0bbdad
clean up
3 years ago
Adeeb Shihadeh
043a309d67
ui: new notcar battery design ( #24412 )
...
* ui: new notcar battery design
* if charging
* cleanup
* remove that
* slower
* real colors
* relative from left
* fix that
3 years ago
Adeeb Shihadeh
061b18805e
UI: add battery percent to body ( #24401 )
...
* UI: add battery percent to body
* little smaller
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
d7c6121ba8
UI: better double click on touch screens ( #24400 )
...
* UI: better double click on touch screens
* lower
* just right
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Joost Wooning
7ac92938d2
UI: remove unused lock and fence ( #24355 )
3 years ago
Willem Melching
a3cfa444d3
ui: combine OnroadHud into NvgWindow ( #24369 )
...
* ui: combine OnroadHUD and NVGWindow
* draw hud first
* cleanup
* removed commented line
* fix text rendering
* increase cpu usage
3 years ago
Willem Melching
bff0db566b
ui: only open map pane when route is not empty ( #24352 )
3 years ago
Shane Smiskol
55380c5bf2
heavy debugging
3 years ago
Shane Smiskol
83d6689fd4
sleep shorter
3 years ago
Shane Smiskol
d593935001
optimze
3 years ago
Shane Smiskol
bfeddc0a14
fix reversing
3 years ago
Shane Smiskol
0bebfffdc4
draw camera on same frame from modelV2
3 years ago
Adeeb Shihadeh
de56544531
Revert "onroad UI: show negative speed ( #23987 )"
...
This reverts commit 62087a6368
.
3 years ago
Joost Wooning
f84fdc86bb
UI: remove memcpy on frame receive ( #24318 )
...
* UI: remove frame memcpy
* fix freezing
* fix onroad test
3 years ago
Joost Wooning
43f43b1c64
UI: use YUV stream instead of RGB ( #24317 )
...
* UI: use YUV stream instead of RGB
* cleanup
* cleanup
3 years ago
Adeeb Shihadeh
13e1c0b339
Revert "UI: remove RGB buffer usage ( #24298 )"
...
This reverts commit b9907e86b2
.
3 years ago
Joost Wooning
b9907e86b2
UI: remove RGB buffer usage ( #24298 )
...
* ui: use yuv buffer
* cleanup
* fix watch3
* replay always send yuv
* fix drawing of path
* fix onroad test
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Willem Melching
303f4ea5c1
fix --extras on device: move ui.cc into widgets_src ( #24286 )
3 years ago
Willem Melching
38300474bb
ui: Fix path artefact when going over hill ( #24285 )
3 years ago
Shane Smiskol
492489e55c
ui: adjust e2e path width
3 years ago
George Hotz
273831aa14
ui: make the path double wide for e2e
3 years ago
Adeeb Shihadeh
5c48e7bc86
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
3 years ago
Shane Smiskol
fdeb590ae6
ui: adjust laneless design ( #24246 )
...
* tune design
* adjust
* adjust
* fix and compromise!
* fix sl
3 years ago
Shane Smiskol
998cd7fa20
UI: new laneless design ( #24169 )
...
* stash
* Revert "stash"
This reverts commit f0019010e28ffb6d70b3c84666572f30c22077c9.
* new laneless ui
* clean up
* always draw lane lines
* no compensation
* make sure it's long enough
* debug time
* tune design
* tune design 2
* correct scaling with new updated curve hue
* debug time
* full test
* revert test
* move yellow back a bit
3 years ago
Adeeb Shihadeh
639255bd10
UI: double click to switch between body and onroad views ( #24214 )
...
* UI: double click to switch between body and onroad views
* fix that
* Update selfdrive/ui/qt/home.cc
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
fcf657763d
nav: better reroute backoff policy ( #24179 )
...
* nav: reduce max reroute backoff
* remove that too
3 years ago
Willem Melching
b379fca0ae
route.cc: include <array>
3 years ago
Brett Sanderson
61d987f630
UI: improved disengage on gas toggle description ( #24132 )
...
* Update settings.cc
Should be depressed as standard in automotive industry.
Pressed implies state change from down -> up, depressed means the state is down
* Update selfdrive/ui/qt/offroad/settings.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Willem Melching
67d6847039
camera_qcom2: target 40ms acquisition time, use register wizard ( #24093 )
...
* register values from wizard
* target 25fps to leave some room for timing jitter
* update max lines in ui
3 years ago