Commit Graph

1150 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 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
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
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
Dean Lee 4bade99d62 ui: single-threaded CameraView (#32291)
single thread cameraview
old-commit-hash: dd6e2a400b1b9543fad0c3c4a78463abf756da6b
2024-05-17 20:18:41 -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
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
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
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
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
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
Dean Lee 227854d932 ui/settings: uppercase “Pair" (#31991)
uppercase Pair
old-commit-hash: 14de326e95d7cc201c6864cef97fbbf76e176c04
2024-03-24 10:48:23 -07:00
James 8b584d0e88 Cleanup settings imports (#31979)
old-commit-hash: a2a372d3147d14f7cb688458c659331a52951cae
2024-03-22 14:09:23 -07:00
Dean Lee f70c38c2df ui/map_eta: round remaining km/mi to one decimal place (#31968)
round distance
old-commit-hash: 9315d0e7a5698a7fbcbdd23ce96450c7629f88fc
2024-03-21 20:10:29 -07:00
Dean Lee 77d7ef177c ui/cameraview: fix accessing uninitialized variable (#31951)
old-commit-hash: 77bbeb442ebeb66bcb00289df66084ee0475196e
2024-03-21 11:40:01 -07:00
Dean Lee 12084ea5ae ui: pairing device in settings (#31947)
old-commit-hash: 0201c786e85c22aea6e79d873a367b274016648e
2024-03-21 11:02:26 -07:00
Dean Lee 6e7c68fb74 ui/sidebar: do not send the userFlag while offroad (#31952)
old-commit-hash: e28edf874b4caa68a47326a98018a0e21fe22f58
2024-03-21 10:58:05 -07:00
Dean Lee 85586750c3 util/timeAgo: add missing translation (#31944)
* add missing translation

* update languages
old-commit-hash: 35b31df7f716d4d5de045d6dd5305572c20d01f9
2024-03-20 21:34:09 -07:00
Shane Smiskol ebfc450fac longitudinal personality: change via steering wheel distance button (#31792)
* start at param

* start by sending personality

* change to personality

* POC: button changes personality

* what's wrong with this?

* fix

* not really possible but fuzzy test catches this

* there's always a typo

* dang, we're dropping messages

* clean up

* no comment

* bump

* rename

* not all cars yet

* works but at what cost

* clean up

* inside settings

* write param so we save the distance button changes

* setChecked activates buttonToggled and already writes param!

* don't need this, we update from longitudinalPlan on changes

* some clean up

* more

* ui

* allow some time for ui to receive and write param

* plannerd: only track changes in case no ui

* Revert "plannerd: only track changes in case no ui"

This reverts commit 2b081aa6ceb92c67a621b74592b2292756d29871.

* write in plannerd as well, I assume this is atomic?

* don't write when setting checked (only user clicks)

* better nane

* more

* Update selfdrive/controls/lib/longitudinal_planner.py

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

* doesn't write param now

* ParamWatcher is nice

* no debug

* Update translations

* fix

* odd drain sock proc replay behavior

* vanish

* Revert "odd drain sock proc replay behavior"

This reverts commit 29b70b39413e1852bb512155af6b6a94a5bd9454.

* add GM

* only if OP long

* move personality to controlsState, since eventually it won't be exclusive to long planner

more

bump

* diff without translations

* fix

* put nonblocking

* CS should start at up to date personality always (no ui flicker)

* update toggle on cereal message change

* fix

* fix that

* ubmp

* mypy doesn't know this is an int :(

* update translations

* fix the tests

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 3d63c7093afec7ba24f447a44f02f7bea1f7282b
2024-03-13 01:05:02 -07:00
Adeeb Shihadeh dd371305a0 Reapply "ui: brighten cameraview (#29744)" (#31846)
This reverts commit e7f7189d2dc339f76d92762c1b9b2fa720ed87e4.
old-commit-hash: c155749b29cacdd86d2fad90506dc2e276f99e04
2024-03-12 14:27:12 -07:00
Mauricio Alvarez Leon 790c336218 Add autoconnect support for hidden WiFi networks (#31789)
* add autoconnect to WifiManager::connect

* set wifi/hidden to true

* typo

* add condition to only set connection[wireless][hidden] to true when connecting to a hidden network

* default false value for is_hidden
old-commit-hash: 1b6178a77d723fc4b96c5010f0d37164f98ecd27
2024-03-10 10:11:41 -07:00
Shane Smiskol 2c33c76170 ButtonParamControl: use buttonClicked (#31817)
old-commit-hash: d651bc802b540089acb4c3b9d5d984fb8b554487
2024-03-10 00:12:18 -08:00
Justin Newberry 2cdb550d12 updated -> move to selfdrive/updated/updated (#31696)
* move updated

* for release
old-commit-hash: be2b48183f81c09f7bc5d1e77d880ce40abacb20
2024-03-04 14:33:52 -08:00
Adeeb Shihadeh 62bbd08492 setup: add openpilot button (#31628)
* setup: add openpilot button

* rename
old-commit-hash: 6cf7599bcd1a0218bb359f72c3d17e15c53bae93
2024-02-28 15:54:21 -08:00
Adeeb Shihadeh 97b823efe6 Make ui independent of launch path (#31517)
* Make ui independent of launch path

* comment
old-commit-hash: 5d4dc1dc2ffa5c4066dc33b818e4a2f0497b7043
2024-02-19 22:34:24 -08:00
James e0c1cb2f61 Re-use existing params declaration in onboarding (#31363)
Re-use existing params declarations in onboarding
old-commit-hash: d265f5a6ab5fba13289ce6decea5d7c07be4d27e
2024-02-07 17:44:57 -08:00
James 0a57f061ec Fix whitespace (#31361)
old-commit-hash: 75b72c2c4b520d414b4de960441b9c5b61dbb0cc
2024-02-07 17:27:16 -08:00
Hoang Bui 4c05358aad 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>
old-commit-hash: 08037594e27292ca755a211628f4141469347f82
2024-02-01 13:37:22 -08:00
ugtthis eeaef9b353 UI/sidebar_layout: Removed redundant piece of margin code (#31106)
old-commit-hash: 14e83ac9cc0f08126bca4553e403dcfa6fc3bb1e
2024-01-26 13:16:54 -08:00
Adeeb Shihadeh 533206be2f update factory reset
old-commit-hash: 80ea4db7bb19c7758aae6dda1997b5bf5b27dc9b
2024-01-25 13:34:09 -08:00
Adeeb Shihadeh 972650f0eb remove dashcam branch (#31081)
* remove dashcam branch

* fix

* more cleanup

* remove param

* one more
old-commit-hash: 7cd9568423a2e78187d16018b70a78f56c02027d
2024-01-19 14:05:03 -08:00