Commit Graph

1413 Commits

Author SHA1 Message Date
Adeeb Shihadeh
1f85f84027 UI: fix old frame shown on startup (#27283)
Co-authored-by: Comma Device <device@comma.ai>
2023-02-09 20:44:29 -08:00
ZwX1616
955c1dff45 ui: dmoji (#27070)
* will draw

* gradient

* bg

* add sense of depth

* refactor

* cleanup

* fix endpoint

* clean up

* use array

* 1 matmul

* lives in modeldata

* standstill only

* remove bad pts

* do less math

* smooth

* kind

* fix d

* lineswidth

* fade in and out

* hide

* quick

* gray out

* fix joints

* offset

* rest icon

* clean up

* circle as state

* longlat

* new design

* gap and g

* scaledown, fix jts and unlock not standstill

* width

* different

* intermediate

* sand

* motion effect

* vis

* fix bg

* clean up

* t

* btn_size

* small speedup

* sligh

* clean up

* facelift

* match .2

* .4 is good

* size

* no ss

* rhd compat

* less filt

* more line

* engaged

* not white

* drop prop

* this is fine

* independent falg

* sg

* dont look like hitman

* cleanup

* little more

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-02-08 19:06:59 -08:00
Cameron Clough
1a0a638740 setup: replace software selection widget with input dialog (#27236)
* setup: replace software selection widget with input dialog

* revert

3f7047651c
2023-02-07 11:37:25 -08:00
Cameron Clough
074e74ad08 setup: check installer is elf (#27241) 2023-02-07 11:37:03 -08:00
Cameron Clough
6fb5661abb setup: add serial to request headers (#27237)
* setup: add dongle ID to request headers

* rename openpilot

* fix str

* hardware: get_serial

* set serial instead

* fix typo

* static

* fixes
2023-02-06 20:02:30 -08:00
Cameron Clough
b462463fbf installer: do not translate git progress strings (#27238) 2023-02-06 17:09:13 -08:00
Cameron Clough
9a51275cd2 setup: fix button label on ethernet (#27235)
* setup: continue without wi-fi on ethernet

* switch around
2023-02-06 15:43:25 -08:00
Cameron Clough
68bcdaaff7 settings: highlight nightly in branch switcher (#27227) 2023-02-06 10:40:45 -08:00
Cameron Clough
20fb2b9bb3 ui: tap experimental mode icon to toggle (#27064)
* ui: tap experimental mode icon to toggle

After experimental mode has been enabled for the first time (confirmed),
it can be toggled by tapping the engage-ability/experimental mode icon
in the upper right.

Closes #27002

* replace with QPushButton

* fixes

* cleanup
2023-02-02 14:28:45 -08:00
Rewat S
ef0e8a3127 Multilang: add missing Thai translations (#27148)
* Multilang: add missing Thai translations

* Multilang: update Thai translations

* Multilang: add missing Thai translations
2023-02-01 14:17:06 -08:00
AlexandreSato
e507830a1c Multilang: new pt-BR translations (#27021)
* improve pt-BR translations

* update pt-BR translation

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-01-20 15:28:48 -08:00
Adeeb Shihadeh
e883976a32 set path for extra qt bins on device (#27022)
* set path for extra qt bins on device

* no print

Co-authored-by: Comma Device <device@comma.ai>
2023-01-20 14:11:43 -08:00
Adeeb Shihadeh
75fd2e1199 skip lupdate on device 2023-01-20 13:11:51 -08:00
AlexandreSato
2c5a952a1c Multilang: improve pt-BR translations (#26962)
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-01-20 11:33:05 -08:00
Shane Smiskol
986ec99f82 Multilang: add back some translations (#27019)
* add back translations

* 🤔

* actually shouldn't be a space
2023-01-20 11:29:10 -08:00
Adeeb Shihadeh
da621245b2 UI: update translations during scons build (#27009)
* UI: update translation during scons build

* all in scons

* debug

* precious

* debug

* add missing

* Update release/check-dirty.sh

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-01-20 10:46:45 -08:00
Lee Jong Mun
40cc43c076 Multilang: kor translation update (#27013) 2023-01-20 10:43:14 -08: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
c1fcd63bba cameraview: fix spaces in debug print 2023-01-19 18:42:34 -08:00
Dean Lee
c21d9408a1 cabana: use bootstrap icons (#26981)
* use bootstrap icons

* typo

* build into asset_obj

* add to files_common
2023-01-18 13:19:23 -08:00
Adeeb Shihadeh
ef42652368 fix typo AR0321 -> AR0231 (#26993) 2023-01-17 19:52:06 -08:00
Harald Schäfer
4c33d94d3f Revert locationd to gpsLocation (#26963)
* revert locationd laika change

* switch msg

* change proc replay

* back to gpslocation

* update ref

* no np floats in msg

* Ignore empty laikad messages in mapos

* more tolerance

* c++ doesnt work like that
2023-01-14 16:56:14 -08:00
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