Shane Smiskol
a65199b555
ui: update calibration limits text ( #30014 )
...
* update translations
* update text
* round down
old-commit-hash: a0c8df3d730eec50901235181a201cee91143e12
2023-09-22 21:38:07 -07:00
Alexandre Nobuharu Sato
e974ef9133
Duplicated #include in settings.cc ( #29951 )
...
old-commit-hash: 8a0711a67d8bc00913db841f65f443e7472fd699
2023-09-17 15:19:43 -07:00
Shane Smiskol
aa247b65aa
Revert "ui/driverview: inherit from CameraWidget" ( #29718 )
...
Revert "ui/driverview: inherit from CameraWidget (#29661 )"
This reverts commit 28a4d1de50948a93160a06e20f1666bab88389ab.
old-commit-hash: d9fedaa0a42685868ba262a111d7aec06208764f
2023-08-30 14:49:02 -07:00
Dean Lee
56f3b1b6fa
ui/driverview: inherit from CameraWidget ( #29661 )
...
old-commit-hash: 6c73a924fa7780fc31776060cf63cce3b85981cb
2023-08-30 16:41:58 +01:00
Dean Lee
875b160fc6
ui/network: move to selfdrive/ui/qt/network/ ( #29656 )
...
* move to ui/qt/network
* wifimanager->wifi_manager
old-commit-hash: 125bd2cd9ef930f23c8d435ccf2a76b91228abe8
2023-08-27 15:23:19 -07:00
Dean Lee
888b60b214
ui/driverview: use common SubMaster ( #29660 )
...
old-commit-hash: 3a46a853cb22efe0053cf7e99fc7c8e7e676a455
2023-08-27 10:57:31 -07:00
Dean Lee
74195e1d78
ui/driverview: hide on interactive timeout ( #29464 )
...
* hide on interactiveTimeout
* cleanup
* requestDone->closeView
* dont reset timeout on hideEvent
---------
Co-authored-by: sshane <shane@smiskol.com >
old-commit-hash: b6b255c10355c40fd8c53703720f8e1b12958855
2023-08-26 07:47:18 -07:00
Shane Smiskol
8f0ab9a105
Revert "ui/network: don't refresh on connect ( #29651 )" ( #29653 )
...
This reverts commit 500d58e5bf59e25ec973c6f635c6cf292c7a65ad.
Revert "ui/network: refresh IP address on connect"
This reverts commit 866c41a9249f98460436bae26def13be8c03a4fc.
old-commit-hash: 74a0a8f7b7f915a3fbb7bd26d77030ee89c02c6b
2023-08-26 05:23:20 -07:00
Shane Smiskol
045c092df8
ui/network: refresh IP address on connect
...
old-commit-hash: 46c32613fccd22e356c0b3092b61132ce264ae49
2023-08-26 05:15:05 -07:00
Shane Smiskol
b14dc6be99
ui/network: don't refresh on connect ( #29651 )
...
* don't refresh when showing connected status
* fix
* fix
* can remove that nowe
old-commit-hash: 6ea564b33ec6066bea1cc9829ce7c3078fdd735d
2023-08-26 04:13:19 -07:00
Dean Lee
511dcacf06
ui/networking: show "connecting" immediately after clicking on a network ( #29378 )
...
* fix connecting not show
* clear connect state
* pass network by value
* add comment
* move pass by value to anoter pr
* should always use function to set connecting_to_network
* remove connecting when forgetting
* out here
* can't do this :(
* Revert "can't do this :("
This reverts commit e06145202de34142e74667c876dc22442eb30796.
Revert "out here"
This reverts commit 8ca7b47a28854a92d95fcb5c5fc435e140f9af2c.
Revert "remove connecting when forgetting"
This reverts commit 671db0b5e76b6266a48f20bf4a1fd40cad4f90a4.
Revert "should always use function to set connecting_to_network"
This reverts commit a220b518fa2a4103046f9522afada80db76ae90d.
* makes sense to keep this the same
* not in between slots
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 9fe3df5d75bcaca3ea5be9e1d22bc00515c6e018
2023-08-26 03:54:19 -07:00
Dean Lee
dff265fff2
ui/networking: fix icon label alignment issue ( #29650 )
...
fix align issue
old-commit-hash: 547f69f5f38768dcbc62c9e42a7ef250d233fe01
2023-08-26 03:19:30 -07:00
Shane Smiskol
dc4177c344
wifiManager: empty path helper ( #29648 )
...
empty helper
old-commit-hash: 6bb97c416ff7a2cbbd5bbde6e49757f7db6f1523
2023-08-26 01:50:18 -07:00
Dean Lee
c6db4c515c
ui: use enum PrimeType for prime_type ( #29491 )
...
old-commit-hash: 99279b8eef43586aa09d001668355fa41e01b98f
2023-08-24 12:26:45 +01:00
Dean Lee
db211ce617
cpplint: add filter whitespace/parens ( #29565 )
...
old-commit-hash: 5480d32bb5d98d57100fd709b9ffe7bfcc6e020a
2023-08-23 14:25:05 -07:00
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: 2d99521e7500902070d0aacce69528bcfd8b9964
2023-08-23 13:25:17 -07:00
Dean Lee
004a097c95
cpplint: add readability/braces filter ( #29554 )
...
old-commit-hash: 363740a497620249066522c87ddb03e1362749d4
2023-08-23 10:13:46 -07:00
Dean Lee
11b5cfa422
ui/settings: Don't apply styles to more elements than needed. ( #29463 )
...
old-commit-hash: 5765c1d978c5890513e55398490447590d3b1d3e
2023-08-22 14:00:01 -07:00
Adeeb Shihadeh
701cd6f6fe
add cpplint ( #26855 )
...
* setup cpplint
* only start that
* check line length
* check these
* rm exceptions
old-commit-hash: 952d720b6e854b3ebbb9fd0fd82cd38f3ae04b90
2023-08-22 13:55:23 -07:00
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