Commit Graph

216 Commits

Author SHA1 Message Date
Shane Smiskol
6fe480b232 Experimental mode toggle description: missing spaces (#29167)
* Update settings.cc

* more missing spaces

* scons

* vanish

* fix that
2023-07-27 14:00:41 -07:00
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>
2023-07-25 10:31:25 -07:00
Dean Lee
bcfb9d6940 ui/settings: use existing params instance (#29109)
use exsting params
2023-07-23 17:45:19 -07:00
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>
2023-07-17 21:33:06 -07:00
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)
2023-07-17 21:18:18 -07:00
Shane Smiskol
6e50706baa ui: rename experimental mode toggle variable 2023-07-17 20:38:38 -07:00
Shane Smiskol
b5b431c12d Revert "experimental mode: gate navigate on openpilot (#28883)" (#29005)
This reverts commit f973d605b2.
2023-07-17 19:56:38 -07:00
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
2023-07-14 05:26:59 -07:00
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>
2023-06-30 13:45:58 -07:00
Cameron Clough
bc5a899024 UI: improved nav destination entry (#28476) 2023-06-22 19:57:29 +01:00
Harald Schäfer
da3003ee41 Alpha long control no longer called experimental (#28437)
* Fix words

* vanish

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-06-14 21:51:55 -07:00
Jason Wen
f0eef38dc0 offroad ui: remove irrelevant comment (#28485) 2023-06-10 13:01:16 -07:00
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 ef315ac2770191f1309f774185266e0cd9fe54b0.

* gray checked button on disable
2023-06-08 16:03:18 -07:00
Harald Schäfer
d6cfbd0097 Driving personality setting: add description (#28422)
* Driving personality setting: add description

* Missing word
2023-06-06 11:07:31 -07:00
Dean Lee
7f41047178 ui: refactor ButtonParamControl (#28425)
* refactor ButtonParamControl

* add pressed style

* connect to buttonToggled

* typo
2023-06-06 01:18:17 -07:00
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
2023-06-05 22:17:41 -07:00
Harald Schäfer
e0c95f7ad9 Toggles: Reorganize in descending importance for driving (#28364)
Reorganize toggles in descending importance for driving
2023-06-01 21:39:30 -07:00
Dean Lee
781a6fcc5f ui/settings: fixed button overlap in sidebar. (#28220)
fix button overlap
2023-05-17 20:16:39 -07:00
Harald Schäfer
598343aad1 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>
2023-05-15 09:29:57 -07:00
royjr
c2d13e5292 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>
2023-03-30 14:27:05 -07:00
Jason Wen
8e3ed8f10b torqued: reset LiveTorqueParameters on calibration reset (#27737)
* torqued: reset LiveTorqueParameters on calibration reset

* gotta have this
2023-03-29 14:30:27 -07:00
Vivek Aithal
46069738d6 Revert "torqued: reset LiveTorqueParameters on calibration reset" (#27736)
Revert "torqued: reset LiveTorqueParameters on calibration reset (#27732)"

This reverts commit 18253982db.
2023-03-29 14:01:22 -07:00
Jason Wen
18253982db torqued: reset LiveTorqueParameters on calibration reset (#27732) 2023-03-29 13:56:45 -07:00
Adeeb Shihadeh
c408b7e306 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
2023-01-19 23:06:18 -08:00
Shane Smiskol
d8bc69c788 Multilang: add missing translations (#26519)
* add back missing japanese translations that haven't been changed

* other languages

* fix
2022-11-15 23:52:47 -08:00
Shane Smiskol
1899d439f4 Multilang: refactor experimental description (#26518)
* refactor e2e description

* forgot to update
2022-11-15 23:11:53 -08:00
Shane Smiskol
58b84fb401 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
2022-11-15 22:18:26 -08:00
Shane Smiskol
b3f75b0c5b ui: function for setting toggle confirmation settings (#26516)
function for setting confirmation settings
2022-11-15 20:46:42 -08:00
Adeeb Shihadeh
c6e3d566e9 update experimental mode disabled description 2022-11-15 19:24:12 -08:00
Adeeb Shihadeh
f3efc8998c taco time 2022-11-15 18:49:52 -08:00
Shane Smiskol
2ad9a4f95a offroad ui: support storing confirmation of a toggle (#26510)
* show confirmation toggle on first toggle of experimental mode

* don't store confirmation if users toggle off *after* this PR

* refactor

* cleaner

* not true

* try here
2022-11-15 16:44:03 -08:00
Shane Smiskol
4efb01ece2 Toggle titles: proper capitalization (#26438)
* proper caps

* update translations

update translations

update translations

* Update selfdrive/ui/translations/main_pt-BR.ts
2022-11-09 20:33:01 -08:00
Shane Smiskol
af84f1b350 experimental long toggle: adjust description (#26437)
* Spell out AEB

* vanish
2022-11-09 19:42:34 -08:00
Shane Smiskol
5a3c5e7a4b Multilang: clean up translation string (#26435)
* update translations

* do pt

* do pt

* do ko

* do ko

* Update selfdrive/ui/translations/main_pt-BR.ts
2022-11-09 19:33:42 -08:00
Adeeb Shihadeh
1fda075c73 UI: add set speed clarification for e2e long 2022-11-09 18:42:51 -08:00
Adeeb Shihadeh
9a3f468051 experimental mode (#26416)
* experimental mode

* rename param

* red lights
2022-11-08 14:45:01 -08:00
Cameron Clough
e78280da12 ui: set dialog confirm button text (#26365)
* ui: set dialog confirm button text

* short

* blue confirm
2022-11-04 17:27:58 -07:00
Cameron Clough
91a1f1a91e ui: toggle confirmation and dialog redesign (#26331)
* toggle confirmation

* change text

* not for e2e

* get current description

* remove are you sure

* merge rich text and confirmation dialogs

* add some line breaks

* font colour

* fix padding a little

* revert

* updated toggle design
2022-11-04 15:37:41 -07:00
Shane Smiskol
64c2d4b30f Wrap new UI strings 2022-09-15 19:37:12 -07:00
Adeeb Shihadeh
c4e63d14ab good updater experience (#25724)
* good updater experience

* set params on startup

* no fetch on first loop

* little type hinting

* little more

* update translations

* always set params with valid overlay

* wrap check

* use the param

* more wrapping

* vanish

* cleanup

* remove that
2022-09-15 15:12:36 -07:00
Dean Lee
27e1ec8fd3 ui: multilang date (#25741)
* multilang date

* update translations

* add language to uistate

* update translations

* use it here too

Co-authored-by: sshane <shane@smiskol.com>
2022-09-13 03:02:13 -07:00
Adeeb Shihadeh
3ef37fe2e8 split out experimental long toggle (#25698)
* split out experimental long toggle

* clean up

* update translations
2022-09-07 20:38:04 -07:00
Adeeb Shihadeh
655a64b603 single longitudinal toggle for e2e and disable radar (#25688)
* single longitudinal toggle for e2e and disable radar

* write disable radar param

* rename

* better param name

* clean that up

* update refs

* update translations

* not live for experimental

* write it out

* vanish
2022-09-07 17:12:49 -07:00
HaraldSchafer
01a73b14d8 Toggles must be alphabetical (#25654)
toggles must be alphabetical
2022-09-04 12:04:28 -07:00
HaraldSchafer
faff2b8950 Add e2e long toggle (#25638)
* Add toggle

* Misc fixes

* Update translations

* pre alpha not great
2022-09-02 00:24:53 -07:00
Achilles308
370f58b7d6 UI: fix inconsistent capitalization in toggle title (#25441) 2022-08-15 13:49:43 -07:00
ZwX1616
22408781f7 Remove RHD toggle: determine by driver side instead (#24802)
* driverview

* auto choose

* useless

* remove

* modeld not use toggle

* remove from params

* should have commissue anyway

* delete icon file

* deal with init more elegantly and prohibit switching when engaged

* nonblock save when not unstable

* filter very low speeds

* a few more secs dont harm

* draw icon

* match

* radius

* use const

* ref commit

* new transs

* put_bool_nonblocking

* 5k route tune

* ref comm

Co-authored-by: Comma Device <device@comma.ai>
2022-07-29 13:52:24 -07:00
Adeeb Shihadeh
50f7545ed7 UI: add description for branch switcher 2022-07-19 10:46:03 -07:00
Adeeb Shihadeh
cc3857eb62 updated: add branch switching (#25200)
* switch param

* add to ui

* fix that

* fetch for new branch

Co-authored-by: Comma Device <device@comma.ai>
2022-07-18 21:18:10 -07:00
Greg Hogan
93cd0285ac nav: toggle to show on left side of onroad ui (#25169)
* nav: show on left side of onroad ui

* add toggle

* capitalization

* update translations

* single params object

* skip unfinished translations test

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-07-18 13:57:21 +02:00