Commit Graph

1391 Commits

Author SHA1 Message Date
Kurt Nistelberger
2b611862be match style 2023-01-07 17:56:16 -08:00
Kurt Nistelberger
b6440304d5 Navigation: add destination marker (#26873)
* add navigation destination marker

* fix removal

* update default marker icon

* update default marker

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-01-07 17:53:14 -08:00
Shane Smiskol
304796bafe ui: draw radarState leads (#26852)
use radarState
2022-12-31 19:51:03 -08:00
Shane Smiskol
66bdd8b122 Fix spacing in MultiOptionDialog (#26817)
Update input.cc
2022-12-17 00:50:37 -08:00
Shane Smiskol
6dc1fa2559 Remove stretch from MultiOptionDialog 2022-12-15 22:31:34 -08:00
Shane Smiskol
0fd8e6f491 soundd: increase upper bound for volume level (#26811)
Raise soundd upper limit
2022-12-15 15:34:44 -08:00
Adeeb Shihadeh
8d95faf97a nav: add README (#26802)
* start docs

* Update README.md
2022-12-14 17:17:25 -08:00
Shane Smiskol
0c1fbe22b4 soundd: increase upper bound for volume level (#26792)
Update sound.cc
2022-12-14 02:19:09 -08:00
Jason Young
d9fb64f0a1 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>
2022-12-12 15:02:15 -08:00
Dean Lee
b1009c7f7d ui: stop vipc thread before the DriverViewWindow is hidden (#26738) 2022-12-12 14:44:04 -08:00
Adeeb Shihadeh
54529aa7f8 UI: add flag for showing map render (#26740) 2022-12-09 13:08:15 -08:00
Dean Lee
1c5c0e723c CameraView: remove double semicolon (#26728)
remove double semicolon
2022-12-08 11:06:38 -08:00
Cameron Clough
d64a5020b2 soundd: tune volume to reach max at slightly higher noise level 2022-12-07 22:15:58 -08:00
AlexandreSato
fa0bf404c8 Update comment on sound.cc volume based(speed ->noise) (#26719)
Update sound.cc
2022-12-07 09:57:30 -08:00
Lee Jong Mun
92296ce55d remove unused space (#26680) 2022-12-02 18:53:50 -08:00
Shane Smiskol
de061eacbe 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.
2022-12-02 02:23:51 -08:00
Shane Smiskol
d087fab2c0 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>
2022-12-02 00:11:29 -08:00
Cameron Clough
108ff15f5d 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>
2022-11-30 21:56:03 -08:00
Cameron Clough
02b5b6fe1f 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
2022-11-30 15:36:25 -08:00
ambientocclusion
5b8f0db3e5 Multilang: add missing Japanese translations (#26556)
* Add missing Japanese translations

* Update some words
2022-11-21 15:23:02 -08:00
protonchang
96c9b8c50e Update CHT translations (#26537)
* Add missing translations
* Fix some CHS -> CHT wording
2022-11-21 10:48:30 -08:00
AlexandreSato
0b79ba8acb Multilang: Update pt-BR translations (#26549)
* update pt-BR translations

* fix some cutoff texts

* update pt-BR translation
2022-11-19 14:20:41 -08:00
Willem Melching
8f9f015567 add missing <QPainterPath> include (#26520) 2022-11-16 09:25:36 -08:00
Lee Jong Mun
e79a384a9b Multilang: kor translation update (#26522) 2022-11-16 09:13:41 -08:00
Oxygen
fe2368c9eb Updated main_zh-CHS.ts (#26524) 2022-11-16 03:11:45 -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
797c626984 ui: handle two dynamic toggle icon cases (#26517)
handles two cases
2022-11-15 21:07:11 -08:00
Shane Smiskol
62024176c6 ui: toggle control supports active icons (#26514)
* support active icons

* function

* fix crash if not setting icon but active icon

* revert

* clean up
2022-11-15 20:52:31 -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
Dean Lee
97a205c94d UI: fix CameraView crash on deleting. (#26390)
* fix crash on delete

* TODO?

* after makeCurrent
2022-11-15 19:07:50 -08:00
Adeeb Shihadeh
f3efc8998c taco time 2022-11-15 18:49:52 -08:00
Adeeb Shihadeh
9c96b21367 publish experimental mode state (#26512)
* publish experimental mode state

* remove that
2022-11-15 17:18:13 -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
Oxygen
d7f943e275 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>
2022-11-15 00:23:37 -08:00
ambientocclusion
ffa32df062 Multilang: add missing Japanese translations (#26482)
Add new Japanese translations
2022-11-15 00:04:20 -08:00
Shane Smiskol
7fcafa4022 ui: stretch abstract control title (#26499)
stretch toggle title so it's easier to expand
2022-11-14 23:28:43 -08:00
eFini
765761d7d0 Multilang: add missing Chinese (Traditional) translations (#26433)
* update cht translation

* fix ellipsis -> spaces

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

* fix
2022-11-10 16:56:28 -08:00
AlexandreSato
2961f8a7d8 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
2022-11-10 12:27:25 -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
0941e40177 ui: static color non-e2e path (#26406)
* remove orientation color changing

* "just green"
2022-11-09 20:31:38 -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
a3cd50c5bb ParamControl dialog: more explicit confirmation text (#26431)
* Use enable

* vanish

* fill in missing translation

* Update selfdrive/ui/translations/main_pt-BR.ts
2022-11-09 19:38:17 -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
Shane Smiskol
6c03e093c6 Multilang: mark some translations finished (#26430)
* mark finished translations

* fix

* cleanup

* revert
2022-11-09 17:31:58 -08:00
Shane Smiskol
bbc14656d9 Multilang badges: assert width exists in xml 2022-11-09 17:30:33 -08:00