* start at param
* start by sending personality
* change to personality
* POC: button changes personality
* what's wrong with this?
* fix
* not really possible but fuzzy test catches this
* there's always a typo
* dang, we're dropping messages
* clean up
* no comment
* bump
* rename
* not all cars yet
* works but at what cost
* clean up
* inside settings
* write param so we save the distance button changes
* setChecked activates buttonToggled and already writes param!
* don't need this, we update from longitudinalPlan on changes
* some clean up
* more
* ui
* allow some time for ui to receive and write param
* plannerd: only track changes in case no ui
* Revert "plannerd: only track changes in case no ui"
This reverts commit 2b081aa6ce.
* write in plannerd as well, I assume this is atomic?
* don't write when setting checked (only user clicks)
* better nane
* more
* Update selfdrive/controls/lib/longitudinal_planner.py
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* doesn't write param now
* ParamWatcher is nice
* no debug
* Update translations
* fix
* odd drain sock proc replay behavior
* vanish
* Revert "odd drain sock proc replay behavior"
This reverts commit 29b70b3941.
* add GM
* only if OP long
* move personality to controlsState, since eventually it won't be exclusive to long planner
more
bump
* diff without translations
* fix
* put nonblocking
* CS should start at up to date personality always (no ui flicker)
* update toggle on cereal message change
* fix
* fix that
* ubmp
* mypy doesn't know this is an int :(
* update translations
* fix the tests
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* OffroadHome: move experimental mode button to right column
* OffroadHome: replace DriveStats with PrimeAd when no prime
* SetupWidget: remove PrimeAd
* SetupWidget: tweaks to fit smaller space
* UI: add WiFiPromptWidget
* WiFiPrompt: update using network type
* add WiFiPromptWidget to offroad home
* reduce spacing to fit vertical space
* WiFiPromptWidget: open Wi-Fi settings
* no longer necessary
* cleanup
* shrink PrimeUser widget and increase Setup Wi-Fi font size
* correctly resize widget when stack index changes
* layout tweaks
* debug
* spacing
* slightly improved style
* helps -> help
* .
* horribly messy
* bit simpler
* is this right?
* simpler and should work?
* used to be int/frames, but added easing so treat as float
* end slow (start fast)
* little faster
* clean up
* not needed
* try ease in/ease out and fix
* remove debugging print
* fix
* revert to previous curve
* based on speed
* not right
* fix
* fix
* this kinda works
* Revert zoom by speed
Revert "this kinda works"
This reverts commit 48aa30b945148b8eb79fbe33eb58e3fc3a6a7009.
Revert "fix"
This reverts commit 4ff2d33486231727d7cd68d366342c2273e3a315.
Revert "fix"
This reverts commit 15b22f8e8284eb017000856abb05b5e8973a6c0e.
Revert "not right"
This reverts commit 378b9965e14250c57ed39e1976de60d89054c2c8.
Revert "based on speed"
This reverts commit 1f7bfa5d73a2dee3740096da64eda24b33288b51.
Revert "Revert "not right""
This reverts commit 1beeb402534a755208d19771eb4a2afdc69b8739.
* better curve
* revert
* use constants and fixes
* up here too
* feels more intuitive to make zoom_transition=1 be zoomed in
* rm line
* fix
* cmt
* better handling
* better name
* zoom if ANY other stream is requested
* Update selfdrive/ui/qt/widgets/cameraview.cc
* 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>
* 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>