Dean Lee
2be5c0e970
ui/cameraview: fix deadlock on exit due to Qt::BlockingQueuedConnection ( #32620 )
...
fix deadlock
old-commit-hash: 25e15846f1
11 months ago
Adeeb Shihadeh
72b6504595
Revert "ui: single-threaded CameraView ( #32291 )"
...
This reverts commit 6adb53abf4d483e70bbe36725588a05cf75681fb.
old-commit-hash: c9531b463a
12 months ago
Dean Lee
4bade99d62
ui: single-threaded CameraView ( #32291 )
...
single thread cameraview
old-commit-hash: dd6e2a400b
12 months ago
Adeeb Shihadeh
32ea4667c2
Revert "ui/cameraview: merge EGL Image Clearing code into `clearEGLImages()` ( #32292 )"
...
This reverts commit 44486989b061fbbe31aff217ec82e7ce7b604950.
old-commit-hash: d56f188854
1 year ago
Dean Lee
d83b2f447d
ui/cameraview: merge EGL Image Clearing code into `clearEGLImages()` ( #32292 )
...
old-commit-hash: 7e6dda546e
1 year ago
Dean Lee
9fcc783447
ui: fix pair button shows on paired device ( #32109 )
...
old-commit-hash: ba98786ee3
1 year ago
Dean Lee
77d7ef177c
ui/cameraview: fix accessing uninitialized variable ( #31951 )
...
old-commit-hash: 77bbeb442e
1 year ago
Shane Smiskol
ebfc450fac
longitudinal personality: change via steering wheel distance button ( #31792 )
...
* 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>
old-commit-hash: 3d63c7093a
1 year ago
Adeeb Shihadeh
dd371305a0
Reapply "ui: brighten cameraview ( #29744 )" ( #31846 )
...
This reverts commit e7f7189d2dc339f76d92762c1b9b2fa720ed87e4.
old-commit-hash: c155749b29
1 year ago
Shane Smiskol
2c33c76170
ButtonParamControl: use buttonClicked ( #31817 )
...
old-commit-hash: d651bc802b
1 year ago
Adeeb Shihadeh
7243b9b68e
Revert "UI: single-threaded CameraView ( #30397 )"
...
This reverts commit 69dcd240fcf3bac7a6bddb1647219b710d255554.
old-commit-hash: 073fc89ad4
1 year ago
Dean Lee
2f8e66dbb8
UI: single-threaded CameraView ( #30397 )
...
* single-threaded CameraView
* updateFrame
* inherit from CameraWidget
* clear frame on offroadTransition
* check frame_id
* optional
* unique_ptr
* CameraView
* cleanup
* cleanup
* log skipping frame
* fix driverview
* disconnectVipc
* debug inconsistent frame
* skip frame if uiPlan is outdate
* cleanup
* set connected = false
* support camerad reboot&seeking in replay
* cleanup
* qDebug
* use deque
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 17ac1d3c7b
1 year ago
Adeeb Shihadeh
70a03a0f2d
ui: show wifi password by default ( #30766 )
...
* ui: show wifi password by default
* update immediately
old-commit-hash: 2d466e70cd
1 year ago
Dean Lee
5ada7c007b
ui: destroy egl_images in main thread ( #30253 )
...
* call eglDestroyImageKHR in ui thread
* assert
old-commit-hash: dbda641cee
1 year ago
Dean Lee
2a948de1f6
ui/ParamControl: do not create ConfirmationDialog on every click ( #30496 )
...
old-commit-hash: 011b1a6e6a
1 year ago
Justin Newberry
c784119c64
cleanup cameraview shader ( #30520 )
...
cleanup shader
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4b0d0b0f1e
1 year ago
Dean Lee
fe554ceee3
ui/controls.cc: fix QLabel leak ( #30382 )
...
fix QLabel leak
old-commit-hash: 17cab9bb50
1 year ago
Dean Lee
98b70f957f
ui/wifi.cc: fix small QPixmap leak ( #30395 )
...
fix QPixmap leaks
old-commit-hash: 0f6b16d1e0
1 year ago
Shane Smiskol
24906c79b4
Revert "ui/wifi.cc: fix QPixmap leaks" ( #30394 )
...
Revert "ui/wifi.cc: fix QPixmap leaks (#30377 )"
This reverts commit 656ea6efd472e1b7b48fff910dfca6dd8a99a756.
old-commit-hash: d2c3c92fb4
2 years ago
Dean Lee
6945af4ea3
ui/wifi.cc: fix QPixmap leaks ( #30377 )
...
fix QPixmap leaks
old-commit-hash: b4e1ad5e62
2 years ago
Adeeb Shihadeh
dd9b72292e
UI: remove drive stats ( #30183 )
...
* UI: remove drive stats
* little more
* vanish
old-commit-hash: f80db10720
2 years ago
Adeeb Shihadeh
a9153a39cc
Update Python packages and pre-commit hooks ( #30149 )
...
* Update Python packages and pre-commit hooks
* fixes
* Update common/transformations/README.md
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* fix
---------
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 377722fd5e
2 years ago
Adeeb Shihadeh
13b57bb6a9
Revert "ui: brighten cameraview ( #29744 )"
...
This reverts commit 4772e46121f9adaf35b85f3dcaa416d9aaa7ee1b.
old-commit-hash: 023792c431
2 years ago
Dean Lee
aafed83acc
ui/CameraView: fix divide by zero issue ( #29770 )
...
old-commit-hash: a1306114bc
2 years ago
ZwX1616
641d52aa2d
ui: brighten cameraview ( #29744 )
...
* test
* test2
* Revert "test2"
This reverts commit 22e38f82ae
.
* Revert "test"
This reverts commit 717490c1bc
.
* looks fine
* mid
* description
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a08cdfdda7
2 years ago
Dean Lee
3627574114
ui: rename QDialogBase to DialogBase ( #29675 )
...
rename QDialogBase to DialogBase
old-commit-hash: c36774dfba
2 years ago
Dean Lee
ce0e2ec905
AGNOS setup: multi-lang support ( #25680 )
...
* multilang
* update translations
* Specifies dependency
* load lang from json file
* update translations
* fix white border
* remove stretch
* update translations
* fix tr
* no default language
* update translations
* rm main_en.qm
* cleanup
* cleanup
* add language files
* remove type=unfinish
* build languages before assets
* depends lrelease
old-commit-hash: 0767a6dee5
2 years ago
Dean Lee
de809632bf
cpplint: add filter `whitespace/comma` ( #29595 )
...
old-commit-hash: 7bfd3dac81
2 years ago
Dean Lee
c6db4c515c
ui: use `enum PrimeType` for prime_type ( #29491 )
...
old-commit-hash: 99279b8eef
2 years ago
Dean Lee
56b582a059
cpplint: add filter `whitespace/forcolon` ( #29582 )
...
whitespace/forcolon
old-commit-hash: ac93902983
2 years ago
Dean Lee
5ac4f52c6f
ui/PrimeUserWidget: cleanup layout ( #29492 )
...
cleanup layout
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5fcb7e9038
2 years ago
Dean Lee
97e9d55588
cpplint: `build/include_what_you_use` ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d99521e75
2 years ago
Dean Lee
11b5cfa422
ui/settings: Don't apply styles to more elements than needed. ( #29463 )
...
old-commit-hash: 5765c1d978
2 years ago
Adeeb Shihadeh
701cd6f6fe
add cpplint ( #26855 )
...
* setup cpplint
* only start that
* check line length
* check these
* rm exceptions
old-commit-hash: 952d720b6e
2 years ago
Adeeb Shihadeh
178d9adec3
ui: less confusing wifi training ( #29137 )
...
* ui: less confusing wifi training
* update
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0922a1040f
2 years ago
Dean Lee
b8110a90d2
ui: set max brightness when showing the QR code ( #28907 )
...
* set max brightness when showing the QR code
* set brightness in ui
* set in device
old-commit-hash: e958ce1c31
2 years ago
Adeeb Shihadeh
5d520dc7ae
ui: add nav to prime features ( #28842 )
...
old-commit-hash: 99f9d21e4b
2 years ago
Dean Lee
c25ca091ff
ui: cleanup controls ( #28809 )
...
* cleanup controls
* restore LayoutWidget
old-commit-hash: 2d37c219e7
2 years ago
Dean Lee
235235b2d9
modeldata.h: convert constants to uppercase ( #28769 )
...
old-commit-hash: 32c5e6aafb
2 years ago
Cameron Clough
b6e6f008f1
UI: improved nav destination entry ( #28476 )
...
old-commit-hash: bc5a899024
2 years ago
Dean Lee
1b3ba1c7ee
ui: multilang offroad alerts ( #28512 )
...
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 2b800cf2e7
2 years ago
Dean Lee
e5f294783f
ui: disable longitudinal personality settings when using stock long ( #28443 )
...
* disable longitdinal personality settings
* disable title label
* Revert "disable title label"
This reverts commit ef315ac277
.
* gray checked button on disable
old-commit-hash: 9295aca8ea
2 years ago
Shane Smiskol
633cdf0d0a
ButtonParamControl: minimum button width ( #28442 )
...
* min width
* param
old-commit-hash: a92cd659ce
2 years ago
Dean Lee
bfecfe3f8e
ui: refactor ButtonParamControl ( #28425 )
...
* refactor ButtonParamControl
* add pressed style
* connect to buttonToggled
* typo
old-commit-hash: 7f41047178
2 years ago
Harald Schäfer
36aa81cdc3
Driving Personality setting (also changes follow distance) ( #24742 )
...
* Skeleton
* Adjustable follow parameter
* fix rebase
* long planner
* typo
* Add ui toggle
* Fix icon
* Improve text
* Better toggle position
* Im a UX engineer now
* add param reader
* CHange jerk to have same crash test performance
* Try reading param
* Unused comment
* translate ui text
* std stoi
* Parametrized buttons
* Empty strings are ints
* Move to generic
* Update translations
* Fix translation diffs
* Release notes
* update refs
* tweaks
* Misc fixes
* No param is standard
old-commit-hash: 205c900742
2 years ago
Cameron Clough
adb8a80ff4
UI: connect to wifi prompt ( #28273 )
...
* 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
* .
old-commit-hash: 4f815db141
2 years ago
Cameron Clough
bdb92e691c
UI: remove comma points ( #28303 )
...
* UI: remove comma points
* remove param
old-commit-hash: e875bcfaee
2 years ago
Shane Smiskol
afe7825130
Revert "ui: smooth wide cam transition" ( #28298 )
...
Revert "ui: smooth wide cam transition (#28277 )"
This reverts commit ee6df0ef025d95c495248e46d53de2842363058e.
old-commit-hash: 21f88f997d
2 years ago
Cameron Clough
7db6687227
UI: PrimeUserWidget cleanup ( #28300 )
...
* cleanup
* setMargin is obsolete
* more
old-commit-hash: 13cf695738
2 years ago
Cameron Clough
36a72433c7
UI: update "Finish Setup" widget style ( #28287 )
...
* UI: update SetupWidget registration design
* SetupWidget: add icon
* Revert "SetupWidget: add icon"
This reverts commit 325d2d390496f287953beb1634b229ff4ff31717.
old-commit-hash: 387e865793
2 years ago