Commit Graph

1144 Commits

Author SHA1 Message Date
Adeeb Shihadeh c9531b463a Revert "ui: single-threaded CameraView (#32291)"
This reverts commit dd6e2a400b.
2024-05-18 16:34:03 -07:00
Dean Lee dd6e2a400b ui: single-threaded CameraView (#32291)
single thread cameraview
2024-05-17 20:18:41 -07:00
Shotaro Watanabe 288a3fcd8b fix(ui): fix build error in onroad_home.cc without ENABLE_MAPS (#32441) 2024-05-16 11:10:22 -07:00
Adeeb Shihadeh d56f188854 Revert "ui/cameraview: merge EGL Image Clearing code into clearEGLImages() (#32292)"
This reverts commit 7e6dda546e.
2024-04-25 11:14:03 -07:00
Dean Lee 7e6dda546e ui/cameraview: merge EGL Image Clearing code into clearEGLImages() (#32292) 2024-04-25 11:05:45 -07:00
Dean Lee d7d378aeef ui/network: add error handing for dbus call (#32164) 2024-04-24 20:16:02 -07:00
Dean Lee 3bcb6f82af ui/network: add error handling for refreshFinished (#32167) 2024-04-24 20:15:37 -07:00
Dean Lee 06c4a541da ui/map: check valid before accessing PositionECEF (#31961)
check valid
2024-04-24 20:14:42 -07:00
Justin Newberry 3446de2b8e ui: fix non-updating text2 alerts (#32256)
fix joystick
2024-04-19 12:03:23 -07:00
ZwX1616 1d05704d27 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
2024-04-17 12:56:37 -07:00
Dean Lee 6de5e0d71a ui/network: simplify getActiveConnections (#32174) 2024-04-16 22:25:17 -07:00
Dean Lee 2bee28938a ui/map_eta: avoid divide by zero (#31962) 2024-04-16 22:23:54 -07:00
Alexandre Nobuharu Sato 7e20812924 ui: cleanup white space after string (#32217)
* cleanup white space after string

* update

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-04-16 12:51:23 -07:00
Dean Lee c1b059de1e ui/onroad: split into multiple files (#32059) 2024-04-15 09:33:28 -07:00
Dean Lee ba98786ee3 ui: fix pair button shows on paired device (#32109) 2024-04-14 18:00:01 -07:00
Dean Lee e9965c87d3 ui/network: initialize raw_adapter_state to NM_DEVICE_STATE_UNKNOWN (#32175) 2024-04-14 17:52:59 -07:00
Dean Lee 40b061cd51 ui/network: update known connections after adding tethering connection. (#32166)
update known connections
2024-04-14 17:52:20 -07:00
Dean Lee eb0b1ce975 ui/setup: Initially disable continue button (#32180) 2024-04-12 10:32:23 -07:00
Dean Lee 1c491513b6 ui/setup: use the mode "wb" instead of "w". (#32181) 2024-04-12 10:32:11 -07:00
Dean Lee e66ded444c ui/network: fix typos (#32163) 2024-04-11 10:43:20 -07:00
YassineYousfi 754dd45ffa 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
2024-04-09 10:40:38 -07:00
Dean Lee bd7b72e861 ui/initApp(): remove temporary QApplication object (#32011)
remove temporary QApplication object
2024-03-27 15:35:28 -07:00
Dean Lee fad9edf344 ui: move struct Alert into OnroadAlerts (#32024)
* move Alert into OnroadAlerts

* multi-lang
2024-03-27 15:34:38 -07:00
Dean Lee 14de326e95 ui/settings: uppercase “Pair" (#31991)
uppercase Pair
2024-03-24 10:48:23 -07:00
James a2a372d314 Cleanup settings imports (#31979) 2024-03-22 14:09:23 -07:00
Dean Lee 9315d0e7a5 ui/map_eta: round remaining km/mi to one decimal place (#31968)
round distance
2024-03-21 20:10:29 -07:00
Dean Lee 77bbeb442e ui/cameraview: fix accessing uninitialized variable (#31951) 2024-03-21 11:40:01 -07:00
Dean Lee 0201c786e8 ui: pairing device in settings (#31947) 2024-03-21 11:02:26 -07:00
Dean Lee e28edf874b ui/sidebar: do not send the userFlag while offroad (#31952) 2024-03-21 10:58:05 -07:00
Dean Lee 35b31df7f7 util/timeAgo: add missing translation (#31944)
* add missing translation

* update languages
2024-03-20 21:34:09 -07:00
Shane Smiskol 3d63c7093a 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>
2024-03-13 01:05:02 -07:00
Adeeb Shihadeh c155749b29 Reapply "ui: brighten cameraview (#29744)" (#31846)
This reverts commit 023792c431.
2024-03-12 14:27:12 -07:00
Mauricio Alvarez Leon 1b6178a77d 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
2024-03-10 10:11:41 -07:00
Shane Smiskol d651bc802b ButtonParamControl: use buttonClicked (#31817) 2024-03-10 00:12:18 -08:00
Justin Newberry be2b48183f updated -> move to selfdrive/updated/updated (#31696)
* move updated

* for release
2024-03-04 14:33:52 -08:00
Adeeb Shihadeh 6cf7599bcd setup: add openpilot button (#31628)
* setup: add openpilot button

* rename
2024-02-28 15:54:21 -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
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
ugtthis 14e83ac9cc UI/sidebar_layout: Removed redundant piece of margin code (#31106) 2024-01-26 13:16:54 -08:00
Adeeb Shihadeh 80ea4db7bb update factory reset 2024-01-25 13:34:09 -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
ugtthis a6695e4489 UI/close_btn: Removed unused border code (#31073) 2024-01-19 10:38:11 -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
ugtthis db3ef3e1d8 UI/MapETA: Increased contrast of widget texts for better readability (#30952) 2024-01-09 20:32:23 -08:00
Adeeb Shihadeh 073fc89ad4 Revert "UI: single-threaded CameraView (#30397)"
This reverts commit 17ac1d3c7b.
2024-01-07 14:54:39 -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 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