Commit Graph

1467 Commits

Author SHA1 Message Date
Dean Lee
7cd3e178c1 cabana: add qrc resource file (#27386)
* add qrc resource file

* remove export
old-commit-hash: 8e3cb0fb2075cc0e21f0362dad467cd992291c3a
2023-02-19 15:14:13 -08:00
Harald Schäfer
0ac73f2a81 MPC path in UI (#27380)
* 10s lat

* Full length MPC

* redfine N

* Leave controls the same for now

* Updates

* use long plan in lat plan

* interp plan

* simplergit add selfdrive/controls/plannerd.py selfdrive/controls/

* expand to 10s

* revert this

* fix linter

* vizualize

* fix long test

* typo

* cleanup

* compiles

* unused

* unused

* bump cereal

* bump cereal

* use model if no uiplanm

* update replay

* update ref commit

* bump cereal to master
old-commit-hash: eb8bdc0026b49de2fc5107746baeadbd42f58550
2023-02-17 19:58:30 -08:00
Adeeb Shihadeh
261f4d7524 UI: fix old frame shown on startup (#27283)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1f85f84027015ee20fa4affff23e121f4388d93c
2023-02-09 20:44:29 -08:00
ZwX1616
8fd5f1b50d 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>
old-commit-hash: 955c1dff454babe200862f0011e639ec500938b3
2023-02-08 19:06:59 -08:00
Cameron Clough
4d4c0c45b9 setup: replace software selection widget with input dialog (#27236)
* setup: replace software selection widget with input dialog

* revert

3f7047651c
old-commit-hash: 1a0a6387409203e1a2611eb35882de7a931ca703
2023-02-07 11:37:25 -08:00
Cameron Clough
23cf988d3c setup: check installer is elf (#27241)
old-commit-hash: 074e74ad08e199f189d4d84f73b2a9df1061eb97
2023-02-07 11:37:03 -08:00
Cameron Clough
0276badcc0 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
old-commit-hash: 6fb5661abba34971e547941e0f6a6625bef3b75a
2023-02-06 20:02:30 -08:00
Cameron Clough
a830d85ad6 installer: do not translate git progress strings (#27238)
old-commit-hash: b462463fbfdc3f4336206bf12b2f07e35473ac3a
2023-02-06 17:09:13 -08:00
Cameron Clough
3f75cdb6e3 setup: fix button label on ethernet (#27235)
* setup: continue without wi-fi on ethernet

* switch around
old-commit-hash: 9a51275cd246bcbf53da764495a944af8a0b51bd
2023-02-06 15:43:25 -08:00
Cameron Clough
44e1bf9fbf settings: highlight nightly in branch switcher (#27227)
old-commit-hash: 68bcdaaff7f9050402d983f460f2c85866b4ca32
2023-02-06 10:40:45 -08:00
Cameron Clough
0529c87f72 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
old-commit-hash: 20fb2b9bb3f06187665928eda6e740db29b45e5b
2023-02-02 14:28:45 -08:00
Rewat S
2d11b27019 Multilang: add missing Thai translations (#27148)
* Multilang: add missing Thai translations

* Multilang: update Thai translations

* Multilang: add missing Thai translations
old-commit-hash: ef0e8a312768e710e060e846e34c14255ffce028
2023-02-01 14:17:06 -08:00
AlexandreSato
43b7242be1 Multilang: new pt-BR translations (#27021)
* improve pt-BR translations

* update pt-BR translation

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e507830a1c21490701d53093777bd2b5727202ca
2023-01-20 15:28:48 -08:00
Adeeb Shihadeh
6ab6b643a8 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>
old-commit-hash: e883976a32a4190123d891f51cc567dfd77e6c85
2023-01-20 14:11:43 -08:00
Adeeb Shihadeh
ee307600e9 skip lupdate on device
old-commit-hash: 75fd2e119946d2e5a850f924b5f33945435cad3f
2023-01-20 13:11:51 -08:00
AlexandreSato
758d8c78d7 Multilang: improve pt-BR translations (#26962)
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 2c5a952a1c84a799b2951867943c4748618721d2
2023-01-20 11:33:05 -08:00
Shane Smiskol
cf1dc17230 Multilang: add back some translations (#27019)
* add back translations

* 🤔

* actually shouldn't be a space
old-commit-hash: 986ec99f827f98e01290461e8e35ebb5b68dd0f3
2023-01-20 11:29:10 -08:00
Adeeb Shihadeh
4e3c449967 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>
old-commit-hash: da621245b2cc84dd972b0582bec077a008c8e871
2023-01-20 10:46:45 -08:00
Lee Jong Mun
92c2446be4 Multilang: kor translation update (#27013)
old-commit-hash: 40cc43c076df7d0998b61a0a473b8127637fd07f
2023-01-20 10:43:14 -08:00
Adeeb Shihadeh
69680e5a93 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
old-commit-hash: c408b7e30609ca64971a4278eab16643fbb123b3
2023-01-19 23:06:18 -08:00
Shane Smiskol
5587ce2220 cameraview: fix spaces in debug print
old-commit-hash: c1fcd63bba1797133309d94b360d98e147b69548
2023-01-19 18:42:34 -08:00
Dean Lee
fa47048e44 cabana: use bootstrap icons (#26981)
* use bootstrap icons

* typo

* build into asset_obj

* add to files_common
old-commit-hash: c21d9408a191ba8e3303f2459d1f7476fefd35ba
2023-01-18 13:19:23 -08:00
Adeeb Shihadeh
16dabbd686 fix typo AR0321 -> AR0231 (#26993)
old-commit-hash: ef42652368bb56a93e75f172062ac9f6aca29563
2023-01-17 19:52:06 -08:00
Harald Schäfer
63efb985cd 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
old-commit-hash: 4c33d94d3f088c6f1fc88a0f40f3a828968c1c52
2023-01-14 16:56:14 -08:00
Kurt Nistelberger
95f4709f7d match style
old-commit-hash: 2b611862becd0cafbe6949961da04dfa4d252b4e
2023-01-07 17:56:16 -08:00
Kurt Nistelberger
e142178284 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>
old-commit-hash: b6440304d59d13b918842f68ce9f3417e3e0ecbc
2023-01-07 17:53:14 -08:00
Shane Smiskol
4d1e15b85c ui: draw radarState leads (#26852)
use radarState
old-commit-hash: 304796bafe0c0608e40b20fc44923f9edf462240
2022-12-31 19:51:03 -08:00
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