Commit Graph

1758 Commits

Author SHA1 Message Date
Justin Newberry
be2b48183f updated -> move to selfdrive/updated/updated (#31696)
* move updated

* for release
2024-03-04 14:33:52 -08:00
Adeeb Shihadeh
9c3f0450bb simple pyqt ui 2024-02-29 21:46:35 -08:00
eFini
8e82bce17a CHS/CHT translation update (#31642)
update ZH translations
2024-02-29 02:47:32 -08:00
Alexandre Nobuharu Sato
3ae151635d Multilang: update pt-BR translations (#31634)
update pt-BR translations
2024-02-28 19:33:37 -08:00
Adeeb Shihadeh
6cf7599bcd setup: add openpilot button (#31628)
* setup: add openpilot button

* rename
2024-02-28 15:54:21 -08:00
Cameron Clough
80da3aee14 mypy: use implicit-optional (#31590)
* mypy: set implicit-optional = true

* find and replace '| None = None' -> '= None' in function args
2024-02-25 13:29:18 -08:00
Cameron Clough
995250ae49 use pyupgrade to update to new typing syntax (#31580)
* add pyupgrade hook

* run pyupgrade (pre-commit run -a)

* ruff --fix

* Revert "add pyupgrade hook"

This reverts commit 56ec18bb6b8602a0b612f3803d96cdad14b52066.

* revert changes to third_party/

* manual type fixes

* explicit Optional wrapping capnp objects
2024-02-24 16:41:23 -08:00
Adeeb Shihadeh
27c56722cc fix spinner asset paths (#31524) 2024-02-20 18:01:28 -08:00
Adeeb Shihadeh
5d4dc1dc2f Make ui independent of launch path (#31517)
* Make ui independent of launch path

* comment
2024-02-19 22:34:24 -08:00
Adeeb Shihadeh
daceb171bd bump cereal (#31392)
* bump cereal

* update those

* update refs

* bump cereal

* bump

* bump cereal

* bump

* fix

* bump

* typo:
2024-02-09 21:44:23 -08:00
Adeeb Shihadeh
714e02d0bd bring this back 2024-02-09 12:46:06 -08:00
James
d265f5a6ab Re-use existing params declaration in onboarding (#31363)
Re-use existing params declarations in onboarding
2024-02-07 17:44:57 -08:00
James
75b72c2c4b Fix whitespace (#31361) 2024-02-07 17:27:16 -08:00
Hoang Bui
08037594e2 map: Transfer to MapLibre (#31185)
* change codebase

* compile

* add mapboxprovider

* works with map_renderer in c

* remove maplibre temp

* maplibre works

* cleanup build.sh

* x86 stuff

* add lib

* update release files

* don't need that

* tici build

* tici build

* add tici lib

* update refs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-02-01 13:37:22 -08:00
Justin Newberry
086c509fde Create message mocking tools (#31249)
* add mocking tools

* fix map renderer

* use for power draw

* fix those

* whitespace

* rename to services

* fix the rate

* remove
2024-01-31 18:47:49 -08:00
ugtthis
14e83ac9cc UI/sidebar_layout: Removed redundant piece of margin code (#31106) 2024-01-26 13:16:54 -08:00
Justin Newberry
faf99ba711 CI: generate test_ui report (#31151)
* add test

* simpler

* simpler

* false

* move these here

* faster

* map takes logner to render
2024-01-25 16:49:38 -08:00
Alexandre Nobuharu Sato
f21ccfbf79 Multilang: Update pt-BR translations (#31167)
* add instructions to my fork

* add paypall.png to gitignore

* Revert "add instructions to my fork"

This reverts commit a6a6f93533add212e321e8472a78a8a69bf932f4.

* translate

* revert this

* why?

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-01-25 15:55:58 -08:00
Adeeb Shihadeh
4ecaa6da45 update translations 2024-01-25 13:44:26 -08:00
Adeeb Shihadeh
80ea4db7bb update factory reset 2024-01-25 13:34:09 -08:00
Justin Newberry
3676ae4da3 test_ui: add onroad state (#31148)
add onroad
2024-01-24 16:51:06 -08:00
Justin Newberry
e2ec5be6ee test_ui: create test ui screenshots and html report (#31147)
* test ui

* report + common

* in ci

* fix

* dont enable in ci yet
2024-01-24 13:54:31 -08:00
Adeeb Shihadeh
88757c12b3 Revert "Switch from json11 to nlohmann/json (#31093)"
This reverts commit ee036482b8.
2024-01-22 22:41:59 -08:00
mtribiere
ee036482b8 Switch from json11 to nlohmann/json (#31093)
* Initial commit

* fix release/file_common

* Update common/swaglog.cc

* Swtiched serialize cc

* move to lfs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-01-22 22:35:47 -08:00
Adeeb Shihadeh
7cd9568423 remove dashcam branch (#31081)
* remove dashcam branch

* fix

* more cleanup

* remove param

* one more
2024-01-19 14:05:03 -08:00
Andrei Radulescu
28028aef17 Support for newer versions of Qt (#31072)
* Dynamic QtGui version

* Fixed use of undeclared identifier 'va_start'

* Fix for Qt deprecations

* Fix for dynamic QtGui version

* Update selfdrive/ui/SConscript

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-01-19 13:28:29 -08:00
ugtthis
a6695e4489 UI/close_btn: Removed unused border code (#31073) 2024-01-19 10:38:11 -08:00
Korben
2f744f5df4 Update French language (#30992)
Update main_fr.ts

validation of new elements
2024-01-13 13:03:23 -08:00
Lee Jong Mun
f55d04c172 kor translation update (#30990) 2024-01-12 20:44:03 -08:00
Alexandre Nobuharu Sato
4178f7c1e1 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
2024-01-12 18:25:41 -08:00
royjr
96c91c486e 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
2024-01-11 19:42:20 -08:00
Shane Smiskol
bef6d7f0bb pre-commit: speed up translation step (#30966)
* formatting

fix

* fix missing class attr warning

* add translation_files option, remove pluralonly, type hint

* updates

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

* more

* these aren't important
2024-01-08 15:36:43 -08:00
Adeeb Shihadeh
073fc89ad4 Revert "UI: single-threaded CameraView (#30397)"
This reverts commit 17ac1d3c7b.
2024-01-07 14:54:39 -08:00
Shane Smiskol
084871ed5b Auto translate: fix prompt & formatting (#30922)
fixes
2024-01-05 23:44:54 -08:00
Meir
2378f311d2 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>
2024-01-05 22:28:56 -08:00
Dean Lee
17ac1d3c7b 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>
2024-01-03 13:14:29 -08:00
royjr
9d7f618bc5 multilang: parameterize unit tests (#30842)
* init

* fix indents

* remove import

* safer

* TemporaryDirectory

* much cleaner

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-01-01 14:54:16 -08:00
royjr
fd88990006 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>
2023-12-31 10:58:15 -08:00
royjr
4df85062c5 setup: Enhance URL Handling to Support Partial Inputs (#30681)
* easy urls

* better
2023-12-26 19:08:57 -08:00
Dean Lee
ab0b26d2b8 camerad: cleanup includes (#30782)
* cleanup includes

* continue

---------

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

* update immediately
2023-12-16 22:36:26 -08:00
Dean Lee
f9ee7bff00 ui: remove unused roadCameraState from submaster (#30757) 2023-12-15 19:32:25 -08:00
Adeeb Shihadeh
2b12a499f7 bump up installer size (#30722) 2023-12-13 21:18:20 -08:00
Dean Lee
dbda641cee ui: destroy egl_images in main thread (#30253)
* call eglDestroyImageKHR in ui thread

* assert
2023-12-13 20:18:45 -08:00
Dean Lee
33987d4cc9 ui/onroad: avoid drawing invalid lanes and leads (#29666) 2023-12-13 14:51:09 -08:00
Justin Newberry
4f3a186a6f soundd/micd: retry getting stream (#30701)
retry soundd/micd
2023-12-12 15:58:24 -08:00
Justin Newberry
b0831fb117 soundd/micd: increase stream buffer size (#30685)
* increase buffer

* update cpu refs

* go to 100ms

* correct spot
2023-12-11 17:25:37 -08:00