Commit Graph

1874 Commits

Author SHA1 Message Date
Shane Smiskol 272216b2a8 remove uiPlan (#32721)
* remove uiPlan from ui

* remove publishing

* Update log.capnp

* Update services.py

* no uiPlan here

* Update ref_commit
old-commit-hash: 684209e077d77da0c3a12e8fda528649c5fe9edc
2024-06-11 21:31:10 -07:00
Harald Schäfer 7e4edcc8d5 MSGQ refactor: cleanup outstanding issues (#32685)
* Rm sim dockerfile from bad merge

* Add watch back

* Fix watch3 compilation
old-commit-hash: 1b2bd205b81bb473bbe176b58250fe038963d1f6
2024-06-10 13:18:47 -07:00
Harald Schäfer 05ed3d8c15 Restructure msgq (#32652)
* Update ref

* Compiles

* compiles

* Refactor rest of libs

* import all

* small fiex

* cleanup import

* Need msgq simlink too

* Add to openpilot docker too

* try repo

* Updates

* Fix lint

* fix docs

* Try blank slate

* Revert "Try blank slate"

This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.

* Maybe scons needs this to clear cache

* fix tests

* Disable test for now

* Update SConstruct

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

* Fix whitespace

* Write skip normal

* small fixes

* add test path

* Revert repo

* linting

* whitespace

* Bump msgq

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e70dc90a452e7c045d9a207f3680d846406ef789
2024-06-09 17:44:34 -07:00
Harald Schäfer f870a968e9 Split cereal into cereal/msgq (#32631)
* squash

* fix doc

* compile device

* compile device

* Update ref

* add msgq to precommit exclusions

* No service ports

* fix compile

* address comments

* More comments

* Delete logger

* Update opendbc

* Linting

* bump msgq
old-commit-hash: e71ec4e8d7e39a56235f590227e7cb361cd8b79d
2024-06-06 14:31:56 -07:00
Dean Lee 2be5c0e970 ui/cameraview: fix deadlock on exit due to Qt::BlockingQueuedConnection (#32620)
fix deadlock
old-commit-hash: 25e15846f1a16407d674f83e1a1125f579181a67
2024-06-04 10:25:46 -07:00
Adeeb Shihadeh 86b6103657 test_*.py files are no longer executable (#32610)
* test_*.py files are no longer executable

* cleanup empty lines

* update precommit

* fixme

* enable

* build
old-commit-hash: c59887c8109dd8d33ea2e7169995184fbe38cc3a
2024-06-03 15:48:56 -07:00
Dean Lee c2b13f27b9 api: cache RSA private key (#32566)
old-commit-hash: 9908b729c8af1c608ddd9f2b3d0b1b50a58f39de
2024-05-31 21:40:53 -07:00
Shane Smiskol 2a6e025183 ui: re-generate JWT on valid system time (#32571)
* revert me

* Revert "revert me"

This reverts commit 17d815ddfc9a18f7fb9f39f89ec8b4481389b339.

* duh we have timed!

* clean up

* use clocks

* re-initialize map on SSL handshake failure (time)

* this is fine, takes some time to init

* fix

* log errors like map renderer

* more clean up

full message is "loading style failed: SSL handshake failed"

* MOAR

* we still can't swap the token live

* mbgl has its own retries that never work, don't reinit multiple times at once

* simpler

* more

* whoops

* this works

* fix from merge

* rm

* fix cmt

* only an issue calling the function inside itself
old-commit-hash: 57d64279bdd0a8935586d7f58b68edaf793a73ed
2024-05-30 02:08:31 -07:00
Shane Smiskol 3a1c7c61c6 map window: log style load errors (#32573)
log errors
old-commit-hash: c2f55a2600d6981c1f84360f7c64bbb7a893d25c
2024-05-30 01:52:43 -07:00
Adeeb Shihadeh 4356b74cca updated: finish system/ move (#32535)
* updated: finish system/ move

* add those back

* skip that

* skip whole file

* one more time
old-commit-hash: 73b02f2cda858d4ad08bc7fa4116d0d11ff79a02
2024-05-25 12:22:02 -07:00
Dean Lee 6400f9644a ui/update_dmonitoring: Improve readability of r_xyz matrix initialization (#32359)
old-commit-hash: d2340854967197836d6cc8f27d55039c1f205243
2024-05-21 17:27:25 -07:00
Dean Lee 124b0180c3 ui: improve update_line_data() (#32354)
improve update_line_data
old-commit-hash: 0678644a8f1c5292d7904ecde6e55aeb90550b52
2024-05-20 19:38:24 -07:00
Adeeb Shihadeh 72b6504595 Revert "ui: single-threaded CameraView (#32291)"
This reverts commit 6adb53abf4d483e70bbe36725588a05cf75681fb.

old-commit-hash: c9531b463a6cb4a2a56792046fd69f9041006d81
2024-05-18 16:34:03 -07:00
cl0cks4fe 6d3a8c09e0 remove unittest dependency from test_ui (#32432)
old-commit-hash: 173d96644436c9c4e36b3adbc38acf03811dc4a5
2024-05-17 20:54:08 -07:00
Dean Lee 4bade99d62 ui: single-threaded CameraView (#32291)
single thread cameraview
old-commit-hash: dd6e2a400b1b9543fad0c3c4a78463abf756da6b
2024-05-17 20:18:41 -07:00
cl0cks4fe 639a634f7c Unittest to pytest (#32366)
* add pytest-asyncio

* switch common

* switch selfdrive

* switch system

* switch tools

* small fixes

* fix setUp and valgrind pytest

* switch to setup

* fix random

* switch mock

* switch test_lateral_limits

* revert test_ui

* fix poetry.lock

* add unittest to banned-api

* add inline ignores to remaining unittest imports

* revert test_models

* revert check_can_parser_performance

* one more skip

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dd9d5d4528ff0a61c7699abc1b63ba8fd282632f
2024-05-17 11:01:44 -07:00
eFini 1fc584aaa8 Mutilang: update CHS/CHT translation (#32455)
update translations for chinese
old-commit-hash: 1a60b63b7d9be96b890c7e59a77fd10504ab15ab
2024-05-17 09:17:22 -07:00
Shotaro Watanabe 3913887f7d fix(ui): fix build error in onroad_home.cc without ENABLE_MAPS (#32441)
old-commit-hash: 288a3fcd8b2f5b8e62af7b29a58bfddebb82f69a
2024-05-16 11:10:22 -07:00
Kirito3481 cdd1f2b109 Fix incorrect korean translation (#32436)
old-commit-hash: 6605743b48fedf934ecf998ea10855978e979ab4
2024-05-15 10:29:38 -07:00
Adeeb Shihadeh f641d7e851 ui: fix brightness when there's no camera (#32413)
old-commit-hash: 79c8fb0236a1468cf1f7396a8a120ccd4fb10f40
2024-05-13 13:27:05 -07:00
Adeeb Shihadeh 35215df6c0 remove Offroad_InvalidTime alert
old-commit-hash: 1fc3d9224e820e150dc382de1adcfd49fa972b42
2024-05-07 15:58:29 -07:00
Adeeb Shihadeh 32ea4667c2 Revert "ui/cameraview: merge EGL Image Clearing code into clearEGLImages() (#32292)"
This reverts commit 44486989b061fbbe31aff217ec82e7ce7b604950.

old-commit-hash: d56f188854135ff4d1cf2cb6bf184a8301a82edd
2024-04-25 11:14:03 -07:00
Dean Lee d83b2f447d ui/cameraview: merge EGL Image Clearing code into clearEGLImages() (#32292)
old-commit-hash: 7e6dda546ee58d4cf05352f9ff9fab97b3e9464f
2024-04-25 11:05:45 -07:00
Dean Lee e93860f844 ui/network: add error handing for dbus call (#32164)
old-commit-hash: d7d378aeefb10b9194e14534b075615216b117af
2024-04-24 20:16:02 -07:00
Dean Lee e4d0f6da24 ui/network: add error handling for refreshFinished (#32167)
old-commit-hash: 3bcb6f82afa47405d70a3cfd6bfe7eab2fceb1b4
2024-04-24 20:15:37 -07:00
Dean Lee fd28ec25c6 ui/map: check valid before accessing PositionECEF (#31961)
check valid
old-commit-hash: 06c4a541da5ec703074024e75ab11713f3da39fd
2024-04-24 20:14:42 -07:00
Justin Newberry b9f6cb0120 ui: fix non-updating text2 alerts (#32256)
fix joystick
old-commit-hash: 3446de2b8e48ca9107746b23b9166332417d0733
2024-04-19 12:03:23 -07:00
Alexandre Nobuharu Sato e1a5a311d4 Multilang: update pt-BR translations (#32248)
update pt-BR translations
old-commit-hash: 09f978d2b6cbe461d29560bcfd1069af22e17c4d
2024-04-18 10:24:49 -07:00
ZwX1616 c741dca04c Toggle to always enable DM (#32205)
* permanent

* param

* correct behavior

* toggle

* need trans

* ref_commit

* translate for chs/t

* disable on P and R

* read
old-commit-hash: 1d05704d27dbe4f73c0eba7e8dad2ae84d4e205e
2024-04-17 12:56:37 -07:00
Dean Lee 2fa5b234b7 ui/network: simplify getActiveConnections (#32174)
old-commit-hash: 6de5e0d71a60d307513b3eb3cfdadcb8f8ae145c
2024-04-16 22:25:17 -07:00
Dean Lee c7cc331df5 ui/map_eta: avoid divide by zero (#31962)
old-commit-hash: 2bee28938ac2f50ec0d0e9f74f9f276a98c62f0d
2024-04-16 22:23:54 -07:00
Alexandre Nobuharu Sato b34117b45d ui: cleanup white space after string (#32217)
* cleanup white space after string

* update

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 7e20812924d77dfd3d6e3602eac0b08e9138f4a3
2024-04-16 12:51:23 -07:00
Alexandre Nobuharu Sato 5316f925d0 Multilang: update pt-BR translation (#32216)
remove navFeatures description from experimental toggle
old-commit-hash: 7e494eb06f5a36a4fc0b39d637d624605de8a1dc
2024-04-16 10:35:02 -07:00
Dean Lee b6c6c978a6 ui/onroad: split into multiple files (#32059)
old-commit-hash: c1b059de1ef8f52d050f1902ef54d0dc5f2e1283
2024-04-15 09:33:28 -07:00
Dean Lee 9fcc783447 ui: fix pair button shows on paired device (#32109)
old-commit-hash: ba98786ee317750034881710f0b4b5a7a5a60474
2024-04-14 18:00:01 -07:00
Dean Lee 31f5956c49 ui/network: initialize raw_adapter_state to NM_DEVICE_STATE_UNKNOWN (#32175)
old-commit-hash: e9965c87d31af7dc5ea3b2fc28574eaf523b574e
2024-04-14 17:52:59 -07:00
Dean Lee 164ae65250 ui/network: update known connections after adding tethering connection. (#32166)
update known connections
old-commit-hash: 40b061cd51078c3ca3a0f58ccfce6a9078fb08ef
2024-04-14 17:52:20 -07:00
Iamz 5e49355cde Update Thai translations (#32184)
old-commit-hash: 7dd5dbcf7cc9890cbdb97253b249c7416a2a018d
2024-04-12 10:34:24 -07:00
Dean Lee ef428ccefc ui/setup: Initially disable continue button (#32180)
old-commit-hash: eb0b1ce97599290680f8b6b817e3b262da2f2afc
2024-04-12 10:32:23 -07:00
Dean Lee be58bf6209 ui/setup: use the mode "wb" instead of "w". (#32181)
old-commit-hash: 1c491513b6a2dafd470a90186e7bb327ada503aa
2024-04-12 10:32:11 -07:00
Dean Lee 841e39042c ui/network: fix typos (#32163)
old-commit-hash: e66ded444c643a9e0c875751a601f00a2d85b50a
2024-04-11 10:43:20 -07:00
YassineYousfi 75a69e12b3 disable navigate on openpilot (#32106)
* 2eedcd90-b7db-46cb-86be-740f48ded7ab/700

* noop ciao

* here too

* mapsd too

* update translations

* disable mapsd test from test onroad

* disable mapRenderState test from timings

* lint

* fix exp mode toggle panel

* update tr

* french done

* dont build mapd

* only no nav

* just comment

* deprecate nav fields

* rm not comment

* dont deprecate too much

* remove from services

* merge cereal
old-commit-hash: 754dd45ffa82bf3d7f2d3413c4132eb65551ebd5
2024-04-09 10:40:38 -07:00
Alexandre Nobuharu Sato 479b2a7fbf Mutilang: update pt-BR translation (#32090)
* update pt-BR translation

* not today Satan
old-commit-hash: 346ab5ce303bb5e7158154e98a2816e190802c87
2024-04-02 16:09:04 -07:00
royjr 40a466f535 ui: update arabic translations (#32058)
Update main_ar.ts
old-commit-hash: fb1cb01c5ae95a7223f0df0ad9caf16bbb4dd017
2024-03-29 20:53:51 -07:00
Lee Jong Mun cdf71e99c6 Multilang: kor translation update (#32036)
old-commit-hash: fa77d57e7cd3393f5910013d0bc9c1c326647d44
2024-03-28 10:37:08 -07:00
Dean Lee 998e1565d9 ui/initApp(): remove temporary QApplication object (#32011)
remove temporary QApplication object
old-commit-hash: bd7b72e861bafb71d0ec15d4efa15abb2f696c25
2024-03-27 15:35:28 -07:00
Dean Lee 2afcc4a9a6 ui: move struct Alert into OnroadAlerts (#32024)
* move Alert into OnroadAlerts

* multi-lang
old-commit-hash: fad9edf344ad27775716a087580e78230ad5e6dd
2024-03-27 15:34:38 -07:00
royjr f2acd5ba35 ui: update arabic translations (#31994)
old-commit-hash: 61b38bd4ff78ce0e84ebb15b74242363c16ec255
2024-03-25 08:59:24 -07:00
Dean Lee 227854d932 ui/settings: uppercase “Pair" (#31991)
uppercase Pair
old-commit-hash: 14de326e95d7cc201c6864cef97fbbf76e176c04
2024-03-24 10:48:23 -07:00
Alexandre Nobuharu Sato e8b111f07c Multilang: update pt-BR translations (#31980)
update pt-BR translations
old-commit-hash: 10e3652f286d9a2caf82ee168d7e760221bd61fb
2024-03-22 14:36:32 -07:00