Commit Graph

757 Commits

Author SHA1 Message Date
Adeeb Shihadeh 4720bafdb3 Fix RequestRepeater caching (#21693)
* Fix RequestRepeater caching

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ca51b3865fa360a7a9b69a0748ee92033ac9520c
2021-07-22 22:14:32 -07:00
Adeeb Shihadeh 444649d4f6 show registration debug info after 60s (#21679)
* show registration debug info after 60s

* little nicer

* larch

* aarch

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 987abb31ddd7affb18f9d93153eb00cf3bfb9c23
2021-07-21 23:30:02 -07:00
sshane 8f62df9cc8 networking: fix connected type for multiple APs (#21678)
* nm uses ssid to dis/connect so use that for ctype

* we don't want to possibly block in the background (from signals)
old-commit-hash: 0d0c6bea7229e4daf710a574cd186e7cc0b39f57
2021-07-21 22:45:25 -07:00
Adeeb Shihadeh 6783b8166c training guide updates (#21674)
* add progress bar

* shorter

* update lane change speed

* fix

* center

* fix cutoff
old-commit-hash: 75904ed7452c6cbfb2a70cd379a899d8a75b97c2
2021-07-21 17:28:35 -07:00
sshane ef8fe51b70 networking: fix stretching with only 1 network (#21675)
old-commit-hash: 7193ff57e0ee019112adf464498222785ce5d1cb
2021-07-21 16:36:55 -07:00
Adeeb Shihadeh b39d2d441a remove wide toggle (#21669)
old-commit-hash: 4e6c268b1784f7899a91760f20142bc7809e044f
2021-07-21 00:58:42 -07:00
Adeeb Shihadeh 5e858225b2 wait longer to show controls waiting alert (#21657)
old-commit-hash: ced26b806f356c63a016f8b2c47b9b2b336a653c
2021-07-20 11:15:27 -07:00
Dean Lee 2e6d65c17b SoftwarePanel: remove redundant style (#21645)
old-commit-hash: e294dfa707bfb827aecf8b71009043fa290a0eac
2021-07-19 09:27:05 -07:00
Dean Lee 66efddac39 Qt/Networking: same border-radius as other panels (#21646)
* fix border-radius

* setup:set style for Networking
old-commit-hash: 41538753f9578969d270edc1f6ba3e23bcd60b3a
2021-07-19 09:26:08 -07:00
Willem Melching df513f4124 Fix close button design (#21652)
* Fix close button design

* center
old-commit-hash: 1fb5d9b812791ffd2d62fe3973b99aa288254a83
2021-07-19 15:17:41 +02:00
Willem Melching 47a646ecb1 nav: show settings without token (#21624)
* map settings always in sidebar

* show screenshot when no prime

* remove print

* repaint to fix star sizing

* checked in sconsscript

* match designs
old-commit-hash: 190409c9387ade9bc988b6603ac6f41248e0a5fd
2021-07-19 14:18:01 +02:00
Willem Melching 40fe85f18e Nav: only open map once (#21650)
old-commit-hash: f9f43578d1b41f97b90f43215ca320bce72e114c
2021-07-19 12:23:01 +02:00
Willem Melching 074f38171a Fix backlight filter dt and set ts to 10 sec (#21649)
old-commit-hash: 1cf8396e4c4f1c7024fe6febe4f9704f23721ca9
2021-07-19 10:37:24 +02:00
Adeeb Shihadeh 17faf6e48f UI: button released -> clicked (#21606)
old-commit-hash: 92157480800d604b9a53873a66ecb7fcdd622535
2021-07-17 13:58:09 -07:00
Adeeb Shihadeh e2c0ec924d more touchups (#21634)
* wait to hide

* same msg

* networking ui fixups

* clicked

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 62077abd3c3dc5824bb55fc5521537c438af2ad5
2021-07-17 00:14:50 -07:00
Adeeb Shihadeh dd31ac2c18 show network connecting indicator (#21631)
* spinner for connecting

* move that

* cleanup

* fix that

* connecting label

* touchups

* cleanup
old-commit-hash: 4f9ac7a1aa6e5d54fbd26991ca2d88edd02245b0
2021-07-16 20:38:31 -07:00
Adeeb Shihadeh 6eea281a19 soundd (#21619)
* refactor alerts

* doesn't go here anymore

* soudd

* handle controls unresponsive

* same check

* fix path

* update sound test

* nice

* fix c2

* add script

* update tests

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 12948e661a6b6424739082ee614d81b4549c2753
2021-07-16 17:30:00 -07:00
sshane b1d4b80f01 keyboard: separate signals (#21629)
* separate signals

* clean up

clean up

clean up

* clean up

* Revert "clean up"

This reverts commit 38c1f18a56a946e97ee05f8e18b1797f060d011b.

* Revert "clean up"

This reverts commit 06430e29bfeaa3dd3a8d7f8911e0f0ba17d35d7b.

* Revert "separate signals"

This reverts commit 77ca8e3d17b34e84d8d1331b565b0b2ef6bc55d0.

* separate signals

* clean up

* caps fix
old-commit-hash: 0f93cb12ac222b8e08a43e12b9bbcc8e5571566d
2021-07-16 17:27:43 -07:00
Adeeb Shihadeh 256dda3c5b nice popup (#21630)
* nicer popup

* cleanup
old-commit-hash: c5bd6735d6ea47e38b594ec7ed10dfede6f75729
2021-07-16 16:23:30 -07:00
Adeeb Shihadeh 5bdb0f7b18 more setup (#21628)
* fix up kb

* blue continue

* dashcam

* clean up
old-commit-hash: 62e63f0573a1d6d719fe3c4715d00b3893306c73
2021-07-16 15:06:10 -07:00
Adeeb Shihadeh b73185b3f1 remove keyboard deadzone (#21627)
* remove keyboard deadzone

* add to height

* float
old-commit-hash: 3e19c737300310b8493e12448050cd41b14e9dde
2021-07-16 13:54:30 -07:00
Willem Melching e3b454a804 nav: update style url
old-commit-hash: 0c3f25ff8597eb692b2d1a001934b83ceefc3fc5
2021-07-16 11:26:43 +02:00
Adeeb Shihadeh 75886ce093 setup qt resources (#21617)
* setup qt resources

* networking

* input

* fix that

* nicer scrolling

* big eye

* fix flashing

* why is it linking against map stuff

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6039f1e7acb286e9b6705f96084ca90d733df34b
2021-07-15 21:30:23 -07:00
sshane a089058fd4 Update wifi setup design (#21604)
* wifi design draft

* ui draft 2

* draft

* updates

* fix spacing

* strength indicator

* font weight

* fix lock icon aspect ratio

* fix font weights

* new checkmark

* fix spacing

* was being applied to everything

* network handles its own padding

* fix spacing

* cleanup

* looks pretty good

* little more

* revert that

* scroll bar

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0076dd3588921e9dd88c6a871988dded626c38a1
2021-07-15 17:41:01 -07:00
Adeeb Shihadeh 65002c7b53 setup improvements (#21505)
* getting started

* downloading

* some more

* nice checkmark

* nice triangle

* fixup style

* wait for internet

* more responsive

* waiting for internet
old-commit-hash: ddd1342fc548a7a6cc1bdc007eb9d91d9336deb0
2021-07-15 16:47:18 -07:00
sshane 454cdf2d25 networking: remove invalid connections (#21614)
old-commit-hash: 0eefdb506e992aecd0d931139c68138725df3eb6
2021-07-15 15:02:30 -07:00
Adeeb Shihadeh 1e39e578c6 input dialog design (#21607)
* style

* eye

* fix spacing

* use two lines
old-commit-hash: 6a62cf7d5da527b7e69a8ccb691aefd8ad4fdacb
2021-07-15 02:56:21 -07:00
sshane 6817770887 keyboard: fix backspace (#21602)
* fix styling and backspace

* global for InputDialog

* revert
old-commit-hash: 0df9287b7f28ea08a3d3c592acb4ae3a63c4f45a
2021-07-14 21:21:22 -07:00
Adeeb Shihadeh 6c3a5179bf installer improvements (#21588)
* installer ui

* progress

* works

* cleanup

* header

* exit

* small

* revert that
old-commit-hash: 3f8c63a4d9102f542cda0e942e2e99f29562c0dc
2021-07-14 16:46:36 -07:00
Adeeb Shihadeh f03b70a33b reset improvements (#21603)
* reset design

* clean up
old-commit-hash: deb67ff870c48d45341657be10625f75a184117a
2021-07-14 14:37:33 -07:00
ShaneSmiskol b5f5ce739b Update networking comment
old-commit-hash: bb09f68783c385eb8003d980e047e956c2442026
2021-07-14 13:39:39 -07:00
sshane 12536138c0 networking: update on show (#21575)
* refresh on show event

* setup fix

* show scanning message if no networks nearby

* setup isn't ready in 1 second, use signal again

* clean up

* clean up

* Update selfdrive/ui/qt/offroad/networking.cc

* Update selfdrive/ui/qt/offroad/networking.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cdc386d5bb2686bd5af98cfca344ab66d930ca6f
2021-07-14 13:27:18 -07:00
Willem Melching 52ace7309a nav: force request retry
old-commit-hash: baa0e47e50e6c39c04cd374be1ac6db9eafb752b
2021-07-14 15:46:18 +02:00
sshane 748adb4c63 ui: fix finish setup button (#21538)
old-commit-hash: c10d46d336d91b9eb1732477d58351022485ce11
2021-07-13 14:58:54 -07:00
Dean Lee c351c71641 ui/update_line_data: fix assert when max_idx = TRAJECTORY_SIZE-1 (#21543)
old-commit-hash: f554dc0ae624527234931946305a7d010e1230b0
2021-07-13 15:37:19 +02:00
Willem Melching 2417bac975 nav: cleanup settings page (#21561)
old-commit-hash: a148bcb3efdaf34e41ad8392f7656ad6c7662f8b
2021-07-12 13:44:30 +02:00
Adeeb Shihadeh d9bb0b8001 sidebar: only show gps indicator while onroad
old-commit-hash: 7211a4f6cca4373e59d1234ca4aa68a255596617
2021-07-12 01:34:30 -07:00
Adeeb Shihadeh 569f54aefa keyboard improvements (#21502)
* design

* period

* one more

* blue

* cleanup
old-commit-hash: 89c42041ece9bd7e70368ab50a1150eba1cfaaa4
2021-07-11 22:30:33 -07:00
Adeeb Shihadeh e24ff01513 sidebar: indicator for GPS fix (#21556)
* sidebar: indicator for GPS fix

* fix cutoff
old-commit-hash: a2f9259ebf2fb3c98dc560221e0f33f20955d825
2021-07-11 15:26:28 -07:00
Adeeb Shihadeh 801ab5f5d6 nav: restore zoom and position on double click (#21551)
old-commit-hash: 86c255e3e881c81d6066b04f1d118fddb39b4a81
2021-07-11 00:32:11 -07:00
Adeeb Shihadeh c583cc99a3 nav: scroller for recents (#21549)
* nav: scroller for recents

* stretch

* one more stretch
old-commit-hash: bec054116f4eea51c3ed9db606076be4c460d5af
2021-07-10 22:56:18 -07:00
sshane 9847b9b661 networking: clean up refreshing (#21537)
old-commit-hash: eb37e409ee085b8489c656e350b47f5b5930aa0a
2021-07-10 22:28:24 -07:00
Adeeb Shihadeh c3e445a486 UI: fix mismatch between checked button and panel when dragging
old-commit-hash: 0f6bb5ae6286ecb944de4c7f20299730ba1fccf5
2021-07-10 17:19:09 -07:00
Adeeb Shihadeh 468032d27e remove gps accuracy from sidebar
old-commit-hash: 8b6cf406abcb45496ca4f5d57291bde6e44c4910
2021-07-10 14:40:11 -07:00
Dean Lee f587147efe 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>
old-commit-hash: e836ed7f6e9fd53f386b8dd07bcb0aa39b8f571f
2021-07-10 14:09:05 -07:00
Dean Lee 24563f4b11 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>
old-commit-hash: aee2b893a7467a05b6d49c16c5b6e0b6cf2f9275
2021-07-10 01:43:47 -07:00
Willem Melching 0c30fbbe62 nav: hide ETA on destination reached
old-commit-hash: 35a5aae334e2409c432499a868fae69bd6ceb285
2021-07-09 11:28:53 +02:00
Willem Melching 8155c856f8 nav: cleanup error messages
old-commit-hash: 779d6479b402f3f73d11910adb62547a37d12cc4
2021-07-09 11:16:51 +02:00
Willem Melching e0378d41cb 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
old-commit-hash: 47be6c751ec69d2f8957c9a1c6f7776a8bde4f7e
2021-07-08 15:22:00 +02:00
Willem Melching c042bbf09c nav: various cleanup (#21521)
* nav: various cleanup

* eta resize instant

* show
old-commit-hash: 9ea913bcc812ed55d2f8204ced892b81f20af326
2021-07-08 14:33:58 +02:00