Commit Graph

1440 Commits

Author SHA1 Message Date
Shane Smiskol 4a4703fdcb Fix spacing in MultiOptionDialog (#26817)
Update input.cc
old-commit-hash: 66bdd8b1228eb725006cc4c2d389fe2cef7e674a
2022-12-17 00:50:37 -08:00
Shane Smiskol c6e6482603 Remove stretch from MultiOptionDialog
old-commit-hash: 6dc1fa255970a5976a6acc1f1b9424258ee3fcf3
2022-12-15 22:31:34 -08:00
Shane Smiskol 6a183d2bb3 soundd: increase upper bound for volume level (#26811)
Raise soundd upper limit
old-commit-hash: 0fd8e6f491264500a22d80c106ad1f6d78e99dc9
2022-12-15 15:34:44 -08:00
Adeeb Shihadeh b6a495e992 nav: add README (#26802)
* start docs

* Update README.md
old-commit-hash: 8d95faf97a0717be33ec12f9039efd22fad36857
2022-12-14 17:17:25 -08:00
Shane Smiskol 0026b3b4e6 soundd: increase upper bound for volume level (#26792)
Update sound.cc
old-commit-hash: 0c1fbe22b4d83ee5873c992d02b9bc46fd16ae7b
2022-12-14 02:19:09 -08:00
Jason Young 38565b63a9 Multilang: add German (#26411)
* initialize de_DE file

* German translation (#83)

Formatting will be an issue!

* update de_DE qm file

* Update main_de.ts

Fixed the German translations

* regen translations

* Fix typo (#84)

* regen translations

* Update selfdrive/ui/translations/main_de.ts

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@hotmail.com>

* we don't keep these in-tree anymore?

* Update main_de.ts

Neue Strings ergänzt

* update plurals

* remove vanished, add new strings

* don't translate a brand/service name

* capitalize some things, cleanup

* capitalize

* more cleanup, mark too-long strings

* proper (no) capitalization, line wrap

* Update selfdrive/ui/translations/main_de.ts

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* update translation strings

* Updating the German translation (#89)

Added new strings and shortened others to fit the UI

* compromises for better button fit

Co-authored-by: Vrabetz <mpell@web.de>
Co-authored-by: CzokNorris <czoknorris@me.com>
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@hotmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d9fb64f0a15164e323c34f8c59a6950859719167
2022-12-12 15:02:15 -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
Adeeb Shihadeh f0ec4dd682 UI: add flag for showing map render (#26740)
old-commit-hash: 54529aa7f8b663d38e3b2bedc84f80487238a86b
2022-12-09 13:08:15 -08:00
Dean Lee 1b9b62f934 CameraView: remove double semicolon (#26728)
remove double semicolon
old-commit-hash: 1c5c0e723cd3adc32c1cf398228d79601d2f25a2
2022-12-08 11:06:38 -08:00
Cameron Clough 1ca9fa7fce soundd: tune volume to reach max at slightly higher noise level
old-commit-hash: d64a5020b20cf32f2a9ce3a3ba2dd8547751ebc5
2022-12-07 22:15:58 -08:00
AlexandreSato 6bc328535c Update comment on sound.cc volume based(speed ->noise) (#26719)
Update sound.cc
old-commit-hash: fa0bf404c879e41bc212e46df30f522b434ced44
2022-12-07 09:57:30 -08:00
Lee Jong Mun a5f952c69b remove unused space (#26680)
old-commit-hash: 92296ce55d7e910c809658ad8f7eeaab6ded875c
2022-12-02 18:53:50 -08:00
Shane Smiskol 4548cf9592 soundd: lower max volume breakpoint (#26673)
* revert tune

* remove hanning window

* retune from hanning window

* add hanning back

* update once reached 4096

* Revert "update once reached 4096"

This reverts commit 0898cbeec736916ffaee5e963df048b48636ece5.
old-commit-hash: de061eacbe772b1a9be73d4a3864fad6e05037ac
2022-12-02 02:23:51 -08:00
Shane Smiskol 4dfeb1ddeb micd: apply A-weighting to the sound pressure level (#26668)
* record

* record

* draft

* some clean up

* some clean up

* wishful tuning

* log pressure level (db) for debugging

* fix

* tuning

* ignore complex to real warning

* remove this

* Update selfdrive/ui/soundd/sound.cc

* Update system/micd.py

* remove warning supp

* bump cereal to master

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: d087fab2c0af6baf104591dade313311aeed1e4b
2022-12-02 00:11:29 -08:00
Cameron Clough 9bcf83f493 micd: scale sound volume with ambient noise level (#26399)
* test changing sound volume

* test changing sound volume

* create system/hardware/pc/hardware.h

* implement Hardware::set_volume using pactl

* soundd: use Hardware::set_volume

* add sounddevice dependency

* sounddevice example

* simple micd

* cleanup

* remove this

* fix process config

* add to release files

* hardware: get sound input device

* no more offroad

* debug

* calculate volume from all measurements since last update

* use microphone noise level to update sound volume

* fix scale

* mute microphone during alerts

* log raw noise level

* hardware: reduce tici min volume

* improve scale

* add package

* clear measurements on muted

* change default to min volume and respond quicker

* fixes

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* logarithmic scaling

* fix

* respond quicker

* fixes

* tweak scaling

* specify default device

* Revert "hardware: get sound input device"

This reverts commit 50f594f7a3bab005023482bc793147a8c8dae5d7.

* tuning

* forgot to update submaster

* tuning

* don't mute microphone, and clip measurement

* remove submaster

* fixes

* tuning

* implement Hardware::set_volume using pactl

* Revert "test changing sound volume"

This reverts commit 4bbd870746ec86d1c9871a6175def96cf7f751a6.

* draft

* draft

* calculate sound pressure level in dB

* fix setting

* faster filter

* start at initial value

* don't run command in background

* pactl: use default sink

* use sound pressure db

* tuning

* bump up max volume threshold

* update filter slower

* fix divide by zero

* bump cereal

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 108ff15f5dc16f79a36a2d33397b36dba42d70cf
2022-11-30 21:56:03 -08:00
Cameron Clough 303b5532ad soundd: change system sound mixer volume (#26633)
* test changing sound volume

* create system/hardware/pc/hardware.h

* soundd: use Hardware::set_volume

* implement Hardware::set_volume using pactl

* Revert "test changing sound volume"

This reverts commit 4bbd870746ec86d1c9871a6175def96cf7f751a6.

* don't run command in background

* pactl: use default sink
old-commit-hash: 02b5b6fe1f9f919f0cafea3efc6be2403a3f7139
2022-11-30 15:36:25 -08:00
ambientocclusion dcf61d2203 Multilang: add missing Japanese translations (#26556)
* Add missing Japanese translations

* Update some words
old-commit-hash: 5b8f0db3e5dea3b7fcc90250ee7aefb8fa00555b
2022-11-21 15:23:02 -08:00
protonchang e9b92c7cb5 Update CHT translations (#26537)
* Add missing translations
* Fix some CHS -> CHT wording
old-commit-hash: 96c9b8c50e0413ba92e7729e1820884d88598989
2022-11-21 10:48:30 -08:00
AlexandreSato 23ca1049fe Multilang: Update pt-BR translations (#26549)
* update pt-BR translations

* fix some cutoff texts

* update pt-BR translation
old-commit-hash: 0b79ba8acb99f6c1dc3957a985229e3d5a15892b
2022-11-19 14:20:41 -08:00
Willem Melching 6dd30b3bca add missing <QPainterPath> include (#26520)
old-commit-hash: 8f9f015567a9f2dad66d31c25c514c436d1ba862
2022-11-16 09:25:36 -08:00
Lee Jong Mun 8b1e10a580 Multilang: kor translation update (#26522)
old-commit-hash: e79a384a9bdc0f7421e2a914abf88a302a7e32a2
2022-11-16 09:13:41 -08:00
Oxygen 87b94afb3b Updated main_zh-CHS.ts (#26524)
old-commit-hash: fe2368c9eb14ee49eb59af6d892becdb4d449443
2022-11-16 03:11:45 -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
Shane Smiskol 097f501e0d ui: handle two dynamic toggle icon cases (#26517)
handles two cases
old-commit-hash: 797c626984080e1ff17206b99e67a11bba87992f
2022-11-15 21:07:11 -08:00
Shane Smiskol cd33325949 ui: toggle control supports active icons (#26514)
* support active icons

* function

* fix crash if not setting icon but active icon

* revert

* clean up
old-commit-hash: 62024176c6e0386401374873e73512ab76f4204a
2022-11-15 20:52:31 -08:00
Shane Smiskol f53cdd6857 ui: function for setting toggle confirmation settings (#26516)
function for setting confirmation settings
old-commit-hash: b3f75b0c5b151cbcb048a31bb33c8f49b2a818b1
2022-11-15 20:46:42 -08:00
Adeeb Shihadeh 8c19a25c99 update experimental mode disabled description
old-commit-hash: c6e3d566e9b23b2046f933f3dd9e189708230a56
2022-11-15 19:24:12 -08:00
Dean Lee 4756106694 UI: fix CameraView crash on deleting. (#26390)
* fix crash on delete

* TODO?

* after makeCurrent
old-commit-hash: 97a205c94df412d40db1a94bbc4bb735b5afea27
2022-11-15 19:07:50 -08:00
Adeeb Shihadeh 15b07085ff taco time
old-commit-hash: f3efc8998cee2750e65a99f96a6e9c787c17a19f
2022-11-15 18:49:52 -08:00
Adeeb Shihadeh aec5f32f3c publish experimental mode state (#26512)
* publish experimental mode state

* remove that
old-commit-hash: 9c96b21367af3dda9b193a821fe2e175a63f4176
2022-11-15 17:18:13 -08:00
Shane Smiskol 74aa9e5b80 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
old-commit-hash: 2ad9a4f95a82bf922c86b373026c0e96f9971a80
2022-11-15 16:44:03 -08:00
Oxygen 3a4188580b Update missing items in main_zh-CHS.ts (#26492)
Update missing iterms in main_zh-CHS.ts

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d7f943e27524744f20b008a55ad3358fc9272034
2022-11-15 00:23:37 -08:00
ambientocclusion da6b3ff15d Multilang: add missing Japanese translations (#26482)
Add new Japanese translations
old-commit-hash: ffa32df062fe3cf241e887e7afbc582118bd1e36
2022-11-15 00:04:20 -08:00
Shane Smiskol 0953a5d2ab ui: stretch abstract control title (#26499)
stretch toggle title so it's easier to expand
old-commit-hash: 7fcafa402239c30d8344c46608ade6a8fd4831f4
2022-11-14 23:28:43 -08:00
eFini 2dc299e937 Multilang: add missing Chinese (Traditional) translations (#26433)
* update cht translation

* fix ellipsis -> spaces

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 765761d7d0e813a3397728dcbe81a23a30051288
2022-11-10 19:02:58 -08:00
Lee Jong Mun b1b9b98efa Multilang: kor translation update (#26445)
* Multilang: kor translation update

* fix
old-commit-hash: df145ae99f80d53667533f848b661768b7d5c269
2022-11-10 16:56:28 -08:00
AlexandreSato ed43e73c33 Multilang: Update pt-BR translations (#26444)
* update pt-BR translations

* fix some cutoff texts

* Delete main_pt-BR.ts

* Add files via upload

* Delete main_pt-BR.ts

* Add files via upload
old-commit-hash: 2961f8a7d8b891dd95912e0d21f54cf1f4afb696
2022-11-10 12:27:25 -08:00
Shane Smiskol 8c981ed847 Toggle titles: proper capitalization (#26438)
* proper caps

* update translations

update translations

update translations

* Update selfdrive/ui/translations/main_pt-BR.ts
old-commit-hash: 4efb01ece2a9ef54152682c1dc3756d3e4161241
2022-11-09 20:33:01 -08:00
Shane Smiskol a7eaaa16bb ui: static color non-e2e path (#26406)
* remove orientation color changing

* "just green"
old-commit-hash: 0941e40177eb0eb7a49bb08628e5aad2deb19c7f
2022-11-09 20:31:38 -08:00
Shane Smiskol 848dc2da49 experimental long toggle: adjust description (#26437)
* Spell out AEB

* vanish
old-commit-hash: af84f1b3506082d644c2f52f88390fabcc9f7835
2022-11-09 19:42:34 -08:00
Shane Smiskol b2e82d028a ParamControl dialog: more explicit confirmation text (#26431)
* Use enable

* vanish

* fill in missing translation

* Update selfdrive/ui/translations/main_pt-BR.ts
old-commit-hash: a3cd50c5bbb924eaf40ab18d76f603edfc2f5a2a
2022-11-09 19:38:17 -08:00
Shane Smiskol 7c6601fed1 Multilang: clean up translation string (#26435)
* update translations

* do pt

* do pt

* do ko

* do ko

* Update selfdrive/ui/translations/main_pt-BR.ts
old-commit-hash: 5a3c5e7a4b78853d6b350f551432a1bb6050eba9
2022-11-09 19:33:42 -08:00
Adeeb Shihadeh 18203a1cee UI: add set speed clarification for e2e long
old-commit-hash: 1fda075c7306976099bcfbb6b0a6303e819036b4
2022-11-09 18:42:51 -08:00
Shane Smiskol 2f978cd1a3 Multilang: mark some translations finished (#26430)
* mark finished translations

* fix

* cleanup

* revert
old-commit-hash: 6c03e093c6d1d9d45dc342cce2374656b80ecaa9
2022-11-09 17:31:58 -08:00
Shane Smiskol 215c16d661 Multilang badges: assert width exists in xml
old-commit-hash: bbc14656d937cadacbcb87ed88cb8800eb6b62fa
2022-11-09 17:30:33 -08:00
Shane Smiskol 9913ba51a9 multilang badges: no need to handle plurals
old-commit-hash: d8327bd9bed9833eb3d58a51097215c2de803d1b
2022-11-09 16:58:02 -08:00
Shane Smiskol c5f5a951dc translation badges: add number of unfinished translations (#26429)
* some clean up and add missing translations

* unfinished

* set proper width

* make this variable common
old-commit-hash: f540002e3fb6bcb15323add59d87269e7da6d00f
2022-11-09 16:49:17 -08:00
Lee Jong Mun 90418d1f97 Multilang: Korean translation update (#26424)
fix
old-commit-hash: 26d66ac671a6b15be4611face27844bae90b185f
2022-11-09 16:15:44 -08:00