Dean Lee
e39a03e098
qt/util.h: new functions getBrand&getBrandVersion ( #21238 )
...
old-commit-hash: 5baad4692d
4 years ago
Dean Lee
d36392cdea
OffroadHome::refresh(): remove emit keyword on slot ( #21227 )
...
old-commit-hash: 7d3dc4d031
4 years ago
Dean Lee
147b355dde
add space after function name and if statement ( #21225 )
...
old-commit-hash: e4e669bb0f
4 years ago
Dean Lee
2594804780
OffroadHome::refresh(): remove emit before closeAlerts() ( #21219 )
...
old-commit-hash: fda0c6895c
4 years ago
Willem Melching
6f757fdd60
Fetch mapbox token from API ( #21136 )
...
* delay widget creation until going onroad
* let athena fetch mapbox token
* only tici
* add token
* cleaner
* rename slots
* that was missing
old-commit-hash: 21be443499
4 years ago
Willem Melching
879a616ba8
Various nav improvements ( #21133 )
...
* various nav improvements
* use traffic aware routing
* read last position from param
* allow compute without gps when no route
* cleanup
* properly hide route
* set pitch
old-commit-hash: 14f09e4ee1
4 years ago
Adeeb Shihadeh
56e9dbcf99
Qt driverview ( #21063 )
...
* CameraViewWidget
* continue
* cleanup
* mv DriverViewWindow to ui/qt/offroad
* write IsDriverViewEnabled in showEvent/hideEvnet
* sm.update(0) in onTimeout()
* CameraViewWidget
* use unique_ptr for vipc_client
* virtual draw
* fix viewport
* connected()->frameReceived()
* bg_colors use QColor
* fix draw
* rebase master
* whitespace
* apply reviews
* indent
* like onroad
continue
* white space
* continue
* show == false
* remove border
* use widget's size
* fix shadowed rect
* cleanup driverview
* fix transform
* remove video_rect
Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9876723169
4 years ago
Dean Lee
90d952b218
Sidebar: repaint only when properties updated ( #20929 )
...
* use qt_property
s
* cleanup
* little more
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 179ff6e7ae
4 years ago
Willem Melching
efa94a89ff
Mapbox widget ( #20751 )
...
* squash mapbox stuff
* only hacks for pc
* no hack there
* only update when needed
* get destination from param
* no need for user agent
* add athena method
* change nav path color
* layout cleanups
* margin top
* add build scripts
* rename header file
* set pitch
* fix icon blinking
* keep both options
* draw on top to fix last blinking
* only recomput with gps
* fix include
* put map in onroadwidget
* update mapbox plugin to allow specifying directions url
* cycle through views
* dynamic resize
* only when present
* add map_helpers
* whitespace
* small fixes
* let scons decide
* update setup files
* implicit dependency
* fix alerts
* Update selfdrive/ui/SConscript
* move clearLayout to util.h
* only build when map.cc present
* move maps to own folder
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 86aefbe766
4 years ago
Adeeb Shihadeh
eb79a7214e
match nvg onroad alerts ( #20854 )
...
old-commit-hash: e06f9828ea
4 years ago
Dean Lee
e333e4f189
Cleanup selfdrive/ includes ( #20822 )
...
* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7222d0f20d
4 years ago
Adeeb Shihadeh
5d82a760db
Qt onroad alerts ( #20776 )
...
old-commit-hash: f907219957
4 years ago
Adeeb Shihadeh
2fb8b563eb
UI: fast startup ( #20781 )
...
* faster startup
* faster
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed3b6bd90c
4 years ago
Dean Lee
9a827fea20
c++ cleanup: standardize file extensions to .cc and .h ( #20800 )
...
* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
old-commit-hash: 81491dc57f
4 years ago
Dean Lee
309a873e7d
Qt: use new signal slot syntax ( #20783 )
...
* new signal slot syntax
continue
* continue
old-commit-hash: 4781598e12
4 years ago
Adeeb Shihadeh
f5e6a0c9a0
Qt Sidebar ( #20775 )
...
* revive #19877
* looks like a sidebar
* more like a sidebar
* cleanup
* fix qcom2
* style
* that's the sidebar
* more space
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: db9319405b
4 years ago
Adeeb Shihadeh
b263a8d934
UI: refactor GLWindow ( #20764 )
...
old-commit-hash: 140e6248e2
4 years ago
Adeeb Shihadeh
bedee16223
let GPU sleep while offroad ( #20640 )
...
* better script
* let adreno sleep
* remove
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 32d317239a
4 years ago
Comma Device
24c8b90e86
fix drive stats offset on home screen
...
old-commit-hash: 7466ad6802
4 years ago
Dean Lee
9727c82514
fix: read brightness from persistent params ( #20544 )
...
old-commit-hash: 31a612c6e4
4 years ago
Willem Melching
535621bc52
Revert "Add device_type to class Hardware ( #20535 )"
...
This reverts commit 2d15844f518b4f606f61e788fc2d3d14fb21e70b.
old-commit-hash: 7372b9bba5
4 years ago
Dean Lee
75da59b835
Add device_type to class Hardware ( #20535 )
...
* add device_type to HadWare class
* always wake on PC
* use cereal::InitData::DeviceType
old-commit-hash: 9922688f8b
4 years ago
Dean Lee
405df8b165
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
old-commit-hash: 98e55996f6
4 years ago
Dean Lee
aa1474467e
Added new util class FirstOrderFilter ( #20303 )
...
* new class FirstOrderFilter
* flick face icon
* revert ui_draw_vision_face
* new function reset()
* reset after update
* use filter to update brightness
old-commit-hash: 6db31b9a33
4 years ago
Dean Lee
8c09067b27
faster driverview start ( #20507 )
...
old-commit-hash: 32c4cf00c2
4 years ago
Dean Lee
86a217dca7
OffroadAlert: update alerts inplace ( #20463 )
...
* refactor
* cleanup
* use QWdiget instead of QStackWidget
* continue
* remove duplicate setMargin
* dont parse alerts if updateAvailable
* kind of works
* alerts work
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bf1001e54b
4 years ago
Dean Lee
35f63336e9
ui: don't log slow frame message in driverview ( #20509 )
...
* Don't log slow frame message in driverview mode
* white space
old-commit-hash: 318fa3f50a
4 years ago
Adeeb Shihadeh
5fc14c8db3
Qt UI: power saving ( #20456 )
...
* c2 power saving
* clean that up
* that works
* add to hw
* set power
* release files
* add that
* include hw base
* pc joins the party
* util
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 49748d5dc1
4 years ago
Adeeb Shihadeh
96378a5b91
offroad alert improvements ( #20443 )
...
* alert niceties
* cleanup
* move the button
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0ccaec495c
4 years ago
Adeeb Shihadeh
2298d8f8f9
Qt UI: scale volume with speed ( #20441 )
...
* Qt UI: scale volume with speed
* for all hw
* way too loud for tici
* set volume
* volume
* swap
old-commit-hash: f1da1f9cb2
4 years ago
Adeeb Shihadeh
fe474a58c4
fix offroad home on tici ( #20435 )
...
* grid layout was a hack
* duplicate slot
* looks better
* fix that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 106ed2ea66
4 years ago
Adeeb Shihadeh
ae0756edc6
tici touch ups ( #20434 )
...
* tici touch ups
* trim
* less squish
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 61a0129fdc
4 years ago
Adeeb Shihadeh
17a3d6cb68
Qt UI: offroad home touchups ( #20416 )
...
* brand
* fix overlap
* touchup prime widget
* more prime widget cleanup
* don't need background layout
* fix overlap again
* more prime
* looks pretty good
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0b16ed9dc9
4 years ago
Adeeb Shihadeh
1c930d1e9e
UI HW Abstraction layer ( #20301 )
...
* start cpp hw abstraction layer
* cleanup
* only set brightness on change
* confirmation dialogs
* add to release files
* fix tici brightness
* using percentage now
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d45550c424
4 years ago
Willem Melching
37db5ca9df
Use exposure for screen brightness ( #20290 )
...
* use camera to set screen brightness
* leave default
* lower default
* fix offroad
* increase offroad brightness
* ifdef ifndef
* fix qcomgp
old-commit-hash: 026a580ee3
4 years ago
Willem Melching
4d6c98aa6b
Add watchdog check to manager ( #20277 )
...
* this should work but doesnt
* Only offroad
* works
* make it work offorad
* reduce diff
* cleanup
* need util
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a94ba4fb8b
4 years ago
Willem Melching
f0da92ba5c
set brightness, catch exceptions
...
old-commit-hash: 0d02e85873
4 years ago
Dean Lee
0818f7166d
UI: Move the variables need to be updated by socket to UIScene ( #19783 )
...
* move variables into UIScene
* rebase master
* rebase master
* rebase master
* rebase master
* rebase master
* rebase master
* fix build error
* cleanup
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: dd603a89f6
4 years ago
Dean Lee
4fd0fe80f0
UI: rename frontview to driver_view ( #20228 )
...
old-commit-hash: 8db3eea6c5
4 years ago
grekiki
3ad3cd5d4b
Qt-UI add driver monitoring view in offroad ( #20148 )
...
* should work, need to test onroad
* reduce diff
* Update home.cc
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a53c361bd4
4 years ago
grekiki
1e74eb0547
Qt-UI Close settings when screen turns off ( #20117 )
...
old-commit-hash: b805200194
4 years ago
grekiki
2b6237dd4c
Qt ui: close settings on onroad transition ( #20114 )
...
* need to test
* works
* reduce diff
* refactor
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: dab2e1298b
4 years ago
Willem Melching
8aa18de0b7
dont print slow frame on pc
...
old-commit-hash: 7054a9d237
4 years ago
Adeeb Shihadeh
10bf2690f1
fix font weights in qt ui
...
old-commit-hash: d75ff15048
4 years ago
Dean Lee
58cf6b8a80
UI: mv sidebar_collapsed&viz_rect to struct UIState ( #19782 )
...
* mv sidebar_collapsed&viz_rect to struct UIState
* rebase master
* rebase master
* rebase master
* revert that
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c22d6e315d
4 years ago
Dean Lee
7a086b3f3d
convert framebuffer to class ( #19800 )
...
* class FrameBuffer
* fix build error
* remove bootlog
old-commit-hash: 6583206ed4
4 years ago
Willem Melching
cb4cc2ffa6
qt ui: slow frame warning
...
old-commit-hash: e11b677e01
4 years ago
Willem Melching
ffeee5c91b
qt ui: sync fps with camera
...
old-commit-hash: 978d0c8964
4 years ago
Willem Melching
749b4ab508
visionipc connect, make sure opengl context is current
...
old-commit-hash: b67fed87ba
4 years ago
Willem Melching
8e13e2976e
start timer only after ui init
...
old-commit-hash: 06b974512a
4 years ago