Commit Graph

1542 Commits

Author SHA1 Message Date
AlexandreSato 0b4c45dc3a Multilang: update pt-BR translations (#28659)
old-commit-hash: fb3eb6f9eae3a99d737c3a26f1783f3e1a9b3008
2023-06-23 21:25:26 +01:00
Adeeb Shihadeh 39d1e68030 UI: border is always engagement state (#27416)
* border is for engagement state

* round shading too

* alerts =/= status

* no debug print

* Full still full

* more cleanup

* more radius

* Update mui too

* normal black

* cleanup

---------

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
old-commit-hash: 07a68ca032e828e46a9a6a74d7461fde5c3fc69f
2023-06-22 21:37:08 -07:00
Lee Jong Mun 65378a9faf Multilang: kor translation update (#28646)
kor translation update
old-commit-hash: c7b62009ef3c7e198475be3a8748ab256ef39b92
2023-06-22 19:02:22 -07:00
Dean Lee 34db65aad0 ui/map_settings: remove repaint (#28642)
old-commit-hash: e8db988f2a40716bca2cf1767ddb7b589274dfc4
2023-06-23 00:31:05 +01:00
Cameron Clough 7e697a0d3d update mapbox style (#28638)
updated map components and dataset
old-commit-hash: a2b7d2c86788be157c41edfc3e582c588fa32984
2023-06-22 22:10:42 +01:00
eFini 8fa6af1042 Multilang: Chinese (Traditional) offroad alerts translation (#28636)
CHT translation for offroad alerts + minor changes to punctuation marks
old-commit-hash: 3b07bd5fcd000a96841dd00e1c9c58e7fc039062
2023-06-22 13:50:54 -07:00
Cameron Clough b6e6f008f1 UI: improved nav destination entry (#28476)
old-commit-hash: bc5a8990241311e347455ea8d69a064bd0693266
2023-06-22 19:57:29 +01:00
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: 2b800cf2e79048bbccb821135d1cf03ec7a580b0
2023-06-22 15:04:28 +01:00
Cameron Clough fadee2464d UI: fix DM icon margins (#28635)
old-commit-hash: bf8e815ababb4f9f0436737504f0f1d20e43c029
2023-06-22 11:58:38 +01:00
Cameron Clough 24f246c2d9 networking: add forget btn pressed state (#28618)
old-commit-hash: 8495510c290064b6784988eff860134cfa16207f
2023-06-21 14:42:18 +01:00
AlexandreSato fbb0d987b6 Multilang: update pt-BR 'alfa' translation (#28591)
old-commit-hash: 3d909d3097e8af5bd42c58a618254640710722ac
2023-06-18 20:27:39 +01:00
Harald Schäfer 8b0492c8fe Alpha long control no longer called experimental (#28437)
* Fix words

* vanish

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: da3003ee41eb5e80a78d7639ecfdf16536f0fab9
2023-06-14 21:51:55 -07:00
Cameron Clough 727b79b66f UI: consider border when setting map width (#28488)
old-commit-hash: 22ebd4fa8f7f9974daf096db6d3e11034149d6d9
2023-06-10 22:09:48 -07:00
Jason Wen f7824bffb0 offroad ui: remove irrelevant comment (#28485)
old-commit-hash: f0eef38dc0287baa0c8450290b90a948fa7bf01f
2023-06-10 13:01:16 -07:00
Cameron Clough e199a1a953 MapPanel cleanup (#28474)
old-commit-hash: f7f5537af74625e3a08352fef73eebffd4991a49
2023-06-09 17:08:57 -07:00
Lee Jong Mun c1e64b592e kor translation update (#28469)
old-commit-hash: b2288b366697a7ac16323e06419243a1785b371b
2023-06-09 10:54:39 -07:00
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 ef315ac2770191f1309f774185266e0cd9fe54b0.

* gray checked button on disable
old-commit-hash: 9295aca8eaebaadbc7ec96e82ece55dcaa3b668e
2023-06-08 16:03:18 -07:00
AlexandreSato aed0f7d1a2 Multilang: Fix text overlap in pt-BR translation (#28450)
* update pt-BR translations

* fix some cutoff texts

* update pt-BR translations

* Include the new relaxed explanation

* fix text overlaps
old-commit-hash: a250e1cb2f176b9de808f8ee76b6999562c47463
2023-06-08 12:54:23 -07:00
AlexandreSato 5e2017e67c Multilang: update pt-BR translations (#28431)
* update pt-BR translations

* fix some cutoff texts

* update pt-BR translations

* Include the new relaxed explanation
old-commit-hash: 80430435bb0e2f450cfacda19a1cd692cba02334
2023-06-07 12:09:25 -07:00
Shane Smiskol 633cdf0d0a ButtonParamControl: minimum button width (#28442)
* min width

* param
old-commit-hash: a92cd659cef7c517b40e7fd1455a12bacb3184b9
2023-06-07 01:11:41 -07:00
eFini 88175bbaf2 Multilang: add missing Chinese (Traditional) translations (#28427)
update chinese tranditional translations
old-commit-hash: 42eb7c527e2287eae20a96d867c1be4f78761bb7
2023-06-06 23:58:48 -07:00
Harald Schäfer edd8fc412b Driving personality setting: add description (#28422)
* Driving personality setting: add description

* Missing word
old-commit-hash: d6cfbd0097a3f4ebc4cd49858c8f14aff84a01dc
2023-06-06 11:07:31 -07:00
Dean Lee bfecfe3f8e ui: refactor ButtonParamControl (#28425)
* refactor ButtonParamControl

* add pressed style

* connect to buttonToggled

* typo
old-commit-hash: 7f41047178b5390581b9f18435939ba43a43a423
2023-06-06 01:18:17 -07:00
Lee Jong Mun cedea3efc7 kor translation update (#28420)
old-commit-hash: f97b2bb9d76cd50bf13cd4481735c5fb03c14aab
2023-06-05 23:11:21 -07:00
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: 205c900742a18ca4662f4535a1a4008624c05995
2023-06-05 22:17:41 -07:00
Shane Smiskol baa6d32fc6 ui: wrap missing updater text (#28417)
* wrap more

* wrap more

* and that

* update
old-commit-hash: aa4bbcefd3d68ae670dd5c57b0dceb0e57931567
2023-06-05 17:27:34 -07:00
Lee Jong Mun 7d4e006c2f kor translation update (#28401)
old-commit-hash: 90d31b9db4aac2735a8c1a9e518753c8e450f2e3
2023-06-04 16:52:25 -07:00
AlexandreSato ff98c6ed6e update pt-BR translations (#28393)
old-commit-hash: 8bfc78c265c87bac8f167f09e31547a23da459bc
2023-06-03 17:15:39 -07:00
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: 4f815db141db8b0257158d6969e78dea1b727912
2023-06-02 23:24:38 -07:00
Harald Schäfer 4b308e0fc7 Toggles: Reorganize in descending importance for driving (#28364)
Reorganize toggles in descending importance for driving
old-commit-hash: e0c95f7ad9a693e04824d193901cd1e2fdb17e93
2023-06-01 21:39:30 -07:00
Cameron Clough 11889dd024 UI snapshot tool (#28356)
* UI: snapshot testing tool

* gitignore

* cleanup

* remove prime type arg

* rename

* add script

* commit snapshots

* use base setup

* updates

* always run base

* echo

* use imagemagick

* test_snapshots

* fixes

* update

* set language

* revert

* default arg

* just remove translations

* formatting

* output arg

* improved help

* fix assets

* change dir back before saving snapshot

* unused imports

* simpler

* add default to description

* use uiUpdate signal
old-commit-hash: 15ac8c041b638e8989e1391387530c7195ef7403
2023-05-31 23:04:30 -07:00
Cameron Clough bdb92e691c UI: remove comma points (#28303)
* UI: remove comma points

* remove param
old-commit-hash: e875bcfaeec9a4bfab2d8e4e4bb5b7ee978eb047
2023-05-30 18:18:47 -07:00
Shane Smiskol afe7825130 Revert "ui: smooth wide cam transition" (#28298)
Revert "ui: smooth wide cam transition (#28277)"

This reverts commit ee6df0ef025d95c495248e46d53de2842363058e.
old-commit-hash: 21f88f997d80430dac16513c9dafb358ce3494ae
2023-05-25 19:23:50 -07:00
Cameron Clough 7db6687227 UI: PrimeUserWidget cleanup (#28300)
* cleanup

* setMargin is obsolete

* more
old-commit-hash: 13cf6957384f0ce620c6f74f87f77d04e19800c3
2023-05-25 16:40:40 -07:00
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: 387e865793a72011a6dfa096557987601c816809
2023-05-25 13:01:51 -07:00
Cameron Clough 397665d45c UI: add missing QPushButton pressed styles (#28289)
* UI: add missing QPushButton pressed styles

* keyboard is special
old-commit-hash: 488975f06ec6a282e023dbd5db9e265299458f4c
2023-05-24 22:44:10 -07:00
Dean Lee 7be85a4550 ui: update DM icon at every frame (#28226)
old-commit-hash: 634280ca5117a014cc7f2620e94ebc62c050d70e
2023-05-24 20:46:27 -07:00
Dean Lee cdd5958ab7 ui/MainWindow: use switch in eventFilter (#28276)
old-commit-hash: 2c44c8980c3893c01453049dd06a396e6f2358ad
2023-05-24 20:45:58 -07:00
Shane Smiskol 33ddd8eb44 ui: smooth wide cam transition (#28277)
* 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
old-commit-hash: 26064196d0362d7719ce7b1ee835eb2193a3dc57
2023-05-24 17:28:33 -07:00
Cameron Clough 5560082d37 UI: cleanup OffroadHome layout (#28284)
old-commit-hash: d6592436481e448933e8124541a8d5654a3b3d34
2023-05-24 15:41:14 -07:00
Cameron Clough a02f688db2 UI: reduce margin around software version (#28283)
old-commit-hash: 94937e0694d600bf15c4180452acf1a2029bf81c
2023-05-24 15:00:17 -07:00
Dean Lee b6fe3eac41 ui/settings: fixed button overlap in sidebar. (#28220)
fix button overlap
old-commit-hash: 781a6fcc5fcdc8b73040e16c1994f655ee79593d
2023-05-17 20:16:39 -07:00
Dean Lee 8f2084089d ui/drawDriverState: don't draw circle bg twice (#28168)
do not draw circle bg twice
old-commit-hash: fe6ce429c5e05a918f8838665a49ab442a483dc6
2023-05-16 14:01:06 -07:00
Dean Lee 9858839db0 ui: refactor setPrimeType (#28143)
handle prime type change in new function UIState::setPrimeType
old-commit-hash: 8ca3be97880cfddb230f02924017d9a2edeb7a89
2023-05-15 13:08:21 -07:00
Harald Schäfer 5ddceb553d Calibrationd: make recalibrating alert (#28149)
* Initial

* fixes

* not an int anymore

* elif

* revert ref

* update ref

* fix alert text

* regen refs

* update ref

* add recalibration unit test

* set into recalibration state

* fix words

* recalib

* text

* Update selfdrive/controls/lib/events.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 598343aad18a7896c6b65ff6e19f9e27ba19cc10
2023-05-15 09:29:57 -07:00
Adeeb Shihadeh 472a1cf63b ui: catch silent EGL failure (#28169)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 432f316e8df9fd614f784f0b5b3b445d14cc5f8e
2023-05-11 15:22:09 -07:00
Cameron Clough f655f6ca59 training guide: higher quality image (#28152)
* use better image

* update touch area bounding box
old-commit-hash: 3ba60a6a96db5a36ece78d555c5c1e377342fe77
2023-05-09 20:32:47 -07:00
Dean Lee 688bc0337e ui/drawLaneLines: read the accel from the submaster outside of the loop (#28145)
* read the accel from the submaster outside of the loop.

* const max_idx

* remove data copy and converting from list to vector

* correct name is len

* fix drawing last point

* add comment, remove right_points

* fix

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 2ec14c2065dfee6f624e592eff2f9d96b784ad61
2023-05-09 20:25:53 -07:00
Shane Smiskol 3af7b02a26 seldrive: use common sig handler (#28127)
* Update main.cc

* Update util.h

* same for navd
old-commit-hash: e780cca8b63987776d6408c3e1f64fb4c292a78f
2023-05-08 14:27:04 -07:00
Shane Smiskol 4f88c90d83 ui: more granular accel gradient in experimental mode (#27391)
* add accel

* debugging

* use uiPlan for acceleration

* draw on same frame, ui color enhancements

* adjustments

* not needed

* add back alerts and wide cam

* use linear accel -> saturation (red -> green transition is more gradual, should be easier to understand)

* 1.5x was good from the non-linear previous commit

* fix crash?

* revert draw on same frame

* bump lightness add lightness mod with comment for future use (reverting in next commit)

* revert (but keep lightness bump)

* max accel isn't blueish (#3DFF3D)

* clean up

* revert lightness

* remove experiment

* try a different domain

* doesn't work

This reverts commit 7a398b03920d6d2d2c804d1290803bc533051fc1.

* clean that up

* actually should be 0.75

* some clean up

* debug timing

* fix

* debug

* round

* revert wide

* not used

* clean up

* remove slow qDebug

* this too

* draw max constant points, ensure we draw first and last

* clean up

* more clean up

* draft

* Revert "draft"

This reverts commit 59db097611dc633f397c509bf95490eb0614b7f0.

* Revert "Revert "draft""

This reverts commit ee86c385b39dbe36430effd58fc5c41ede51f9f0.

* simplify

* clean that up

* and all that

* and more

* aaaand that

* aaaand that

* track vert is created in update_line_data, it us the sum of two equal
len lists

* keep debugging stuff around

* keep debugging stuff around

* remove prints

* rm that

* moreee

* use existing helper 😄

* clean up

* make it const

* F

---------

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 884e36bc9dfae0f5d374e41feee4f222e2cb62f7
2023-05-05 16:11:16 -07:00