Commit Graph

838 Commits

Author SHA1 Message Date
Adeeb Shihadeh dd67dc6b34 update demo route (#22381) 2021-09-29 18:51:30 -07:00
Willem Melching b7c64542f4 replay: fall back to qlog (#22362) 2021-09-29 17:44:10 +02:00
Willem Melching 6881688af2 replay: send frames based on encodeIdx packet (#22361)
* send frames based on encodeIdx

* use start of frame time if set

* also use end of frame if set

* fix timestamp for encode packets

* handle all cameras

* add comment

* add twice
2021-09-29 17:43:56 +02:00
Dean Lee 318a8ba854 c++ replay: more accurate sleep (#22348)
* precise sleep

* cleanup

* continue
2021-09-29 16:59:12 +02:00
Dean Lee a548d4b5b8 c++ replay: improve seeking&updating events (#22319)
* improve seeking

* qDebug

* cleanup

* wait on cv

robust

* Trailing underscores for member variables

* group log variables

* small cleanup,remove unnecess std::atomic

* remove debug output

* fix seek problem

* add comment

* better lambda

* faster seek.don't block stream thread if segment already loaded

* remove assert
2021-09-28 12:28:29 +02:00
Dean Lee 4e6ff308a8 c++ replay: chunking and concurrent downloads (#22308)
* download segment files by chunks in multiple threads

* remove easy_handl on aborting

* add test cases

* better error handling

* update test

* cleanup

* add CURLGlobalInitializer

* check http code

* finish
2021-09-28 12:24:48 +02:00
Dean Lee e888a7e939 load d/e camera by command line flags (#22341) 2021-09-28 11:25:18 +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 dff6dbfbe9 rename filereader.cc[h] to logreader.cc[h] (#22279) 2021-09-19 15:54:03 -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
Dean Lee ec67d2b8f5 replay: pause/resume using spacebar (#22278)
* pause/resume using spacebar

* Update selfdrive/ui/replay/replay.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-19 14:47:17 -07:00
Dean Lee 50ae7dd6a9 replay improvements (#22203)
* refactor replay

* cleanup

small cleanup

* merge 22239

* cleanup

* add optional argument for start time

* small cleaup
2021-09-19 12:24:28 -07:00
Dean Lee 8eb92a98ba replay: don't splits empty strings (#22271) 2021-09-18 22:40:36 -07:00
Dean Lee cb49ceabf0 replay: remove array subscript (#22268) 2021-09-18 18:58:37 -07:00
Adeeb Shihadeh f49e7629ee replay: add nice arg parser (#22264)
* replay: add nice arg parser

* demo

* cleanup
2021-09-17 00:33:23 -07:00
Dean Lee f5aa3a30c9 replay: thread-safe seek (#22228) 2021-09-16 23:45:46 -07:00
Adeeb Shihadeh 78b97eaa36 UI: show steering wheel icon while engaged or engageable 2021-09-16 23:43:19 -07:00
Adeeb Shihadeh 86beb9a81a UI: fix getting stuck after vipc recv timeout 2021-09-15 20:31:24 -07:00
George Hotz 8d554abbf7 demo route note in replay 2021-09-14 13:53:49 -07:00
Willem Melching abae4ef72c Revert "ui: use C3 video sizes by default on PC"
This reverts commit cf4cd3b693.
2021-09-14 11:48:34 -07:00
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