Commit Graph

390 Commits

Author SHA1 Message Date
Dean Lee 023cd0492f ui/networking: do not skip the connected network (#29396)
* do not skip connected network

* simplify

* revert

* revert

* no implicit

* ifwt

* fix missing ssid

* makes more sense to only update security_type once (first vs. last)

* better comment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: b8b1e17a21390d9a80b1b0643c0001129292576c
2023-08-17 14:43:40 -07:00
Dean Lee 4857b61f8f ui/networking: pass network by value (#29448)
old-commit-hash: 1887d9197ab495bb8f4dd2826730e6d53528dd65
2023-08-17 11:37:42 -07:00
Dean Lee 5cc9fbe23f ui: longer screen timeout for driver view (#27457)
* longer driverview timeout

* Update ui.cc

* reset timeout

* do cleanup

* Apply suggestions from code review

* Update selfdrive/ui/ui.cc

* reset to default timeout on hidden

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f1568b960a3da819c41c62dcaeafb4eb6dd109eb
2023-08-16 22:22:39 -07:00
Dean Lee ec3b69928a ui/networking: bolding the connected network (#29385)
old-commit-hash: 29f2389cce373ccbf27526183aa34cfe5612c52d
2023-08-14 15:18:41 +01:00
Dean Lee 25df6335f7 UI: make wifi network sorting more stable (#29376)
* stable sort

* fix typo,rename to strengthLevel
old-commit-hash: 01089cf4bfea0d9c4484d18d78157227f5733db0
2023-08-13 21:12:23 -07:00
Dean Lee ce5c95715c ui/networking: remove dynamic property and style sheet (#29377)
old-commit-hash: 373171afd08a7890d326993ce2a6275ca79c1876
2023-08-13 14:48:06 -07:00
Dean Lee 42dd6af842 ui/networking: remove call to clearLayout (#29037)
* build list inplace

* move clearLayout to cabana

* cleanup include

* polish style

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fd8a9c852016ccfd13ae5146648a65f01cc2468c
2023-08-13 11:57:40 -07:00
Shane Smiskol fdc00cf0b6 Experimental mode toggle description: missing spaces (#29167)
* Update settings.cc

* more missing spaces

* scons

* vanish

* fix that
old-commit-hash: 6fe480b232ab85282b06f50473c12c492b5364fd
2023-07-27 14:00:41 -07:00
Harald Schäfer 069e9ef4f8 Experimental mode description: update nav (#29130)
* Update description

* Update releases

* Update RELEASES.md

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

* Update selfdrive/ui/qt/offroad/settings.cc

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

* small tweaks

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9c3c7f0dda4dd3355fa9a85bc6068fddef66b79b
2023-07-25 10:31:25 -07:00
Dean Lee 916784cfbe ui/settings: use existing params instance (#29109)
use exsting params
old-commit-hash: bcfb9d694061e5aef5e0e6bb3d756407b57315a2
2023-07-23 17:45:19 -07:00
Dean Lee ff94bdb79d ui/networking: call isTetheringEnabled out of the loop (#29028)
old-commit-hash: 4584e883dcf93079ad958da2042229750a3e260d
2023-07-19 12:28:44 +01:00
Shane Smiskol 829864218a ui: change last reference to experimental longitudinal (#29009)
* change experimental longitudinal language to alpha

* vanish

* Update selfdrive/ui/qt/offroad/settings.cc

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

* update translations

* vanish

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0bea1419e37ae13719c39b18ffa17059d1795376
2023-07-17 21:33:06 -07:00
Shane Smiskol c258e9d64a experimental mode: gate nav (#29007)
* first draft copy, needs updates

* gate behind exp mode

* can be one line

* this is no longer true

* toggle isn't just e2e long now, rename

* don't enable/disable

* kinda works!

* remove old giant qstring

* comment clean up

* similar breakpoint

* more clean up

* fixup onroad

* preserve planner behavior, and we don't need to look at confirmed param if we're onroad

* update translations

* vanish translations

* use scene for op long

* lowercase!

* updated copy

* need to check longitudinal here now too

* clean up!

* here is better

* used

* no nav emoji

* don't check param if not valid

* revert this

revert this

* ed

* revert experimental mode longitudinal checks (still need to revert toggle change)

* revert

* logic works

* revert test

* fix

* update translation

* fix (reset and update)
old-commit-hash: 6bc28fc7698415e41610ddd04bb3ce473870591e
2023-07-17 21:18:18 -07:00
Shane Smiskol 6f078534b8 ui: rename experimental mode toggle variable
old-commit-hash: 6e50706baa2dcbc7f3439ac10ab1a04b12ffb7cf
2023-07-17 20:38:38 -07:00
Shane Smiskol f9c6c9e8c3 Revert "experimental mode: gate navigate on openpilot (#28883)" (#29005)
This reverts commit 929880496515e3f995634e561145802bf15a60ea.
old-commit-hash: b5b431c12d54aaa115f9750da6d49e62a6d31778
2023-07-17 19:56:38 -07:00
Dean Lee 80e7b739b4 ui/util: add a helper class ParamWatcher (#28978)
* new class ParamWatcher

* Update selfdrive/ui/qt/util.cc

* Update selfdrive/ui/qt/util.h

* Update selfdrive/ui/qt/util.cc

* Update selfdrive/ui/qt/util.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b4f7e76531cfa378ff231b399b3910b4fb996363
2023-07-16 13:17:16 -07:00
Shane Smiskol 296de39f48 experimental mode: gate navigate on openpilot (#28883)
* first draft copy, needs updates

* gate behind exp mode

* can be one line

* this is no longer true

* toggle isn't just e2e long now, rename

* don't enable/disable

* kinda works!

* remove old giant qstring

* comment clean up

* similar breakpoint

* more clean up

* fixup onroad

* preserve planner behavior, and we don't need to look at confirmed param if we're onroad

* update translations

* vanish translations

* use scene for op long

* lowercase!

* updated copy

* need to check longitudinal here now too

* clean up!

* here is better

* used

* no nav emoji

* don't check param if not valid

* revert this

revert this

* ed
old-commit-hash: f973d605b2121a575a46f4a18dfcbb2df1f4816b
2023-07-14 05:26:59 -07:00
Dean Lee ccba136b64 ui: remove function configFont. use struct InterFont (#28773)
old-commit-hash: 219590885fb7463f39bacbbf1d5274b7251d9e7f
2023-07-06 12:17:56 +02:00
Dean Lee 6b5ca3e86b ui/wifiManager: remove obsolete methods without definition. (#28802)
old-commit-hash: 0bbe9bf46afbd98fd141fcc3d9fffe61718bd37b
2023-07-04 11:34:00 -07:00
Dean Lee a8f8d0b512 ui/settings: allow driving personality without CarParams (#28753)
* allow driving personality without CarParams

* rename to hasLongitudinalControl

* Update selfdrive/ui/qt/util.cc

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5493cb4289aea0d69e30408075a43044b895c8ec
2023-06-30 13:45:58 -07:00
Dean Lee e9782ae98f ui: scale training image to fit window (#28454)
old-commit-hash: 76ce71c6d67aaff44c6412506c47a387d8abf7e3
2023-06-24 21:10:29 -07:00
Cameron Clough b6e6f008f1 UI: improved nav destination entry (#28476)
old-commit-hash: bc5a8990241311e347455ea8d69a064bd0693266
2023-06-22 19:57:29 +01:00
Cameron Clough 24f246c2d9 networking: add forget btn pressed state (#28618)
old-commit-hash: 8495510c290064b6784988eff860134cfa16207f
2023-06-21 14:42:18 +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
Jason Wen f7824bffb0 offroad ui: remove irrelevant comment (#28485)
old-commit-hash: f0eef38dc0287baa0c8450290b90a948fa7bf01f
2023-06-10 13:01:16 -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
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
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
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 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 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 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
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
Cameron Clough 0cdfb86dd4 UI: cleanup old training guide coords (#28091)
old-commit-hash: cae43511dc547aac56a47f2d4e0705a7efda70c3
2023-05-04 00:08:50 +00:00
Adeeb Shihadeh cdbf69f724 UI: cleanup old training guide assets (#27973)
* UI: cleanup old training guide assets

* rm that
old-commit-hash: 38b99b5461f98b24d9a73c17aa5b6833f0c0e419
2023-04-19 11:10:50 -07:00
royjr 52cb1ca0f1 ui: experimental -> alpha OP long toggle (#27725)
* swap locations

* remove experimental from toggle name

* revert

* alpha

* revert that

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c2d13e529219422b942cbedcc3a496e2c936dd9b
2023-03-30 14:27:05 -07:00
Jason Wen fe5fee6931 torqued: reset LiveTorqueParameters on calibration reset (#27737)
* torqued: reset LiveTorqueParameters on calibration reset

* gotta have this
old-commit-hash: 8e3ed8f10b5e9eae52b1374a81d46dcd022e3598
2023-03-29 14:30:27 -07:00
Vivek Aithal 467040bbd0 Revert "torqued: reset LiveTorqueParameters on calibration reset" (#27736)
Revert "torqued: reset LiveTorqueParameters on calibration reset (#27732)"

This reverts commit 61bcfed6d92a13d994e56c1360d96f6026f40f7e.
old-commit-hash: 46069738d6f4a5c40e4aededbba797b38f8d4bcb
2023-03-29 14:01:22 -07:00
Jason Wen 1187234757 torqued: reset LiveTorqueParameters on calibration reset (#27732)
old-commit-hash: 18253982db08434f42a660689144a1d4eafd1a1b
2023-03-29 13:56:45 -07:00
ZwX1616 1a42ef6b37 driverview: use static icon (#27448)
* fix alpha

* prerender
old-commit-hash: c995acda7c502bc14fff431ba4832faa9dbaec18
2023-02-28 03:01:55 +08:00
Cameron Clough 44e1bf9fbf settings: highlight nightly in branch switcher (#27227)
old-commit-hash: 68bcdaaff7f9050402d983f460f2c85866b4ca32
2023-02-06 10:40:45 -08:00
Adeeb Shihadeh 69680e5a93 UI: show experimental long available to release users (#26910)
* UI: show experimental long available to release users

* more description

* cleanup

* hide toggle

* fix process replay

* clear param

* actually fix
old-commit-hash: c408b7e30609ca64971a4278eab16643fbb123b3
2023-01-19 23:06:18 -08:00
Dean Lee b2d2104360 ui: stop vipc thread before the DriverViewWindow is hidden (#26738)
old-commit-hash: b1009c7f7d8bebd2d88867f52e792b39904dbff4
2022-12-12 14:44:04 -08:00
Willem Melching 6dd30b3bca add missing <QPainterPath> include (#26520)
old-commit-hash: 8f9f015567a9f2dad66d31c25c514c436d1ba862
2022-11-16 09:25:36 -08:00
Shane Smiskol 87a558190e Multilang: add missing translations (#26519)
* add back missing japanese translations that haven't been changed

* other languages

* fix
old-commit-hash: d8bc69c788c581485ac9e65e8f6d06e4c368935c
2022-11-15 23:52:47 -08:00
Shane Smiskol e78d32a92c Multilang: refactor experimental description (#26518)
* refactor e2e description

* forgot to update
old-commit-hash: 1899d439f4aaf8f218ad7d40d8d70bec0d6f151a
2022-11-15 23:11:53 -08:00
Shane Smiskol dcd22dda7a ui: offroad experimental mode button (#26498)
* draft

* draft

* before qpushbutton

* icon, clean up button, clicked goes to toggles

* fix icon

* add imgs

* img

* make square

* works with layouts!

* fix gradient

* this looks good

* clean up

* clean up

* remove padding around couch

* use scene's experimental_model, new onroad design

* rename widget

* def want 3

* update translations

* add img

* add 25px of padding!

* make 300px (no change)

* clean up old images

* 5 px smaller

* add white img

* fix from merge

* no style sheets

* see how this looks on device

* aliased vertical line (clean up)

* clean up

* imgs

* couch

* delete

* bye bye

* expand toggle support

* clean up

* fix dynamic icon

* make exp icon dynamic

* order

* move to offroad
old-commit-hash: 58b84fb401a804967aa0dd5ee66fafa90194fd30
2022-11-15 22:18:26 -08:00