Commit Graph

578 Commits

Author SHA1 Message Date
Adeeb Shihadeh 950acb476c add inter fonts to assets (#22704) 2021-10-26 20:40:09 -07:00
Adeeb Shihadeh f4c2398db4 add sdcard support (#22703)
* generalize

* factory reset
2021-10-26 19:34:08 -07:00
Willem Melching cca07c0c73 navigation: use mapbox proxy server (#22660)
* use mapbox proxy

* remove MapboxToken param

* do not log jwt

* remove import

* move to staging url

* put has_prime in ui state

* logic was flipped

* Update selfdrive/ui/qt/maps/map.h
2021-10-26 18:59:17 +02:00
Adeeb Shihadeh 7f3904ee8e UI: increase camera view update frequency 2021-10-22 21:11:57 -07:00
Adeeb Shihadeh 84d5adedd8 UI: fix fcc.html when using QRC 2021-10-22 21:04:00 -07:00
Adeeb Shihadeh c4de1fef4f UI: don't block UI on vipc recv (#22644)
* UI: don't block UI on vipc recv

* use a timer

* move that
2021-10-22 14:16:14 -07:00
Dean Lee 5735d69d47 CameraView: fix possible crash on 'fit in widget' mode (#22594) 2021-10-18 11:02:08 +02:00
lipniak df9492d1e1 UI: add missing header to fix Ubuntu 21 build (#22577)
Co-authored-by: predicate@bonzo <noreply@example.com>
2021-10-16 13:30:14 -07:00
ZwX1616 8574e79fec wider FOV DM on comma three (#22286)
* c3 is straightforward

* c2 transform

* c3 preview

* alpha model

* Revert "alpha model": wrong quantization data

This reverts commit b50e5739735b30d960aca22bcf3cbe23b0121e13.

* yuv looks good

* a55b

* const int

* block top deadzone

* new box alpha curve

* update k

* fix debug

* rhd use same offset

* box shift for rhd

* 7e3e

* set new thresh

* update ref

* explain

* remove e2e

* same metric thresh

* process isocc

* model

* cancel extra policy

* update numbers

* new model

* update cereal

* up cereal

Co-authored-by: Comma Device <device@comma.ai>
2021-10-13 17:00:46 -07:00
Dean Lee afaf235acd UI: fix stuck in visionIPC receive timeout (#22450) 2021-10-09 14:43:27 -07:00
Willem Melching d898841e87 Change APN from settings (#22440)
* Change APN from settings

* subtext

* one function

* bring connection down and up

* fix adapter type

* trim input

* fix scrolling in scanning state

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-07 23:47:23 -07:00
Adeeb Shihadeh 5b641379ae phonelibs -> third_party (#22477)
* git mv to third_party

* find and replace

* fix release tests

* update pre-commit

* update tici bins

* update eon bins

Co-authored-by: Comma Device <device@comma.ai>
2021-10-07 16:32:44 -07:00
Willem Melching 9c771b45fc ui: make OpenGL context current before connecting to VisionIPC 2021-10-04 10:37:31 +02:00
Adeeb Shihadeh c11be0f49a update useradmin url 2021-10-01 17:36:46 -07:00
Adeeb Shihadeh 23ae67bbf9 UI: auto wide detection on PC (#22392)
* UI: auto wide detection on PC

* invert width

* cleanup
2021-09-30 20:48:02 -07:00
Adeeb Shihadeh 45409cb4fe UI: big pairing QR code (#22384) 2021-09-30 14:00:52 -07:00
Willem Melching a31c6ce3f9 tools: make auth optional for public routes (#22386)
* tools: make auth optional for public routes

* handle 403

* show warning from c++ replay
2021-09-30 20:13:46 +02:00
Adeeb Shihadeh 0d0aad05ce setup: add low voltage warning (#22342)
* setup: add low voltage warning

* read voltage

* fix path
2021-09-24 14:30:49 -07:00
cydia2020 70e1c9c40c UI: Fix mph and wi-fi spelling (#22334)
* display WiFi as Wi-Fi

* fix typo in metric setting description
2021-09-23 22:23:34 -07:00
Jason Wen 67c09b4caf Fix small typo in DisableRadar toggle description (#22333) 2021-09-23 19:52:59 -07:00
Adeeb Shihadeh 649af76fd4 remove community supported cars from community features (#22330)
* remove community supported cars from community features

* remove bosch and hkg long

* remove test case

* update refs
2021-09-23 17:34:52 -07:00
Willem Melching 8c01ae5716 Add DisableRadar_Allow param and settings toggle (#22329) 2021-09-23 17:19:47 -07:00
Achilles308 d888ef8f89 UI: re-order sidebar temp wording (#22323) 2021-09-23 15:14:00 -07:00
Dean Lee abffc8b2ad UI: new class ListWidget (#21273)
* ListWidget

* continue

* remove function horizontal_line

* cleanup

* default spacing 25

* fix networkpanel margin on EON

* solid expanding

* 0 width

* cleanup

* apply reviews

* remove function addLayout,make it looks like QLIstWidget

* rename addWidget to addItem

* rebase master

* rebase master

* merge master

* cleanup

* fixed title bar position

* no flash while folding

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-19 15:14:54 -07:00
Adeeb Shihadeh 86beb9a81a UI: fix getting stuck after vipc recv timeout 2021-09-15 20:31:24 -07:00
Dean Lee 2d640e25c3 UI: lazy onboarding widgets init (#21780)
* don't show onboarding on startup

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-11 18:18:58 -07:00
Adeeb Shihadeh b3705ede5e Unify neos/agnos updaters (#22109)
* start moving neos updater

* downloading

* ui

* move recovery

* resuming

* add verification

* fix up launch

* test

* update updater

* fix mypy

* fake updater

* review suggestions

* more tests

* abc

* update bin

* raise

Co-authored-by: Comma Device <device@comma.ai>
2021-09-10 17:03:54 -07:00
Dean Lee a034926264 Qt/onroad: use CameraViewWidget (#21821)
* use CameraViewWidget

* no timer, updateFrame after frameSwapped

* use QOpenGLShaderProgram

* merge master

* remove that

* new function setStreamType

* continue

* remove showEvent

* cleanup

* cleanup

* little more

* fix black screen on startup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-08 13:13:27 -07:00
Adeeb Shihadeh d5475ba946 nav: add button to clear current route (#22167)
* nav: add button to clear current route

* fix scroll

* retab

Co-authored-by: Comma Device <device@comma.ai>
2021-09-07 17:39:24 -07:00
Jason Young 251a074b20 Fixes for C3 LTE connection being deleted (#22129)
* Fix for LTE connection being deleted

* also fix newConnection

* simplify
2021-09-07 09:54:12 -07:00
Adeeb Shihadeh d5face26a8 nav: set map widget parent 2021-09-06 22:51:09 -07:00
Willem Melching 576459ca45 map fixes, #22105 (#22152) 2021-09-06 16:53:09 -07:00
Dean Lee e284f515b9 c3 keyboard: fix button status not updated (#22127) 2021-09-06 12:24:31 -07:00
Dean Lee 5fea367fc9 C3: Fix keyboard buttons on the right getting stuck in pressed state (#22050)
* fix keyboard state stuck

* remove popup flag

* update in time
2021-09-03 22:24:37 -07:00
Adeeb Shihadeh ee7682ae4a only toggle sidebar visibility when clicking on the onroad widget 2021-09-03 15:45:02 -07:00
sshane 6fad0055b4 UI: roaming toggle (#21750)
* roaming toggle

* clean up

* only tici

* fix order

* move to wifiManager

* should be working

* clean up

clean up

* use map icon

* move to advanced settings

* clean up

* temporarily change home-only

* keep setting for now

* set both to defaults in case ui doesn't start

* knownConnections stores conn names

* Revert "knownConnections stores conn names"

This reverts commit 4466a029a38f8c89876fad3c221e95e8fc572ded.

* save lteConnectionPath instead

* use the if statement

Co-authored-by: Comma Device <device@comma.ai>
2021-09-01 14:33:06 -07:00
Dean Lee 30ec2bc403 driverview.cc: cleanup paintEvent (#21531) 2021-09-01 13:56:07 -07:00
Dean Lee 579fb8072a HomeWindow: cleanup mousePressEvent (#21683)
* cleanup mousePressEvent

* show/hide map in onroad

* merge master
2021-09-01 13:30:33 -07:00
Dean Lee 1786416e3c ui: clickable ElidedLabel (#21773)
* ElidedButton

* rename to ClickableLabel

* move to ElidedLabel
2021-08-30 22:16:48 -07:00
ambientocclusion ed271911c2 Fixed build issues on macOS (#22075)
* Fixed deprecated enum value

* Changed to build Qt replay on macOS
2021-08-30 09:18:14 -07:00
Adeeb Shihadeh 86a73497de add fit to widget option to camera view (#22056)
* add fit to widget option to camera view

* add clicked signal

* cleanup

* use release for driverview

Co-authored-by: Comma Device <device@comma.ai>
2021-08-28 13:08:48 -07:00
Adeeb Shihadeh 084b932eeb UI: show thermal status instead of ambient temp (#22041)
* no number

* space evenly
2021-08-25 11:01:04 -07:00
Adeeb Shihadeh 9c7c4657f0 UI: use rcc on all platforms (#21966) 2021-08-23 20:12:40 -07:00
Adeeb Shihadeh 1ebe06d1c2 unify agnos/neos installers (#22023)
* c2 installer

* remove old installer

* move to its own dir

* die immediately

* fix that

* init app
2021-08-23 16:01:21 -07:00
Dean Lee a165f25762 Qt: new global WIDE_UI (#21977) 2021-08-19 14:14:34 -07:00
Dean Lee e573985c10 swagLogMessageHandler: replace magic number with macro (#21944) 2021-08-17 17:51:13 +02:00
Dean Lee 67f5522914 sidebar: simplify updateState with QPair (#21927)
* ItemStatus

* add whitespace

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-16 14:21:47 -07:00
Willem Melching 512ab3d8fb nav: do not transition to next segment if we need to recompute 2021-08-12 19:50:14 +02:00
Dean Lee 62d34ed4e5 BASE_URL: use util::getenv (#21894) 2021-08-10 11:15:09 -07:00
HaraldSchafer e0087fc313 Fix orientation in map (#21863)
* fix calibrated orientation

* update ref

* cleaner

* update ref

* master

* update again

* update ref again again

* actually compiled this tim,e
2021-08-05 21:06:46 -07:00