Commit Graph

783 Commits

Author SHA1 Message Date
Dean Lee
a165f25762 Qt: new global WIDE_UI (#21977) 2021-08-19 14:14:34 -07:00
Willem Melching
01e779ef2d C3: increase brightness at night a little 2021-08-19 16:54:43 +02: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
Mitchell Goff
05b37552f3 Retuned desire model (#21919)
* New model: d8e7f76f-7bec-4a83-af00-c0fae792527f/950

* Updated process replay refs

* Updated model replay ref
2021-08-12 21:06:26 -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
Greg Hogan
3a578cb5b5 fix cd in process scripts (#21806)
* ui: fix cd in launch script

* do the rest

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-11 11:20:17 -07:00
Willem Melching
358cdaaefd Improve perceived display brightness (#21884)
* tweak light sensor function

* CIE 1931 compensation

* before filter

* C3 scaling

* C2 is also linear

* whitespace

* scaling and min brightness
2021-08-11 10:27:22 +02:00
Adeeb Shihadeh
3616602cd2 openpilot nightly installer 2021-08-10 11:29:41 -07:00
Dean Lee
62d34ed4e5 BASE_URL: use util::getenv (#21894) 2021-08-10 11:15:09 -07:00
Harald Schafer
543a0c509d better name 2021-08-10 11:00:35 -07:00
Dean Lee
339aa5e3f9 fix lead2 not updated (#21895) 2021-08-10 10:58:28 -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
HaraldSchafer
276b00ccb8 Draw model leads (#21864)
* draw model not radar

* compiles

* wrong way
2021-08-05 20:35:03 -07:00
arfy slowy
d74def61f8 fix: spelling typos (#21861)
* fix: typo spelling grammar

* revert

* Update selfdrive/locationd/calibrationd.py

* more revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-05 12:05:49 -07:00
Harald Schafer
e63d94d8d2 Revert "nav: use calibrated orientation (#21853)"
This reverts commit 4b209f31a1.
2021-08-04 10:41:49 -07:00
HaraldSchafer
4b209f31a1 nav: use calibrated orientation (#21853)
* calibrate map

* msg added
2021-08-04 09:58:04 -07:00
Dean Lee
fefc70b4ca hw.h: move Hardware-related paths to namespace Path (#21826)
* refactor getenv and path

* apply review
2021-08-04 13:29:03 +02:00
Adeeb Shihadeh
4f9e568019 system reset improvements (#21844)
* reset improvements

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2021-08-03 17:44:27 -07:00
Adeeb Shihadeh
31a4b55218 embed continue scripts in installer (#21846)
* embed continue scripts in installer

* cleanup
2021-08-03 17:32:02 -07:00
Adeeb Shihadeh
ae1f5e0e8c remove wifisetup 2021-08-03 17:29:01 -07:00
Dean Lee
543e019f71 api: use API_HOST env variable everywhere (#21814)
* api base url to global constant

* update api/__init__.py
2021-08-03 13:49:49 +02:00
Adeeb Shihadeh
3129e058f8 use continue_dashcam for dashcam installer 2021-08-03 00:04:54 -07:00
Adeeb Shihadeh
1f341a2810 we have release branches now 2021-08-02 22:18:06 -07:00
Dean Lee
f5c95b026a OffroadHome: update alerts immediately in showEvent (#21808) 2021-08-02 22:07:07 -07:00
Dean Lee
8f7fc61e48 Sidebar: set Qt::WA_OpaquePaintEvent attribute (#21782) 2021-08-02 21:26:09 -07:00
Dean Lee
776516d72b Qt/spinner: reduce cpu usage from 12% to 9% (#21552)
* faster spinner

* reduce to 6%

* Revert "reduce to 6%"

This reverts commit 65e23bb7a9542ccca13b8f01b7a5d56580a61bf6.
2021-08-02 21:24:02 -07:00
Adeeb Shihadeh
77a38b3f87 fcc fixups 2021-08-02 20:09:31 -07:00
Adeeb Shihadeh
a96f358966 Add C3 FCC regulatory info page (#21833)
* move uninstall to software

* fcc page

* only tici

* cleanup

* more cleanup
2021-08-02 20:02:07 -07:00
Adeeb Shihadeh
f1635eabdb installer: repaint -> update 2021-08-02 10:55:46 -07:00
Willem Melching
d1fb979962 ui: remove cache from getDongleId() 2021-08-02 11:29:39 +02:00
Dean Lee
073b96e5d1 qt/util: new function getDongleId (#21810)
* new function getDongleId

* return std::optional
2021-08-02 11:21:51 +02:00
Adeeb Shihadeh
0ffe920a86 UI: update toggles on show (#21812) 2021-07-30 16:21:42 -07:00
Dean Lee
6d2d2e584a soundd: fix path to sound files (#21801)
* fix assert on EON

* use qmap to make it a bit cleaner
2021-07-30 13:38:35 -07:00
Willem Melching
c09cff23aa nav: Only recompute when onroad (#21797) 2021-07-30 12:13:51 +02:00
Comma Device
175d53e460 fix fullscreen map on startup 2021-07-29 22:41:41 -07:00
sshane
519e7cbe89 toggles: released -> clicked (#21786) 2021-07-29 22:37:06 -07:00
sshane
e28785199f networking: disable tethering toggle while connecting (#21785)
* disable until connected

* disabling takes longest

* try enabling on refresh

* clean up
2021-07-29 22:36:47 -07:00
sshane
c7fc312237 ui: wake for touch events (#21794) 2021-07-29 22:24:24 -07:00
sshane
028c81d39f keyboard multitouch improvements (#21788) 2021-07-29 19:29:49 -07:00
Comma Device
56d682831b fix updater UI repaints 2021-07-29 17:12:12 -07:00
Adeeb Shihadeh
14d26d6d89 agnos updater UI (#21776)
* start agnos updater UI

* wifi

* progress

* sometimes things fail

* fix wifi

* in launch script

* fwd

* fwd stderr

* update that

* release files

Co-authored-by: Comma Device <device@comma.ai>
2021-07-29 15:57:58 -07:00
sshane
4ed4956240 settings: button press states (#21771)
* settings button press states

* tune color

* states for panel labels and close btn
2021-07-29 14:44:21 -07:00
sshane
a34a779ba2 ui: grey out unsupported networks (#21753)
* grey out unsupported networks

* show slash icon

* add to qrc
2021-07-28 20:23:48 -07:00
sshane
54f1afe403 ui: fix prime widget w/ no internet (#21767) 2021-07-28 18:45:49 -07:00
Adeeb Shihadeh
7a5f30f16b remove nav sconscript hack (#21768)
* remove nav sconscript hack

* pc files
2021-07-28 17:44:01 -07:00
sshane
6fc999fc53 ui: prime widget design (#21755)
* new setup widget

* set fixed width and align right

more closely match

* text wrapping fixes

* prime widget draft

* rename

* remove username

* fix weights

* ad

* qr

* pressed color

* cleanup

* simplify

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-28 17:31:49 -07:00
sshane
28ab1bcaca ui: new drive stats design (#21765)
* new drive stats design

* match design better

* clean up
2021-07-28 16:28:10 -07:00
sshane
1ada078857 networking: show correct strength for mesh networks (#21690)
* update seen network if higher strength

* keep in wifiManager

* more readable
2021-07-28 15:03:41 -07:00
Adeeb Shihadeh
c7d75ffb5d setup: continue without wifi (#21766) 2021-07-28 14:55:42 -07:00