Commit Graph

646 Commits

Author SHA1 Message Date
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
sshane 0a603d2d21 Fix connect button race condition (#21406) 2021-06-25 14:30:04 -07:00
Willem Melching 9f98a3e44f nav: show recents (#21405)
* add recent buttons

* remove static request

* layout

* recent doesn't have to be a favorite

* work

* spacing

* spacing

* no recents

* query next

* not null

* this needs to live here

* less spacing between items
2021-06-25 16:26:02 +02:00
sshane 6402edb898 keyboard: backspace key repeat (#21395) 2021-06-24 21:40:51 -07:00
Willem Melching 4c9aba2dd5 nav: change map loaded detection (#21397) 2021-06-24 14:56:38 +02:00
Adeeb Shihadeh a420c7ad50 remove lte toggle (#21392)
* remove lte toggle

* little more
2021-06-23 17:01:17 -07:00
Adeeb Shihadeh 050a89e598 tici: differentiate ethernet and tethering (#21391)
* differentiate ethernet

* fix tethering

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2021-06-23 15:55:51 -07:00
sshane cd5c931461 Support WPS with no security (#21372)
* Support WPA with no security

* clean up

* add logging
2021-06-23 14:53:11 -07:00
Willem Melching f32ca73724 nav: simplify segment transition (#21383) 2021-06-23 15:00:32 +02:00
Willem Melching 7e6a9ce9a5 nav: cleanup errors and wait for map to be loaded (#21381)
* Cleanup errors

* prevent flicker
2021-06-23 14:33:27 +02:00
Dean Lee c9d4dfe99f DevicePanel: set specific stylesheet for reboot & poweroff buttons (#21364)
* set specific stylesheet for reboot&poweroff buttons

* remove hack

* fix css in network panel
2021-06-22 13:24:55 -07:00
Willem Melching febdc39d2d nav: map color match offroad color scheme 2021-06-22 14:57:57 +02:00
Willem Melching a5f65c12f7 nav: route color match explorer 2021-06-22 13:34:47 +02:00
Willem Melching c21ea8b506 nav: home/work shortcuts (#21276)
* add home/work widgets

* remove todo

* set contents from response

* turn into buttons

* add navigate button

* fix includes

* close settings on nav press

* close sidebar when closing settings

* use live api endpoint

* larger fonts

* more text fits

* only place name

* remove static response

* properly clear
2021-06-22 13:25:22 +02:00
Willem Melching a5112bfb2e nav: give word wrapped widgets a fixed width 2021-06-22 13:24:11 +02:00
Willem Melching 9159094b62 add env variable for wider ui 2021-06-22 11:14:44 +02:00
Willem Melching 64e4294b04 nav: bump font size by 25% 2021-06-22 10:46:01 +02:00
sshane a3a8fa9eac Scan for networks on UI init (#21310)
* refresh on UI init

* scan and wait for signal from networkmanager to update

* fixes incorrectPassword never triggering on known connections

* Update UI on connect state change

* pause timer on leaving networking

* no need to update adapter state on init

* uses AccessPoints signal

clean up

clean up

* Revert "uses AccessPoints signal"

This reverts commit 534219857a10dc200f979e1a66705ac13ca68698.

* perform non-blocking scan on first start only

* suggestions

* forgetNetwork already checks this

* Prevent double refresh on connect interaction and revert timer change

* Should fix nm is inactive error

* Revert "Should fix nm is inactive error"

This reverts commit 36a7ad098b713ae7e17cf1a8d717455ecdd29e2b.

* Fixup original timer code. could be cleaned up, but works

* use WifiManager's firstScan

* no more force!

* fix after rebase

fix after rebase

* scan for next update (seems clearer this way)

* see how responsive device is at scanning, PC is taking up to 15 seconds

* clean up and check ifVisible for scanning and UI updating

* explicitly define relationship since it's not called in Networking any more
2021-06-21 20:55:55 -07:00
Willem Melching 28694041d5 nav: update no gps text 2021-06-21 19:21:58 +02:00
Willem Melching 6ca0861360 nav: banner add stretch to fix label size 2021-06-21 18:53:19 +02:00
Willem Melching a3b155839b Nav: ETA layout improvements (#21361)
* bold and more space

* rounded corners

* oneline

* center

* fix am/pm

* revert width change
2021-06-21 17:23:44 +02:00
Willem Melching c60f5ab6f6 nav: clear last_banner on no gps 2021-06-21 17:04:57 +02:00
Willem Melching e4e67985d6 Nav: No GPS warning (#21359)
* Nav: No GPS warning

* optional
2021-06-21 15:50:23 +02:00
Joost Wooning dd959412e3 Change QR code to url for pairing with both explorer and connect (#21314) 2021-06-21 13:57:13 +02:00
Dean Lee 2433cb28bb onboarding: small cleanup (#21351) 2021-06-20 18:59:49 -07:00
Dean Lee 175506532f OffroadHome: merge stylesheets (#21312)
* merge stylesheet

* css:target #alert_notification button

* Update selfdrive/ui/qt/home.cc

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

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-19 16:10:10 -07:00
Willem Melching 9086c377e2 Fix triangle size (#21332) 2021-06-19 11:21:54 +02:00
Dean Lee 9ebfc2ba8d HttpRequest: move http cache to RequestRepeater (#21228)
* move cache from HttpRequest to RequestRepeater

* apply review
2021-06-18 23:47:23 -07:00