Commit Graph

813 Commits

Author SHA1 Message Date
Willem Melching cf4cd3b693 ui: use C3 video sizes by default on PC 2021-09-14 11:27:34 -07:00
Dean Lee a89bdb6a05 fix Replay::mergeEvents: use std::end() (#22215) 2021-09-13 09:49:32 -07:00
Dean Lee 365e8bfd93 replay: unlock mutex before sleep (#22213) 2021-09-13 00:57:03 -07:00
Dean Lee eb4a28af11 replay: fix bugs in merging events (#22205) 2021-09-12 16:29:37 -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
Dean Lee a1a0201069 replay: thread safe merge & free logs (#22196) 2021-09-11 17:35:04 -07:00
Dean Lee f3683dd4cb test_replay.cc: temporarily comment out the rand seek test (#22192)
* Temporarily comment out the rand seek test

* enable ci

* trigger ci

* trigger ci

* trigger ci

* trigger ci

* trigger ci
2021-09-10 21:53:46 -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 81a128cd76 FrameReader: do not depend on Qtunit tests (#21379)
* add timeout and test case

* remove useless comment

* reduce to 1s

* fix gotframe fail when Duplicate POC in a sequence

* cleanup

* remove space

* fix
2021-09-09 13:40:12 -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
Adeeb Shihadeh 145fd88deb fetch all branches on internal installer 2021-09-02 12:09:42 -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
Dean Lee d9baaf7eb9 loggerd: create encoder threads from cameras_logged (#21875) 2021-08-30 19:33:00 -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 6c25b44369 installer: add cache path on userdata (#22045)
* installer: add cache path on userdata

* keep legacy as is

* only copy

* print cache path

* comment
2021-08-26 10:43:47 -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
Dean Lee dec9addce0 Alert::equal: pass Alert by const reference (#22044) 2021-08-25 09:33:27 -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
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