Shane Smiskol
6f078534b8
ui: rename experimental mode toggle variable
...
old-commit-hash: 6e50706baa2dcbc7f3439ac10ab1a04b12ffb7cf
2023-07-17 20:38:38 -07:00
Shane Smiskol
f9c6c9e8c3
Revert "experimental mode: gate navigate on openpilot ( #28883 )" ( #29005 )
...
This reverts commit 929880496515e3f995634e561145802bf15a60ea.
old-commit-hash: b5b431c12d54aaa115f9750da6d49e62a6d31778
2023-07-17 19:56:38 -07:00
Adeeb Shihadeh
98972afe8a
installer: openpilot-nightly installs nightly ( #28997 )
...
old-commit-hash: 2d6ff7b7b1a8b61d476d3ffba158c94bad9b0c1a
2023-07-17 17:01:41 -07:00
Dean Lee
8c026eff7c
ui/MapSettings: remove call to clearLayout ( #28961 )
...
old-commit-hash: 1afdca2ef1a0d2ae9d0ad03205667dc644e319ac
2023-07-17 15:32:28 +01:00
eFini
bcf95f6dd7
Multilang: Chinese (Traditional) translations update ( #28984 )
...
old-commit-hash: 454a5e8a266e9c99d545cd77f91306606559b8f6
2023-07-16 21:54:55 -07:00
Dean Lee
e8478e81c7
ui/map: update destination on param change ( #28957 )
...
* update destination on param change
* use ParamWatcher
* remove include
old-commit-hash: d47d8808d1f973e4765a3fc806bcce6d33681048
2023-07-16 13:48:33 -07:00
Dean Lee
80e7b739b4
ui/util: add a helper class ParamWatcher ( #28978 )
...
* new class ParamWatcher
* Update selfdrive/ui/qt/util.cc
* Update selfdrive/ui/qt/util.h
* Update selfdrive/ui/qt/util.cc
* Update selfdrive/ui/qt/util.cc
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: b4f7e76531cfa378ff231b399b3910b4fb996363
2023-07-16 13:17:16 -07:00
Dean Lee
cba02f9a59
ui/map: fix wrong remaining time ( #28960 )
...
old-commit-hash: 53934c7fee3da1aa7ee752c53796f3859e156815
2023-07-15 13:28:21 +01:00
Dean Lee
b81910128d
ui/MapSettings: store destinations to load on widget init ( #28950 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
old-commit-hash: 187696977e32c0042b9141d6042e8dddb507fceb
2023-07-15 11:37:41 +01:00
Dean Lee
b8110a90d2
ui: set max brightness when showing the QR code ( #28907 )
...
* set max brightness when showing the QR code
* set brightness in ui
* set in device
old-commit-hash: e958ce1c313f3dbe8724bf3d574bc12305862ebb
2023-07-14 12:22:35 -07:00
Dean Lee
9212a16e54
ui/map: cache navigation images at startup ( #28783 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
old-commit-hash: ccfca97dfc08f2d7a583fe268bb816c5ae47fc6b
2023-07-14 20:18:49 +01:00
Shane Smiskol
296de39f48
experimental mode: gate navigate on openpilot ( #28883 )
...
* first draft copy, needs updates
* gate behind exp mode
* can be one line
* this is no longer true
* toggle isn't just e2e long now, rename
* don't enable/disable
* kinda works!
* remove old giant qstring
* comment clean up
* similar breakpoint
* more clean up
* fixup onroad
* preserve planner behavior, and we don't need to look at confirmed param if we're onroad
* update translations
* vanish translations
* use scene for op long
* lowercase!
* updated copy
* need to check longitudinal here now too
* clean up!
* here is better
* used
* no nav emoji
* don't check param if not valid
* revert this
revert this
* ed
old-commit-hash: f973d605b2121a575a46f4a18dfcbb2df1f4816b
2023-07-14 05:26:59 -07:00
Shane Smiskol
8e89512da7
ui: use stencil buffer to draw polygons ( #28902 )
...
* Update ui.cc
* add a bunch of debugging stuff i don't want to lose
* Revert "add a bunch of debugging stuff i don't want to lose"
This reverts commit 2de6ab5b68bc528e913db68f7fe576b6ebe89a9b.
* enable stencil buffer
* lower ui CPU usage
* Revert "lower ui CPU usage"
This reverts commit 650241c0d89c1476de3995f1dc3f87f671dd1dd7.
old-commit-hash: 936bfcd7bafbb9a102f726fe903c9aa9e46c4283
2023-07-13 20:38:49 -07:00
Dean Lee
1c2f2d52e1
ui/MapSettings: sort location JsonArray inplace ( #28886 )
...
old-commit-hash: c3fe3c816298fc862b3136a7f52822a4c0525393
2023-07-13 10:59:46 +01:00
Shane Smiskol
e9c0c9b693
map panel: show map on interactive timeout ( #28904 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
old-commit-hash: daf80eaef55bf598325b4f771b28c094df64559b
2023-07-13 10:35:57 +01:00
Dean Lee
387f6b6bf6
ui/map: handle & display error in MapWindow ( #28854 )
...
old-commit-hash: ae4a375dd658dbb2b5c3093a097100d7c0e1040a
2023-07-13 10:26:58 +01:00
Shane Smiskol
222f7f6727
ui: singleton Device instance ( #28908 )
...
* singleton
* remove awake
old-commit-hash: b8dd4dcc288361f51f7664ef82055bfb47d83513
2023-07-12 18:36:44 -07:00
Shane Smiskol
b9aa2c232f
ui: fix timeout typo ( #28905 )
...
tim is out -> timeout
old-commit-hash: d68bd905fc9440352007e115c0f46dc9c0b4e402
2023-07-12 13:09:42 -07:00
Shane Smiskol
24bd763e45
ui: reset nav status on offroad transition ( #28897 )
...
* need to do this
* actually better to clear it on offroad transition, then onroad transition will be fine
old-commit-hash: c158537df69c21dc0f134774cdd02b48dfbadeeb
2023-07-11 19:04:41 -07:00
Shane Smiskol
37ee12de52
ui: show map with nav ( #28867 )
...
* accept touch events in map settings
* draft
* draft 2.0
* revert this stuff
* need this
* fix
* clean up debug prints
* fraft
* only show map on closeSettings if nav
* works!
* can't do it here
* I was going to connect signals from UIState to HomeWindow, then to OnroadWidget, but that seems like too much
* just need to keep track of it in onroad, seems like the cleanest option
* ideally we show the map where we set the scene variable, and that's in map.cc
* old variable
* comments
* less confusing
* app comment
* add back
* fix
* move to top
* remove this comment
old-commit-hash: 34a5e626d6f55cd33bc292e4f9d4a21e1fd2972b
2023-07-11 14:49:19 -07:00
Cameron Clough
9716affb3b
nav: hide settings on map request visible ( #28884 )
...
old-commit-hash: 6643616c475a2a9a884352af19233e596eb5e9e3
2023-07-11 21:40:33 +01:00
Lee Jong Mun
912418808a
Multilang: kor translation update ( #28885 )
...
kor translation update
old-commit-hash: 92b5f0b5e57f61ab3bc4ebd0c76dc655ac30c904
2023-07-11 13:06:11 -07:00
Cameron Clough
6b3daee3d3
UI: preserve recent destinations sort order ( #28881 )
...
old-commit-hash: 4d61d680b256b38251bd8231d2e4aeb2e31f28de
2023-07-11 12:39:06 +01:00
Dean Lee
261d7ed673
ui/map: singleton navigation requests ( #28862 )
...
old-commit-hash: 8149c07fac9aa651608aa761f50744edcb5b9ea1
2023-07-11 11:42:10 +01:00
Dean Lee
573e1ddbc4
ui: capnp best practices ( #28877 )
...
old-commit-hash: d34138e2759e8067e9d7d005957e29a23684c71c
2023-07-11 10:26:57 +01:00
Dean Lee
22b1baff64
ui/map: don't clear eta when map is hidden ( #28878 )
...
old-commit-hash: 4544b40b7077b9aa7447c8fee1d0b254397eec65
2023-07-11 10:23:45 +01:00
Shane Smiskol
a11b6330ae
ui: don't hide sidebar twice ( #28868 )
...
* draft
* draft 2
* comment and clean up
* delete
* better name
* even better?
old-commit-hash: 305ab3cb3eeee3f821f7ff5ca823616390dc253f
2023-07-11 00:58:28 -07:00
Shane Smiskol
b205c1b1f0
ui: remove unused MapPanel function ( #28874 )
...
forgot about this
old-commit-hash: 28df811f42c83c905d6d942eddf0017d096ca7d9
2023-07-11 00:46:59 -07:00
Shane Smiskol
c9630b0a7a
map settings: accept touch events ( #28865 )
...
* accept touch events in map settings
* use override
* revert this
* remove debug stuff
* add comments
* not the main purpose
old-commit-hash: 71e001ee577811d2bf1ea1973545322c6a3ba95d
2023-07-11 00:21:25 -07:00
AlexandreSato
75c1973249
Multilang: update pt-BR translations on prime ad ( #28866 )
...
update pt-BR translations on prime ad
old-commit-hash: a81209646474d50352f8d1aaeceff324c38f670a
2023-07-10 14:49:27 -07:00
mitchellgoffpc
c1d07a1829
Revert "UI: Indicate when Nav on OP is enabled ( #28665 )"
...
This reverts commit 987dca2fdb2f3495efaed8c8526b81c3643a9a74.
old-commit-hash: 1690cf4af6c88c52eeec0c61eae10074a169d563
2023-07-10 13:52:55 -07:00
Dean Lee
9caed10c23
ui: cleanup setMainWindow ( #28768 )
...
* cleanup
* revert that
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 289fd32699a2be0cac06a026d07ba1da2db38c6e
2023-07-09 16:46:50 -07:00
Dean Lee
96b9902629
ui/map: reuse the Qlabels and remove call to clearLayout ( #28788 )
...
* dont clearlayout
* replace show with setVisible
* remove signals&connections, call updateDistance in updateInstructions
* refactor updateDistance to getDistance
old-commit-hash: e1ea1d58e4f8e96c9c14367ade2e4e650a9ffb9a
2023-07-09 21:27:24 +01:00
Dean Lee
d70f51a8db
ui/map: use overlay widget to simplify code and improve rendering performance ( #28800 )
...
* move widgets into overlay
* adjust margin
* add spacing
old-commit-hash: 7a42e51c90cc837248e4aac8bbc04d3eec7d474d
2023-07-09 16:03:51 +01:00
Dean Lee
0c814c0cf9
ui/map: draw ETA with rich formatted text ( #28780 )
...
* draw ETA with rich formatted text
* no rounded at the bottom corners
* add Params param to member
* fix font typo
* restore opendbc
* set antialiasing
* fix time format
old-commit-hash: 060490bdf1d812cf7d687cb2d04994daa0e75ed0
2023-07-09 11:54:29 +01:00
Dean Lee
a3849a0836
ui/ExperimentalButton: Initialize engageable to false ( #28846 )
...
old-commit-hash: bde531d0bcd8dbed79b164a443508dcb1f622818
2023-07-07 18:46:41 -07:00
Adeeb Shihadeh
5d520dc7ae
ui: add nav to prime features ( #28842 )
...
old-commit-hash: 99f9d21e4b46e7aa1596c47740c1cb1c6ee84437
2023-07-07 15:07:37 -07:00
Dean Lee
ccba136b64
ui: remove function configFont. use struct InterFont ( #28773 )
...
old-commit-hash: 219590885fb7463f39bacbbf1d5274b7251d9e7f
2023-07-06 12:17:56 +02:00
Jason Young
089a09a92a
nav ui: restore speed-adaptive map zoom level ( #28796 )
...
Revert "map: fix repeated call to m_map->setZoom (#25784 )"
This reverts commit 00cc1831bb13d838ba5df4fdfc6c071f7c704493.
old-commit-hash: e816c81a5af8684cf3eb6f0c9d578cf82ebc1588
2023-07-05 15:45:32 -07:00
Dean Lee
b987242655
ui: fix alert disappear when no controlState is received in a frame. ( #28811 )
...
* always return alert
* don't get old alert
old-commit-hash: d9d5ce36345950db8471631a083c9a609595c311
2023-07-05 15:20:28 -07:00
Dean Lee
724ef9d7ef
ui: more descriptive global names ( #28813 )
...
* rename global bdr_s to UI_BORDER_SIZE
* rename header_h to UI_HEADER_HEIGHT
* remove unused footer_h
old-commit-hash: 5991aea10a63d9314149e88e22898875801ef775
2023-07-05 15:00:33 -07:00
Dean Lee
c25ca091ff
ui: cleanup controls ( #28809 )
...
* cleanup controls
* restore LayoutWidget
old-commit-hash: 2d37c219e794cc4d8ed0de031b38b183af281db3
2023-07-05 10:50:14 -07:00
Dean Lee
6b5ca3e86b
ui/wifiManager: remove obsolete methods without definition. ( #28802 )
...
old-commit-hash: 0bbe9bf46afbd98fd141fcc3d9fffe61718bd37b
2023-07-04 11:34:00 -07:00
AlexandreSato
036603682f
Multilang: update pt-BR translation ( #28774 )
...
update pt-BR translations
old-commit-hash: 6495a18cc9e8c1394ac7395d24bb0a661ce35fbf
2023-07-01 18:45:01 -07:00
Dean Lee
c49d605320
UI: fix memory leak in MapSettings ( #28759 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
old-commit-hash: 93413c43df594a63b36c896c629daaef27dd9fe4
2023-07-01 09:45:05 +01:00
Dean Lee
38be68ff5e
ui/MapSettings: remove white border around destinations ( #28771 )
...
old-commit-hash: 081cc2eb79ba917fe037b31d01f669c1a8b16ab9
2023-07-01 08:40:06 +01:00
Dean Lee
235235b2d9
modeldata.h: convert constants to uppercase ( #28769 )
...
old-commit-hash: 32c5e6aafb702a5a17ca7b43c9062ce9e4462d34
2023-07-01 08:26:21 +01:00
Adeeb Shihadeh
75d92ae89c
UI: adjust opacity instead of visibility to indicate engageability ( #28765 )
...
old-commit-hash: 010ef17da552041a3b39f074ea98571e1211d9f7
2023-06-30 19:18:35 -07:00
Mitchell Goff
6a21c44d90
UI: Indicate when Nav on OP is enabled ( #28665 )
...
* Indicate whether nav is enabled in UI
* update border spacing on both enabled and navEnabled change
* update less
* more
* cleanup
* simplify
* fix
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
old-commit-hash: a66135665c9256b4efa1c3ebac171b847dfdceaa
2023-06-30 19:00:36 -07:00
Dean Lee
a8f8d0b512
ui/settings: allow driving personality without CarParams ( #28753 )
...
* allow driving personality without CarParams
* rename to hasLongitudinalControl
* Update selfdrive/ui/qt/util.cc
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 5493cb4289aea0d69e30408075a43044b895c8ec
2023-06-30 13:45:58 -07:00