Commit Graph

673 Commits

Author SHA1 Message Date
Willem Melching baa0e47e50 nav: force request retry 2021-07-14 15:46:18 +02:00
sshane c10d46d336 ui: fix finish setup button (#21538) 2021-07-13 14:58:54 -07:00
Dean Lee f554dc0ae6 ui/update_line_data: fix assert when max_idx = TRAJECTORY_SIZE-1 (#21543) 2021-07-13 15:37:19 +02:00
Willem Melching a148bcb3ef nav: cleanup settings page (#21561) 2021-07-12 13:44:30 +02:00
Adeeb Shihadeh 7211a4f6cc sidebar: only show gps indicator while onroad 2021-07-12 01:34:30 -07:00
Adeeb Shihadeh 89c42041ec keyboard improvements (#21502)
* design

* period

* one more

* blue

* cleanup
2021-07-11 22:30:33 -07:00
Adeeb Shihadeh a2f9259ebf sidebar: indicator for GPS fix (#21556)
* sidebar: indicator for GPS fix

* fix cutoff
2021-07-11 15:26:28 -07:00
Adeeb Shihadeh 86c255e3e8 nav: restore zoom and position on double click (#21551) 2021-07-11 00:32:11 -07:00
Adeeb Shihadeh bec054116f nav: scroller for recents (#21549)
* nav: scroller for recents

* stretch

* one more stretch
2021-07-10 22:56:18 -07:00
sshane eb37e409ee networking: clean up refreshing (#21537) 2021-07-10 22:28:24 -07:00
Adeeb Shihadeh 0f6bb5ae62 UI: fix mismatch between checked button and panel when dragging 2021-07-10 17:19:09 -07:00
Adeeb Shihadeh 8b6cf406ab remove gps accuracy from sidebar 2021-07-10 14:40:11 -07:00
Dean Lee e836ed7f6e OffroadHome: separate the update and alert buttons (#21326)
* refactor

* better loop

* remove stretch

* only refreshed by timer

* fix wrong bg color

* descending sort alert labels  by severity

* remove duplicate stylesheet

* Update selfdrive/ui/qt/widgets/offroad_alerts.cc

* rebase master

* qt best pratice

* split offroadAlerts

* only show first time

* short variable name

* space

* don't do refresh in every showEvent

* Revert "don't do refresh in every showEvent"

This reverts commit 2b0032fb0af7138e9d9df1ad052c589fd96d2e05.

* cleanup

rename name to key

cleanup

* add stretch back

* hide alert widgets when not alerts

* rebase master

* fix flash on startup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-10 14:09:05 -07:00
Dean Lee aee2b893a7 Qt: new class ElidedLabel (#21277)
* shorten ssid

* truncate with ellipsis

* rename to trancate

* truncate 22 characters

* elidedLabel

* trimmed

* remove function elidedString

* cache elidedTest

* rebase master

* minimizeSizeHint

* add sizeHint

* cleanup

* revert

* inherit from QLabel

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-10 01:43:47 -07:00
Willem Melching 35a5aae334 nav: hide ETA on destination reached 2021-07-09 11:28:53 +02:00
Willem Melching 779d6479b4 nav: cleanup error messages 2021-07-09 11:16:51 +02:00
Willem Melching 47be6c751e Refactor camerad exposure logging (#21506)
* simplify gain logging

* clean up metadata

* log grey fractions

* those are not used

* set grey fracs in message

* fix qcom
2021-07-08 15:22:00 +02:00
Willem Melching 9ea913bcc8 nav: various cleanup (#21521)
* nav: various cleanup

* eta resize instant

* show
2021-07-08 14:33:58 +02:00
Dean Lee 13b2ce9391 UI: remove zoom from struct UIState (#21520) 2021-07-08 10:42:34 +02:00
sshane 648639787c Fix active AP (#21511)
* Revert "Qt logging through cloudlog (#21452)"

This reverts commit 54b6a9f121.

* set activeAp after scan so it's not blocking

* Revert "Revert "Qt logging through cloudlog (#21452)""

This reverts commit d9689a55057d53f7afe8e2ea28542eb80175a705.

* clean up

* move to another PR
2021-07-07 21:48:46 -07:00
Dean Lee b7f8c6ad03 qt/spinner: reduce CPU usage from 17% to 12% (#21495)
* faster spinner

* initApp

* no brightness

* Update selfdrive/ui/qt/util.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-07 21:19:56 -07:00
Dean Lee 5be75f5354 input.cc: close dialog when parent is hidden (#21318)
* close dialog when parent is hidden

* Q_OBJECT

* apply reviews

* rebase master

* rebase master

* fix wroing minLength

* merge master
2021-07-07 21:06:50 -07:00
Adeeb Shihadeh 5a20cc6cae fix offroad alert precedence (#21517) 2021-07-07 20:07:27 -07:00
Adeeb Shihadeh 53430f87a0 terms & conditions (#21504)
* looks pretty good

* little closer

* ugh qml

* margin

* scrollbar

* cleanup

* fix line height

* tighter

* little more
2021-07-07 16:03:55 -07:00
Willem Melching d101000852 nav: add source to route logging 2021-07-07 16:22:45 +02:00
Adeeb Shihadeh e773749f32 fix default tethering password 2021-07-06 19:33:08 -07:00
Dean Lee 4145988756 installer.cc: fix wrong db path (#21494) 2021-07-06 10:14:07 -07:00
Adeeb Shihadeh ec00e71b64 add recover mode to factory resetter (#21492)
* recover mode

* clean up

* less margin

* use inter

* little nicer

Co-authored-by: Comma Device <device@comma.ai>
2021-07-05 23:48:10 -07:00
Adeeb Shihadeh a334203f7b training guide fixups (#21485)
* training images

* wide training guide

* fixup some images

* cleanup

* one more

* release files
2021-07-05 01:31:31 -07:00
sshane f96b3cc597 Tethering: Edit password while enabled (#21457)
* restart tethering if password is edited

* fixes

* connect straight to WifiManager

* revert
2021-07-04 18:17:46 -07:00
Willem Melching 32d5239912 nav: improve logging (#21477)
* nav: add logging

* handle errors in route reply
2021-07-04 15:34:25 +02:00
sshane d2d1aaad08 Networking: use active AP signal (#21461)
* use active ap signal

* working
2021-07-02 13:30:42 -07:00
Willem Melching 06acd76d6d nav: don't set FBO, render when not loaded and resize once (#21468)
* nav: don't set FBO and resize once

* always update

* when visible
2021-07-02 15:19:33 +02:00
Willem Melching 54b6a9f121 Qt logging through cloudlog (#21452)
* Qt logging through cloudlog

* sort imports

* rename to swaLogMessageHandler

* move to util

* info is high enough

* smaller diff
2021-07-02 14:01:59 +02:00
Adeeb Shihadeh 30683e6291 UI: faster offroad transition (#21466) 2021-07-02 00:37:30 -07:00
sshane 146973da7f Networking: populate tethering password (#21455)
* populate password from hotspot connection

move to setup()

populate tethering password

fix password editing

setup tethering when editing password or enabling

fix

* fixes

* last fix, don't activate when adding

* check before

* if not
2021-07-01 19:59:02 -07:00
sshane 07d3934996 Networking: refresh once in background (#21453)
clean up

move to setup()
2021-07-01 18:32:55 -07:00
sshane 4cdd26596e Networking: Use common header (#21456) 2021-07-01 15:33:51 -07:00
sshane 924e8d5c28 Wait for adapter to setup WifiManager (#21432)
* wait for adapter to initialize wifimanager

* clean up

* formatting

* don't try to use adapter when not available

* Revert "don't try to use adapter when not available"

This reverts commit 3887fc87ebfea2e8acc6b440b4c7a49b0feb1975.

* only tetheringEnabled for now

* request scan once adapter is up (prev behavior)

* populate introspection cache when we need it

populate introspection cache when we need it
2021-07-01 14:01:29 -07:00
ShaneSmiskol a680d0cea1 Fix logging unsupported empty ssid networks 2021-06-30 17:28:06 -07:00
sshane 4000d4a8d2 Networking: Only refresh when visible (#21445)
* only refresh when visible

* catch other case
2021-06-30 17:24:44 -07:00
ShaneSmiskol f1ee79ef14 Revert "debugging"
This reverts commit 67e32b4a3c.
2021-06-30 12:39:15 -07:00
ShaneSmiskol 67e32b4a3c debugging 2021-06-30 12:38:53 -07:00
Willem Melching 240214afc0 nav: truncate favorite length 2021-06-30 16:14:12 +02:00
Dean Lee f90a3eeb20 qt/util.h: move implementation to source file (#21412)
* Move implementation to source file

* space

* include the headers

* mv all to cc

* space
2021-06-29 14:05:37 -07:00
Willem Melching 2de4c09e62 nav: show star for favorites (#21434) 2021-06-29 15:16:16 +02:00
Willem Melching f73dc9f19c nav: use mapChanged signal alongside isFullyLoaded() 2021-06-29 15:13:23 +02:00
Willem Melching 60cc07c62a nav: pull next location while onroad (#21421) 2021-06-29 11:08:37 +02:00
Adeeb Shihadeh 49d96f0acc fixup release build (#21430)
* fixup release3 build

* works on pc

* install release3

* push dashcam

* only import on tici

Co-authored-by: Comma Device <device@comma.ai>
2021-06-28 14:30:44 -07:00
sshane 01773c11f0 Quicker refreshing and use connection signals (#21408)
* Quicker refreshing and use connection signals

* Android remembers connections with incorrect passwords

* forget network on password incorrect

* knownConnections is already filled here
2021-06-28 13:26:24 -07:00