Shane Smiskol
bc5d58fe81
clean up
2 years ago
Shane Smiskol
54ec66667c
clean up
2 years ago
Shane Smiskol
fa4e62243a
draft 2.0
2 years ago
Shane Smiskol
2e8ec61a02
no it's not
2 years ago
Shane Smiskol
6cded14cfa
draft
2 years ago
Shane Smiskol
af2c6405c9
remove old settings button
2 years ago
Shane Smiskol
ad21fe0e2f
this works but is ugly
2 years ago
Dean Lee
980ba1312f
ui/map: remove unused variables ( #29098 )
2 years ago
Shane Smiskol
514cf685cc
remove old button
2 years ago
Dean Lee
cc551fe24b
ui/MapSettings: remove function `shorten` ( #29078 )
2 years ago
Shane Smiskol
d70c4916db
nav: improve no route alert text ( #29076 )
...
* kind of
* Revert "kind of"
This reverts commit 25abbbf176
.
* more generic alert text, whenever we're waiting for navd.
* actual better comment
* update translations
2 years ago
Dean Lee
0b8d35b132
ui/map: fix ETA widget text spacing ( #29065 )
...
* fix eta spacing
* fix unit color
---------
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
2 years ago
Shane Smiskol
e4dc86f44d
ui: set global map transition duration ( #29061 )
...
* this works!
* revert properties
* more clean up
* more
* more
* add comment
* final
2 years ago
Shane Smiskol
1f6d6b0a8f
can just use clicked
2 years ago
Shane Smiskol
986728a105
kinda works!
2 years ago
Dean Lee
942a2f9760
ui/map: move `MapInstructions` & `MapETA` to separate files ( #28976 )
2 years ago
Shane Smiskol
5b368a67ea
nav: show warning for routing problems ( #29055 )
...
* all my debugging stuff
* this works
* add comment
* bb navd
* navInstruction is valid when we get a non-empty route response
* now don't need this
* stash
* big cleanup
* clean up
* clean up
* debug
* final clean up
* one line
* flip order
* update translations
* is this simpler?
2 years ago
Shane Smiskol
d0ea8be95f
nav: set icon anchor for destination pin ( #29054 )
...
* anchor!
* whoops
* fix anchor
2 years ago
Mitchell Goff
ba03e94290
nav: draw destination pin on top of navigation path ( #29050 )
...
* Draw destination pin on top of navigation path
* fix draw ordering
fix draw ordering
* add todo
* rename to feature
* draft
* clean up
* testing
* testing 2
* Revert "testing 2"
This reverts commit fc236aafbc
.
* Revert "testing"
This reverts commit 982a508ad7
.
* clean up
* add todo
* show!
* Update selfdrive/ui/qt/maps/map.cc
* lgtm
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Shane Smiskol
7a673c87ff
nav: show green path when enabled ( #29020 )
...
* draft
* draft
* clean up
* clean up
* cleaner
* needs to be here to work
* or this works
* works too
* stash
* clean up qdebugs
* revert to master
* reapply changes
add bool
* consistent cmts
* clean up
* can be simpler combined
* clean up/fix
2 years ago
Shane Smiskol
358a86b636
nav: show when using navigate on openpilot ( #28958 )
...
* draft
* clean up
* helper
* comment
* debug
* Revert "debug"
This reverts commit d30ff3e996
.
* nav path
* transition
* revert width transition
revert width transition
* 400 is better, hard to see flicker at 500
* add width back
* tune
* tune
* 12 might be good
* 400ms is good
* lower case company lcc
* up here
* up here
* clean up
* multiple lines
* self explanetory
2 years ago
Dean Lee
1afdca2ef1
ui/MapSettings: remove call to `clearLayout` ( #28961 )
2 years ago
Dean Lee
d47d8808d1
ui/map: update destination on param change ( #28957 )
...
* update destination on param change
* use ParamWatcher
* remove include
2 years ago
Dean Lee
53934c7fee
ui/map: fix wrong remaining time ( #28960 )
2 years ago
Dean Lee
187696977e
ui/MapSettings: store destinations to load on widget init ( #28950 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 years ago
Dean Lee
ccfca97dfc
ui/map: cache navigation images at startup ( #28783 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 years ago
Dean Lee
c3fe3c8162
ui/MapSettings: sort location JsonArray inplace ( #28886 )
2 years ago
Shane Smiskol
daf80eaef5
map panel: show map on interactive timeout ( #28904 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 years ago
Dean Lee
ae4a375dd6
ui/map: handle & display error in MapWindow ( #28854 )
2 years ago
Shane Smiskol
c158537df6
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
2 years ago
Shane Smiskol
34a5e626d6
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
2 years ago
Cameron Clough
6643616c47
nav: hide settings on map request visible ( #28884 )
2 years ago
Cameron Clough
4d61d680b2
UI: preserve recent destinations sort order ( #28881 )
2 years ago
Dean Lee
8149c07fac
ui/map: singleton navigation requests ( #28862 )
2 years ago
Dean Lee
4544b40b70
ui/map: don't clear eta when map is hidden ( #28878 )
2 years ago
Shane Smiskol
305ab3cb3e
ui: don't hide sidebar twice ( #28868 )
...
* draft
* draft 2
* comment and clean up
* delete
* better name
* even better?
2 years ago
Shane Smiskol
28df811f42
ui: remove unused MapPanel function ( #28874 )
...
forgot about this
2 years ago
Shane Smiskol
71e001ee57
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
2 years ago
Dean Lee
e1ea1d58e4
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
2 years ago
Dean Lee
7a42e51c90
ui/map: use overlay widget to simplify code and improve rendering performance ( #28800 )
...
* move widgets into overlay
* adjust margin
* add spacing
2 years ago
Dean Lee
060490bdf1
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
2 years ago
Jason Young
e816c81a5a
nav ui: restore speed-adaptive map zoom level ( #28796 )
...
Revert "map: fix repeated call to m_map->setZoom (#25784 )"
This reverts commit f0665911b2
.
2 years ago
Dean Lee
5991aea10a
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
2 years ago
Dean Lee
2d37c219e7
ui: cleanup controls ( #28809 )
...
* cleanup controls
* restore LayoutWidget
2 years ago
Dean Lee
93413c43df
UI: fix memory leak in MapSettings ( #28759 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 years ago
Dean Lee
081cc2eb79
ui/MapSettings: remove white border around destinations ( #28771 )
2 years ago
Adeeb Shihadeh
3e1ba3ff35
Revert "ui: fix memory leak in `MapSettings` ( #28701 )"
...
This reverts commit 5a00b42092
.
2 years ago
Dean Lee
5a00b42092
ui: fix memory leak in `MapSettings` ( #28701 )
2 years ago
Shane Smiskol
dcb769982f
ui: hide sidebar when map shows ( #28490 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 years ago
Harald Schäfer
85c4b1a400
Nav: show gps as long as it's 100m accuracy ( #28713 )
...
* Nav: show gps as long as it's 100m accuracy
* Get norm
* get std
2 years ago