* cameraview: Scale the glViewPort by devicePixelRatio()
This fixes an issue seen in Cabana on a "hidpi" system with Wayland where
devicePixelRatio() != 1 and the video doesn't take up the full widget area.
On the recommended Ubuntu 20.04 install I wasn't able to reproduce, because
devicePixelRatio() was always equal to 1 even with scaling to 200% or 300%. It
might be different if "Fractional Scaling" is enabled in GNOME (I couldn't make
that option work in mv WM.)
Was going to enable just for Linux, but it appears to also be recommended for
Retina MacOS:
https://doc.qt.io/qt-5/scalability.html#high-dpi-scaling-on-macos-and-ios
... so have worked from the assumption that glViewport() always takes dimensions
in device pixels, never the "device independent pixels" of Qt.
* Update selfdrive/ui/qt/widgets/cameraview.cc
* Update selfdrive/ui/qt/widgets/cameraview.cc
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fbcd0821c9
* auto detect available streams
* no switch if wide cam not available
* clear frames before getAvailableStreams
* warning
* clear at same time
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d5375af2f5
* setup: specific error state for non-executable file
* Result -> DownloadResult
* complete -> finished
* rename widgets to be more consistent
* fix typos
* fix setCurrentIndex
This appears to have different behaviour on device than on PC (off by
one)
* load fonts
* copy
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Revert "load fonts"
This reverts commit e8756598ed99aea39ef5721453e97920a494051c.
* font family
* undo
* less widgets more better
* font size
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 79e6910106
* 10s lat
* Full length MPC
* redfine N
* Leave controls the same for now
* Updates
* use long plan in lat plan
* interp plan
* simplergit add selfdrive/controls/plannerd.py selfdrive/controls/
* expand to 10s
* revert this
* fix linter
* vizualize
* fix long test
* typo
* cleanup
* compiles
* unused
* unused
* bump cereal
* bump cereal
* use model if no uiplanm
* update replay
* update ref commit
* bump cereal to master
old-commit-hash: eb8bdc0026
* will draw
* gradient
* bg
* add sense of depth
* refactor
* cleanup
* fix endpoint
* clean up
* use array
* 1 matmul
* lives in modeldata
* standstill only
* remove bad pts
* do less math
* smooth
* kind
* fix d
* lineswidth
* fade in and out
* hide
* quick
* gray out
* fix joints
* offset
* rest icon
* clean up
* circle as state
* longlat
* new design
* gap and g
* scaledown, fix jts and unlock not standstill
* width
* different
* intermediate
* sand
* motion effect
* vis
* fix bg
* clean up
* t
* btn_size
* small speedup
* sligh
* clean up
* facelift
* match .2
* .4 is good
* size
* no ss
* rhd compat
* less filt
* more line
* engaged
* not white
* drop prop
* this is fine
* independent falg
* sg
* dont look like hitman
* cleanup
* little more
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 955c1dff45
* ui: tap experimental mode icon to toggle
After experimental mode has been enabled for the first time (confirmed),
it can be toggled by tapping the engage-ability/experimental mode icon
in the upper right.
Closes#27002
* replace with QPushButton
* fixes
* cleanup
old-commit-hash: 20fb2b9bb3
* UI: show experimental long available to release users
* more description
* cleanup
* hide toggle
* fix process replay
* clear param
* actually fix
old-commit-hash: c408b7e306
* revert locationd laika change
* switch msg
* change proc replay
* back to gpslocation
* update ref
* no np floats in msg
* Ignore empty laikad messages in mapos
* more tolerance
* c++ doesnt work like that
old-commit-hash: 4c33d94d3f