Dean Lee
48cf7eb6d9
ui/driverview: inherit from CameraWidget ( #29769 )
...
* refactor DriverViewWidow to inherit from CameraWidget
* emit done on visible
* merge master
* cleanup
* lock_guard
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
1 year ago
Shane Smiskol
a0c8df3d73
ui: update calibration limits text ( #30014 )
...
* update translations
* update text
* round down
2 years ago
Alexandre Nobuharu Sato
8a0711a67d
Duplicated #include in settings.cc ( #29951 )
2 years ago
Shane Smiskol
d9fedaa0a4
Revert "ui/driverview: inherit from CameraWidget" ( #29718 )
...
Revert "ui/driverview: inherit from CameraWidget (#29661 )"
This reverts commit 6c73a924fa
.
2 years ago
Dean Lee
6c73a924fa
ui/driverview: inherit from CameraWidget ( #29661 )
2 years ago
Dean Lee
125bd2cd9e
ui/network: move to selfdrive/ui/qt/network/ ( #29656 )
...
* move to ui/qt/network
* wifimanager->wifi_manager
2 years ago
Dean Lee
3a46a853cb
ui/driverview: use common SubMaster ( #29660 )
2 years ago
Dean Lee
b6b255c103
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>
2 years ago
Shane Smiskol
74a0a8f7b7
Revert "ui/network: don't refresh on connect ( #29651 )" ( #29653 )
...
This reverts commit 6ea564b33e
.
Revert "ui/network: refresh IP address on connect"
This reverts commit 46c32613fc
.
2 years ago
Shane Smiskol
46c32613fc
ui/network: refresh IP address on connect
2 years ago
Shane Smiskol
6ea564b33e
ui/network: don't refresh on connect ( #29651 )
...
* don't refresh when showing connected status
* fix
* fix
* can remove that nowe
2 years ago
Dean Lee
9fe3df5d75
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 e06145202d
.
Revert "out here"
This reverts commit 8ca7b47a28
.
Revert "remove connecting when forgetting"
This reverts commit 671db0b5e7
.
Revert "should always use function to set connecting_to_network"
This reverts commit a220b518fa
.
* makes sense to keep this the same
* not in between slots
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Dean Lee
547f69f5f3
ui/networking: fix icon label alignment issue ( #29650 )
...
fix align issue
2 years ago
Shane Smiskol
6bb97c416f
wifiManager: empty path helper ( #29648 )
...
empty helper
2 years ago
Dean Lee
99279b8eef
ui: use `enum PrimeType` for prime_type ( #29491 )
2 years ago
Dean Lee
5480d32bb5
cpplint: add filter `whitespace/parens` ( #29565 )
2 years ago
Dean Lee
2d99521e75
cpplint: `build/include_what_you_use` ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Dean Lee
363740a497
cpplint: add `readability/braces` filter ( #29554 )
2 years ago
Dean Lee
5765c1d978
ui/settings: Don't apply styles to more elements than needed. ( #29463 )
2 years ago
Adeeb Shihadeh
952d720b6e
add cpplint ( #26855 )
...
* setup cpplint
* only start that
* check line length
* check these
* rm exceptions
2 years ago
Dean Lee
b8b1e17a21
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>
2 years ago
Dean Lee
1887d9197a
ui/networking: pass network by value ( #29448 )
2 years ago
Dean Lee
f1568b960a
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>
2 years ago
Dean Lee
29f2389cce
ui/networking: bolding the connected network ( #29385 )
2 years ago
Dean Lee
01089cf4bf
UI: make wifi network sorting more stable ( #29376 )
...
* stable sort
* fix typo,rename to strengthLevel
2 years ago
Dean Lee
373171afd0
ui/networking: remove dynamic property and style sheet ( #29377 )
2 years ago
Dean Lee
fd8a9c8520
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>
2 years ago
Shane Smiskol
6fe480b232
Experimental mode toggle description: missing spaces ( #29167 )
...
* Update settings.cc
* more missing spaces
* scons
* vanish
* fix that
2 years ago
Harald Schäfer
9c3c7f0dda
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>
2 years ago
Dean Lee
bcfb9d6940
ui/settings: use existing params instance ( #29109 )
...
use exsting params
2 years ago
Dean Lee
4584e883dc
ui/networking: call isTetheringEnabled out of the loop ( #29028 )
2 years ago
Shane Smiskol
0bea1419e3
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>
2 years ago
Shane Smiskol
6bc28fc769
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)
2 years ago
Shane Smiskol
6e50706baa
ui: rename experimental mode toggle variable
2 years ago
Shane Smiskol
b5b431c12d
Revert "experimental mode: gate navigate on openpilot ( #28883 )" ( #29005 )
...
This reverts commit f973d605b2
.
2 years ago
Dean Lee
b4f7e76531
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>
2 years ago
Shane Smiskol
f973d605b2
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
2 years ago
Dean Lee
219590885f
ui: remove function `configFont`. use `struct InterFont ` ( #28773 )
2 years ago
Dean Lee
0bbe9bf46a
ui/wifiManager: remove obsolete methods without definition. ( #28802 )
2 years ago
Dean Lee
5493cb4289
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>
2 years ago
Dean Lee
76ce71c6d6
ui: scale training image to fit window ( #28454 )
2 years ago
Cameron Clough
bc5a899024
UI: improved nav destination entry ( #28476 )
2 years ago
Cameron Clough
8495510c29
networking: add forget btn pressed state ( #28618 )
2 years ago
Harald Schäfer
da3003ee41
Alpha long control no longer called experimental ( #28437 )
...
* Fix words
* vanish
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Jason Wen
f0eef38dc0
offroad ui: remove irrelevant comment ( #28485 )
2 years ago
Dean Lee
9295aca8ea
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
2 years ago
Harald Schäfer
d6cfbd0097
Driving personality setting: add description ( #28422 )
...
* Driving personality setting: add description
* Missing word
2 years ago
Dean Lee
7f41047178
ui: refactor ButtonParamControl ( #28425 )
...
* refactor ButtonParamControl
* add pressed style
* connect to buttonToggled
* typo
2 years ago
Harald Schäfer
205c900742
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
2 years ago
Shane Smiskol
aa4bbcefd3
ui: wrap missing updater text ( #28417 )
...
* wrap more
* wrap more
* and that
* update
2 years ago