Commit Graph

1782 Commits

Author SHA1 Message Date
Korben 158445c2d8 Update French language (#30992)
Update main_fr.ts

validation of new elements
old-commit-hash: 2f744f5df464c1980da218e1dac9141ee56fa7df
2024-01-13 13:03:23 -08:00
Lee Jong Mun deffb8de48 kor translation update (#30990)
old-commit-hash: f55d04c17212cb90ccb82ae1b96105e2e3971a48
2024-01-12 20:44:03 -08:00
Alexandre Nobuharu Sato 4b903c3c88 Multilang: Update pt-BR translation (#30987)
* add instructions to my fork

* Revert "add instructions to my fork"

This reverts commit 46fbee3ebe7ecbb211d855e63b2d4c8919c31b63.

* test llm

* Revert "test llm"

This reverts commit fc531f0a1ba81b3444a34a1be8d02a51a060ec7a.

* update pt-BR translation
old-commit-hash: 4178f7c1e16d9b97fb0f1859310bc8a1581def68
2024-01-12 18:25:41 -08:00
royjr 244396e23c networking: add hidden network option (#30808)
* init

* once

* match

* fix

* maybe

* maybe

* Revert "maybe"

This reverts commit 8386a0a381d5cfe94d7bbf0187d5e311d4b4e9c3.

* Revert "maybe"

This reverts commit 3abf7b19836e5f353fbb94c9bee52b185bd3fc17.

* Revert "fix"

This reverts commit 09e0146f4deeac07b9c26e916a75b70c7dcff1f1.

* Revert "match"

This reverts commit 39a90c6cf88f310623d5e9058152d025ee7213ea.

* fix not at bottom

* padding

* match

* Update networking.cc

* min chars

* translations

* shouldn't need

* need!

* just in case

* Revert "just in case"

This reverts commit a3c1e090682e30400ba9c20b04407b9e5677ad7a.

* finish translations

* not secret

* optional

* allow open networks

* fix

* try

* working

* add divider

* update translations

* fix

* better name

* translate hidden network

* auto

* v2

* remove v1

* fix

* fix translations
old-commit-hash: 96c91c486e9b39c11632691fe5761975d9aa53b6
2024-01-11 19:42:20 -08:00
Shane Smiskol f9db24d9d4 pre-commit: speed up translation step (#30966)
* formatting

fix

* fix missing class attr warning

* add translation_files option, remove pluralonly, type hint

* updates

* update
old-commit-hash: bef6d7f0bb1f985fa959627d674210c46870d914
2024-01-11 00:39:15 -08:00
ugtthis 312e786542 UI/MapETA: Increased contrast of widget texts for better readability (#30952)
old-commit-hash: db3ef3e1d87859c20251be641304dd6be6febce2
2024-01-09 20:32:23 -08:00
Shane Smiskol fc23ab6c8d Fix string indentation (#30943)
* fix bad spacing

* more

* these aren't important
old-commit-hash: d689a4e6537b6b48e0ad9948ac919065317258c1
2024-01-08 15:36:43 -08:00
Adeeb Shihadeh 7243b9b68e Revert "UI: single-threaded CameraView (#30397)"
This reverts commit 69dcd240fcf3bac7a6bddb1647219b710d255554.

old-commit-hash: 073fc89ad49461c01ea474125a89a505543d093d
2024-01-07 14:54:39 -08:00
Shane Smiskol b53b4c67b5 Auto translate: fix prompt & formatting (#30922)
fixes
old-commit-hash: 084871ed5bea42326bff40c35d6c02a55b3fdb13
2024-01-05 23:44:54 -08:00
Meir fc941b87a3 Auto translate with OpenAI (#30899)
* auto translate with OpenAI

* change model

* fix mypy typing errors

* update

* fix lint errors

* check api key after args parser

* fix input args

* use languages.json

* just print

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2378f311d2955ed0983fc0b7f2b93b938a3256fa
2024-01-05 22:28:56 -08:00
Dean Lee 2f8e66dbb8 UI: single-threaded CameraView (#30397)
* single-threaded CameraView

* updateFrame

* inherit from CameraWidget

* clear frame on offroadTransition

* check frame_id

* optional

* unique_ptr

* CameraView

* cleanup

* cleanup

* log skipping frame

* fix driverview

* disconnectVipc

* debug inconsistent frame

* skip frame if uiPlan is outdate

* cleanup

* set connected = false

* support camerad reboot&seeking in replay

* cleanup

* qDebug

* use deque

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 17ac1d3c7b3b481826d51eb82aaf9dbcc3f3bd81
2024-01-03 13:14:29 -08:00
royjr f82d7f453f multilang: parameterize unit tests (#30842)
* init

* fix indents

* remove import

* safer

* TemporaryDirectory

* much cleaner

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9d7f618bc5352e3c4a179925b5fd9f024a286fd3
2024-01-01 14:54:16 -08:00
royjr b2112b81af multilang: bad language translation check (#30783)
* compare bad against list

* use web

* Update test_translations.py

* uncomment

* override

* wrap

* AssertionError

* better

* detent

* selfish

* check numerusforms

* already checked

* use name

* not again

* combined

* sets

* assume available

* fix assume

* check regardless of other tests

* assert not print

* raise for status

* better

* done

* useless

* happy ruff

* better set

* quiet

* clean

* obvious

* clearer

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* IGNORED_WORDS

* assert match

* direct assert

* show bad word

* fix numerous empty string checks

* fix IGNORED_WORDS

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fd88990006d8d5d07f4cc79af64ae51999d1159c
2023-12-31 10:58:15 -08:00
royjr 1761c1837d setup: Enhance URL Handling to Support Partial Inputs (#30681)
* easy urls

* better
old-commit-hash: 4df85062c52fbbbdc4e461e317b6cb01a6d76ec1
2023-12-26 19:08:57 -08:00
Dean Lee 6ae3e95542 camerad: cleanup includes (#30782)
* cleanup includes

* continue

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ab0b26d2b8dc8b3957812856917084af2cb3df0a
2023-12-17 22:42:52 -08:00
Andrei Radulescu 2c7427c203 wifiManager: fix for lteConnectionPath not set on boot (#30517)
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: b75cdd15422d8716390ff981102fdbd290770b75
2023-12-17 11:07:48 -08:00
Adeeb Shihadeh 70a03a0f2d ui: show wifi password by default (#30766)
* ui: show wifi password by default

* update immediately
old-commit-hash: 2d466e70cdd6b4cf8ff5b939f401c2483a15f743
2023-12-16 22:36:26 -08:00
Dean Lee cd7430d1ce ui: remove unused roadCameraState from submaster (#30757)
old-commit-hash: f9ee7bff006c792738f34e2923ace009e7f34709
2023-12-15 19:32:25 -08:00
Adeeb Shihadeh c3567151f0 bump up installer size (#30722)
old-commit-hash: 2b12a499f7b923758d8b85705b680b04156f27c0
2023-12-13 21:18:20 -08:00
Dean Lee 5ada7c007b ui: destroy egl_images in main thread (#30253)
* call eglDestroyImageKHR in ui thread

* assert
old-commit-hash: dbda641cee9c8b5218518ffd6589599c8f641faf
2023-12-13 20:18:45 -08:00
Dean Lee 62525a60ee ui/onroad: avoid drawing invalid lanes and leads (#29666)
old-commit-hash: 33987d4cc9a6de80d6f9b3a4bae7a159d182620a
2023-12-13 14:51:09 -08:00
Justin Newberry b914f0a27f soundd/micd: retry getting stream (#30701)
retry soundd/micd
old-commit-hash: 4f3a186a6faa9f95b0764069a79f86693973bfb2
2023-12-12 15:58:24 -08:00
Justin Newberry 6601d7d8b5 soundd/micd: increase stream buffer size (#30685)
* increase buffer

* update cpu refs

* go to 100ms

* correct spot
old-commit-hash: b0831fb117dde77334b6355975011611afc5d76f
2023-12-11 17:25:37 -08:00
Dean Lee 916921be5b ui/driverview: inherit from CameraWidget (#29769)
* refactor DriverViewWidow to inherit from CameraWidget

* emit done on visible

* merge master

* cleanup

* lock_guard

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 48cf7eb6d9700d8cdab52c1a28c7e05dc4527574
2023-12-10 12:12:27 -08:00
Adeeb Shihadeh 2526dcf30c remove Qt wrapper scripts (#30454)
* remove Qt wrapper scripts

* revert those
old-commit-hash: 3831bf19e47ed1ee09b2f4eb0341f8e879194880
2023-12-10 11:45:35 -08:00
Shane Smiskol f5d1c4f371 ruff: check newline (#30668)
* check newline

* nothing catches this
old-commit-hash: 97da129e11e58b07d5d136093827cd1c62311fea
2023-12-09 13:24:18 -08:00
Justin Newberry 2d50661b94 soundd/micd: more robust setup procedure (#30640)
* just use the default device :/

* Ruff

* this seems like the most reliable way

* Ruff

* move comments too

* wait for devices

* fix that

* and that

* ruff

* add logging for avaliable devices

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bc70c94f75f64c31998b9796f20ec6e310cae347
2023-12-08 17:59:31 -08:00
Dean Lee 2a948de1f6 ui/ParamControl: do not create ConfirmationDialog on every click (#30496)
old-commit-hash: 011b1a6e6a1db1047b2c72bc7e9e273a358ab18d
2023-12-08 13:48:31 -08:00
Adeeb Shihadeh 59eb2988de swaglog.py goes in common/ (#30631)
* swaglog.py goes in common/

* all of these go in release

* we'll even include the pyx
old-commit-hash: 35f819c8239b8ac3a000087a0f791b91ccea5e5e
2023-12-06 17:27:51 -08:00
Justin Newberry db3fbdae18 Soundd: only update ambient db when not playing an alert (#30620)
* move to soundd + only when quiet

* not filtered
old-commit-hash: 5600a8288909e0b6ca95becbdb5746a0a9e35af4
2023-12-06 14:59:16 -08:00
Adeeb Shihadeh df18770f81 agnos 9 (#30543)
* agnos 9

* new build

* update

* Soundd: use alsa (#30617)

* update release notes

* agnos does this now

* prod manifest

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 3b89c5fe29b3a63f34e9782ef71ac868d89c99d5
2023-12-05 21:17:49 -08:00
Justin Newberry 817161f3ac Soundd: move to python (#30567)
soundd python
old-commit-hash: abe39e50766c418818bf72d2567db78978dbd466
2023-12-05 18:10:01 -08:00
Adeeb Shihadeh f3dec8658c Revert "Simplify passive mode handling (#30593)"
old-commit-hash: 99d51bf02c5a13f3064b012da55634f8a319091e
2023-12-04 15:05:05 -08:00
Adeeb Shihadeh 4be789d40a Simplify passive mode handling (#30593)
* simplify passive handling

* makes more sense
old-commit-hash: 5ccff25d885365e4247665fdf8380c6b67c36b28
2023-12-03 13:59:59 -08:00
Justin Newberry c784119c64 cleanup cameraview shader (#30520)
cleanup shader

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4b0d0b0f1eba784d1216dae33da5123f087d976c
2023-11-24 20:17:51 -08:00
Dean Lee 54346eccee modeld: remove modeldata.h (#30423)
* remove modeldata.h

* remove TRAJECTORY_SIZE
old-commit-hash: 335237aea0a854b41960c32b2f54b6c5af63b707
2023-11-18 22:45:26 -08:00
Dean Lee fe554ceee3 ui/controls.cc: fix QLabel leak (#30382)
fix QLabel leak
old-commit-hash: 17cab9bb508c74471d0ec66c4a3358122afe52aa
2023-11-18 22:14:05 -08:00
Adeeb Shihadeh cdb9993290 ui: add purple prime def
old-commit-hash: 0f0acc190bab0f402d1d85a4ab730ad4a27bd68c
2023-11-15 17:04:07 -08:00
Adeeb Shihadeh 8b0d04faa9 remove mui
old-commit-hash: b3c7a0c8712907b877a53b571dcfce8f5cf8ace8
2023-11-14 15:43:57 -08:00
Dean Lee 98b70f957f ui/wifi.cc: fix small QPixmap leak (#30395)
fix QPixmap leaks
old-commit-hash: 0f6b16d1e08b05826d2ce93295e510842eef4b53
2023-11-07 15:22:43 -08:00
Shane Smiskol 24906c79b4 Revert "ui/wifi.cc: fix QPixmap leaks" (#30394)
Revert "ui/wifi.cc: fix QPixmap leaks (#30377)"

This reverts commit 656ea6efd472e1b7b48fff910dfca6dd8a99a756.
old-commit-hash: d2c3c92fb4c9007ab37d0d8242b646f391732283
2023-11-06 13:55:23 -08:00
Dean Lee 6945af4ea3 ui/wifi.cc: fix QPixmap leaks (#30377)
fix QPixmap leaks
old-commit-hash: b4e1ad5e62ea81f0c8b662bdef6fa826a49150e1
2023-11-06 13:31:00 -08:00
Adeeb Shihadeh 634d21504b bigger map tile cache (#30228)
* bigger map tile cache

* start with 2x default

* Update selfdrive/ui/qt/maps/map_helpers.cc
old-commit-hash: 08054e98009ca90b1b058a63eebccd8dedf57d48
2023-11-06 09:18:42 -08:00
Dean Lee b97f27e339 ui/body.cc: fix QMovie leak (#30379)
fix QMovie leak
old-commit-hash: fb3c0934d85d6a056643b2792852884b43fbdd3c
2023-11-04 07:07:45 -07:00
Jason Wen 389fd34859 ui: Always display Wi-Fi list when navigating to Network panel (#30333)
* ui: Display Wi-Fi list when navigate to Network panel

* pertain to PR description
old-commit-hash: 0eea00e887e9e480ea976ccc2eeed1671b2a494d
2023-10-29 07:06:34 -10:00
Adeeb Shihadeh c3aa58b492 cleanup up old lib64 references (#30246)
* cleanup sensord

* rm rest

* fix that

* update that
old-commit-hash: f0aa63181804259c5cea20b9d608bdbe9db6b340
2023-10-14 20:39:15 -07:00
Dean Lee 3196e129ca ui: make default_face_kpts_3d constexpr (#30239)
old-commit-hash: 383964cd5baba29ac46d596677e1d59689a2194f
2023-10-14 09:14:20 -07:00
DevTekVE fa673c0cdf FIX mac m1 compilation - Add sstream library to onroad.cc (#30205)
Add sstream library to onroad.cc

Needed to solve a bug when compiling on mac m1.

Co-authored-by: Miguel Fernandez <miguel.fernandez@cimpress.com>
old-commit-hash: 9ce273765c4d89a54fdbd6407abf1cb38e4fb27f
2023-10-07 15:55:12 -07:00
Adeeb Shihadeh dd9b72292e UI: remove drive stats (#30183)
* UI: remove drive stats

* little more

* vanish
old-commit-hash: f80db10720099d34fd19e3aa0be36d05647ea897
2023-10-05 14:53:49 -07:00
Adeeb Shihadeh a9153a39cc Update Python packages and pre-commit hooks (#30149)
* Update Python packages and pre-commit hooks

* fixes

* Update common/transformations/README.md

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

* fix

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 377722fd5ed13349acf99c71954f56e6ccd17c3c
2023-10-03 15:31:26 -07:00