Adeeb Shihadeh
50f00cf617
UI: fix wrong background on controls unresponsive alert
...
old-commit-hash: 0e35db7c05172b154c70216d2b1b9ed8c9c7b163
2021-11-16 13:17:32 -08:00
Dean Lee
dce66df5ef
ui: update params on the show event ( #22927 )
...
old-commit-hash: 906208504363457172d951ae99b8dac99d3400e1
2021-11-16 12:13:16 -08:00
Willem Melching
6493034aea
nav: fix receiving navRoute while map is loading ( #22929 )
...
old-commit-hash: 9f423a93cd1c56ab7178dce11f478e2932fe68f5
2021-11-16 14:27:38 +01:00
Adeeb Shihadeh
f82e1d42b9
UI: fix alert flicker when controlsState not updated ( #22921 )
...
old-commit-hash: 2f90f04f8d1a64c22f4162e9425e80645bd28092
2021-11-15 16:27:19 -08:00
Willem Melching
bb8d0aa76d
Move shutdown/reboot handling to manager ( #22882 )
...
* Move shutdown/reboot handling to manager
* more logging
* check enagaged
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 07ff72472636237d7c47addfce4d8bbbda98e9d2
2021-11-12 09:10:34 -08:00
Adeeb Shihadeh
29f6b5cb98
allow update snoozing ( #22876 )
...
* allow update snoozing
* not immediately visible
* dismiss and close
* grey button
old-commit-hash: e528e2e3e2760c52266b126a803a0f7bb872cf3d
2021-11-11 15:32:25 -08:00
kernyan
3800496470
ui: auto scaling on resolution below 1920 x 1080 ( #22842 )
...
* ui: resizable on PC by mouse drag
* Revert "ui: resizable on PC by mouse drag"
This reverts commit 56aa8254a2ae3f3b8a4b1f5957a51b2258780e97.
* ui: auto scaling on resolution below 1920 x 1080
special case when on PC and screen resolution is exactly 1920 x 1080,
we don't use fixed-sized window to account for taskbar/menubar area
* Update qt_window.cc
set maximum window size
* keep SCALE
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 983cc14174bb11df095e7621bd61fe42fb1ed0d8
2021-11-11 13:25:12 +01:00
Willem Melching
8797c043bd
nav: check valid flag on PositionGeodetic measurement ( #22858 )
...
old-commit-hash: 306df7f94f2fb57076a5883339d960b79a37b26a
2021-11-11 10:24:10 +01:00
Willem Melching
d6c860cb0a
cache prime status in param ( #22850 )
...
old-commit-hash: 6ace88a0f1165bbbb076da063ae1a8872a6af27c
2021-11-10 16:05:49 +01:00
Dean Lee
c1a3683ccb
soundd: misc cleanup + tests ( #22796 )
...
* pass AudibleAlert to setAlert
* apply reviews
* remove trailing underscore
* add current_alert_type
* common function get_alert
* same freq as ui
* small cleanup
* setvolumne on change
* static Alert::get
* test_sounds
* remove old test files
* loop twice
* assert loopsRemaining
* assert stop
* init to min_volumne
* Revert "remove old test files"
This reverts commit 12e8bfefae1ae7f8649d3eda1e4126ff8eb1fe17.
* move to ui/soundd
* move test to tests/test_sound.cc
* remove old tests
* cleanup
* lower volume
* Revert "remove old tests"
This reverts commit e6bb12abfa3d5cd0aa8986d2b8da0b1edc7ea31b.
* return Alert
* cleanup
* remove #include <optional>
* cleanup .gitignore
* revert to std::optional
* Revert "revert to std::optional"
This reverts commit a66291c51f3a846652837cc4a43d5d60dd81896b.
* cleanup
* remove volume check
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 797bb1acb0ed548bda23b9f76458a102bf7ccf5a
2021-11-09 14:18:29 -08:00
Dean Lee
c248478aed
UI: do vipc recv in thread ( #22354 )
...
* move vipc to thread
* use invokeMethod
* cleanup
* latest_frame = nullptr
* space
* safe quit
* running_-> exit_
* recv timeout 1000
* cleanup
* run in loop
* requestInterruption
* block queue on vipcConnected for thread safety
* cleanup
* remove unused signal updateFrame
* make signals public
* dont emit signal in update
* apply reviews
* cleanup
* little more cleanup
* fix
* use glTexSubImage2D
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 6e5fed63df10b5416b29dbb0dcb20e1f05e2d793
2021-11-09 13:27:12 -08:00
Dean Lee
6e027a8aa6
util.h: add unit conversion constants ( #22813 )
...
* Add unit conversion constants.
* move to common/util.h
old-commit-hash: e29cc1c2ee7b63c71a3a46d900a8f755bd0048a0
2021-11-08 10:19:34 +01:00
Dean Lee
0b73c09488
ui/MainWindow: remove emit keyword on slot ( #22790 )
...
old-commit-hash: dd1531af967a9ad826f074c3de1be45e418fd84e
2021-11-04 14:43:28 +01:00
Willem Melching
dc3075790e
Move navigation into separate daemon ( #22767 )
...
* Add navd folder
* prints route instructions to console
* broadcast NavInstuction without lanes
* show basic instructions and eta
* parse out lane info
* use swaglog
* clip distance on ui side
* draw lane directions
* show route
* add to process config
* add to release files
* small cleanup
* show route without gps
* pop open map on initial route
* fix error messages around no gps
* done
* make persistent process
* handle end of route
* clear route on offroad
* only one timer
* fix layout hacks
* explicit rendering at 20Hz
old-commit-hash: bef686f2752bcad4bb3116c2be63157ee01eab73
2021-11-04 14:32:32 +01:00
Mayfield
43e1903073
enable wshadow ( #22756 )
...
* enable wshadow (#22714 )
* fix replay
* more build fixes
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 5246f0231e6bfa572c0dd89c60e538910817faa2
2021-11-02 17:08:53 +01:00
Dean Lee
40b2bb9f65
params: code cleanup ( #22744 )
...
* cleanup params
* apply review
* continue
* use c_str
* cleanup filelock
* don't check return code of close()
* remove call_once
* cleanup params_pyx
* cleanup comment
old-commit-hash: 2773ff5aceb8874a9319c819ec3707705a00604d
2021-11-01 11:22:34 +01:00
Willem Melching
0d035f6898
PyQt demo app ( #21625 )
...
* build python helpers lib
* call setMainWindow from python
* put in helper lib
* linter
* move to scripts
old-commit-hash: 25e4e94691d90f1a4496a2742c63ede108593e15
2021-10-29 12:37:17 +02:00
Dean Lee
da6ebc2f9d
remove unused signal displayPowerChanged ( #22719 )
...
old-commit-hash: 3b936aaca9af3da1cdce0635cf9d539e8ad574b8
2021-10-29 12:09:03 +02:00
Adeeb Shihadeh
72d7b40eec
UI: add opensans semibold
...
old-commit-hash: e33cd47b5c565a8d7a96a83a934dd23ab055c4bd
2021-10-28 13:07:39 -07:00
Willem Melching
82ebe9f0ee
nav: support multiple banners in route segment ( #22722 )
...
old-commit-hash: d4433cc2d8363ad30ceec62fb80e333ec09f39b7
2021-10-28 19:11:29 +02:00
Willem Melching
8d9783a379
maps: allow using MAPBOX_TOKEN env variable ( #22721 )
...
old-commit-hash: 0ba40954b9bf6810e223600c30affdc15a2b4f9c
2021-10-28 16:13:44 +02:00
Dean Lee
fd2bc4ce18
Qt/CommaApi: cache private key ( #22715 )
...
* cache private key
* space
* no need to check mtime
* call_once
* simplify
old-commit-hash: 3f4cc9a246e2a244e219f9766cd0edec93a54e26
2021-10-27 21:12:00 -07:00
Adeeb Shihadeh
95f5cabc04
add inter fonts to assets ( #22704 )
...
old-commit-hash: 950acb476c0bed4b03b3359b3030d492d982c664
2021-10-26 20:40:09 -07:00
Adeeb Shihadeh
4099783375
add sdcard support ( #22703 )
...
* generalize
* factory reset
old-commit-hash: f4c2398db4c2dacc690d4115c04c7afb98a52a08
2021-10-26 19:34:08 -07:00
Willem Melching
8a0c57433e
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
old-commit-hash: cca07c0c730eb6e0d8dab0bde099a2ed706d14de
2021-10-26 18:59:17 +02:00
Adeeb Shihadeh
1d1c7e9c64
UI: increase camera view update frequency
...
old-commit-hash: 7f3904ee8e9cc5fa2e113f80f0543fe6dd1b6e34
2021-10-22 21:11:57 -07:00
Adeeb Shihadeh
f2e9540b73
UI: fix fcc.html when using QRC
...
old-commit-hash: 84d5adedd843d4e48690ff521cd7a51b71644dfc
2021-10-22 21:04:00 -07:00
Adeeb Shihadeh
4e005ead0a
UI: don't block UI on vipc recv ( #22644 )
...
* UI: don't block UI on vipc recv
* use a timer
* move that
old-commit-hash: c4de1fef4f925e9ba5292f501c2acd70dd0f1505
2021-10-22 14:16:14 -07:00
Dean Lee
457266ce89
CameraView: fix possible crash on 'fit in widget' mode ( #22594 )
...
old-commit-hash: 5735d69d47a1de021e2949b192ffdda7a9144aab
2021-10-18 11:02:08 +02:00
lipniak
69fb512da8
UI: add missing header to fix Ubuntu 21 build ( #22577 )
...
Co-authored-by: predicate@bonzo <noreply@example.com >
old-commit-hash: df9492d1e118aa610d355a7220fdeaeef46efdc1
2021-10-16 13:30:14 -07:00
ZwX1616
d4cbef299b
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 >
old-commit-hash: 8574e79fecff6dba6c68486b627c73499d4b3d03
2021-10-13 17:00:46 -07:00
Dean Lee
96a8d9dd3e
UI: fix stuck in visionIPC receive timeout ( #22450 )
...
old-commit-hash: afaf235acd533e9c105925caab1e872ee3d3457b
2021-10-09 14:43:27 -07:00
Willem Melching
1c5ffc32ea
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 >
old-commit-hash: d898841e87d548cd057a7546b1c28be36eab0f1a
2021-10-07 23:47:23 -07:00
Adeeb Shihadeh
782d7023d2
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 >
old-commit-hash: 5b641379ae04d3408093381629b9d60dee81da27
2021-10-07 16:32:44 -07:00
Willem Melching
10d0b511b5
ui: make OpenGL context current before connecting to VisionIPC
...
old-commit-hash: 9c771b45fcb56197f5f0680690c372199736fb87
2021-10-04 10:37:31 +02:00
Adeeb Shihadeh
408273df05
update useradmin url
...
old-commit-hash: c11be0f49a848ba36a183172038b661a554d2a15
2021-10-01 17:36:46 -07:00
Adeeb Shihadeh
361ee0e83c
UI: auto wide detection on PC ( #22392 )
...
* UI: auto wide detection on PC
* invert width
* cleanup
old-commit-hash: 23ae67bbf95fd95e9a092ca19bd3391a2f16f453
2021-09-30 20:48:02 -07:00
Adeeb Shihadeh
26e39eb441
UI: big pairing QR code ( #22384 )
...
old-commit-hash: 45409cb4fe485dc12168dc9740eb561ffedebe4c
2021-09-30 14:00:52 -07:00
Willem Melching
f4ac70557b
tools: make auth optional for public routes ( #22386 )
...
* tools: make auth optional for public routes
* handle 403
* show warning from c++ replay
old-commit-hash: a31c6ce3f9c352dfe683cc7fa26e1cf630e105e1
2021-09-30 20:13:46 +02:00
Adeeb Shihadeh
a2e6e1c021
setup: add low voltage warning ( #22342 )
...
* setup: add low voltage warning
* read voltage
* fix path
old-commit-hash: 0d0aad05ce8f168b1723fa9c08ed4dbda43d9db5
2021-09-24 14:30:49 -07:00
cydia2020
d3bed07840
UI: Fix mph and wi-fi spelling ( #22334 )
...
* display WiFi as Wi-Fi
* fix typo in metric setting description
old-commit-hash: 70e1c9c40c7f2fdc881de31ea5551bc792339e87
2021-09-23 22:23:34 -07:00
Jason Wen
3a1b5c7110
Fix small typo in DisableRadar toggle description ( #22333 )
...
old-commit-hash: 67c09b4caf11bfff2ecb527ffb1df5826214a6f9
2021-09-23 19:52:59 -07:00
Adeeb Shihadeh
821f1f6cb6
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
old-commit-hash: 649af76fd4ade524df8eb6c56cc8bb09b3772e7c
2021-09-23 17:34:52 -07:00
Willem Melching
06e22360ae
Add DisableRadar_Allow param and settings toggle ( #22329 )
...
old-commit-hash: 8c01ae5716b558039946c07e63d42d16094037d2
2021-09-23 17:19:47 -07:00
Achilles308
6770024b14
UI: re-order sidebar temp wording ( #22323 )
...
old-commit-hash: d888ef8f893dbbe417e0772e5586d66f18d78506
2021-09-23 15:14:00 -07:00
Dean Lee
2fefa32476
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 >
old-commit-hash: abffc8b2ade75eb9365552cb25a1885442d7e011
2021-09-19 15:14:54 -07:00
Adeeb Shihadeh
b3a1f2c67d
UI: fix getting stuck after vipc recv timeout
...
old-commit-hash: 86beb9a81afcc940f780f56dab3c238f024dfaef
2021-09-15 20:31:24 -07:00
Dean Lee
66c6adc436
UI: lazy onboarding widgets init ( #21780 )
...
* don't show onboarding on startup
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 2d640e25c3b95ebaef137c550907e29eb50bc837
2021-09-11 18:18:58 -07:00
Adeeb Shihadeh
9193e1afa1
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 >
old-commit-hash: b3705ede5e9dbc29dcf5ea02bb257a8f576a0556
2021-09-10 17:03:54 -07:00
Dean Lee
f4d8621be1
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 >
old-commit-hash: a034926264cd1025c69d6ceb3fe444965f960b75
2021-09-08 13:13:27 -07:00