Dean Lee
e8478e81c7
ui/map: update destination on param change ( #28957 )
...
* update destination on param change
* use ParamWatcher
* remove include
old-commit-hash: d47d8808d1
2 years ago
Dean Lee
cba02f9a59
ui/map: fix wrong remaining time ( #28960 )
...
old-commit-hash: 53934c7fee
2 years ago
Dean Lee
b81910128d
ui/MapSettings: store destinations to load on widget init ( #28950 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 187696977e
2 years ago
Dean Lee
9212a16e54
ui/map: cache navigation images at startup ( #28783 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: ccfca97dfc
2 years ago
Dean Lee
1c2f2d52e1
ui/MapSettings: sort location JsonArray inplace ( #28886 )
...
old-commit-hash: c3fe3c8162
2 years ago
Shane Smiskol
e9c0c9b693
map panel: show map on interactive timeout ( #28904 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: daf80eaef5
2 years ago
Dean Lee
387f6b6bf6
ui/map: handle & display error in MapWindow ( #28854 )
...
old-commit-hash: ae4a375dd6
2 years ago
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: c158537df6
2 years ago
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: 34a5e626d6
2 years ago
Cameron Clough
9716affb3b
nav: hide settings on map request visible ( #28884 )
...
old-commit-hash: 6643616c47
2 years ago
Cameron Clough
6b3daee3d3
UI: preserve recent destinations sort order ( #28881 )
...
old-commit-hash: 4d61d680b2
2 years ago
Dean Lee
261d7ed673
ui/map: singleton navigation requests ( #28862 )
...
old-commit-hash: 8149c07fac
2 years ago
Dean Lee
22b1baff64
ui/map: don't clear eta when map is hidden ( #28878 )
...
old-commit-hash: 4544b40b70
2 years ago
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: 305ab3cb3e
2 years ago
Shane Smiskol
b205c1b1f0
ui: remove unused MapPanel function ( #28874 )
...
forgot about this
old-commit-hash: 28df811f42
2 years ago
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: 71e001ee57
2 years ago
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: e1ea1d58e4
2 years ago
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: 7a42e51c90
2 years ago
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: 060490bdf1
2 years ago
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: e816c81a5a
2 years ago
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: 5991aea10a
2 years ago
Dean Lee
c25ca091ff
ui: cleanup controls ( #28809 )
...
* cleanup controls
* restore LayoutWidget
old-commit-hash: 2d37c219e7
2 years ago
Dean Lee
c49d605320
UI: fix memory leak in MapSettings ( #28759 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 93413c43df
2 years ago
Dean Lee
38be68ff5e
ui/MapSettings: remove white border around destinations ( #28771 )
...
old-commit-hash: 081cc2eb79
2 years ago
Adeeb Shihadeh
82893982e5
Revert "ui: fix memory leak in `MapSettings` ( #28701 )"
...
This reverts commit 3ab739ea1374fc13297884b62065b0612dba7358.
old-commit-hash: 3e1ba3ff35
2 years ago
Dean Lee
666467266d
ui: fix memory leak in `MapSettings` ( #28701 )
...
old-commit-hash: 5a00b42092
2 years ago
Shane Smiskol
04bc7566af
ui: hide sidebar when map shows ( #28490 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: dcb769982f
2 years ago
Harald Schäfer
659fc99be4
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
old-commit-hash: 85c4b1a400
2 years ago
Dean Lee
34db65aad0
ui/map_settings: remove repaint ( #28642 )
...
old-commit-hash: e8db988f2a
2 years ago
Cameron Clough
7e697a0d3d
update mapbox style ( #28638 )
...
updated map components and dataset
old-commit-hash: a2b7d2c867
2 years ago
Cameron Clough
b6e6f008f1
UI: improved nav destination entry ( #28476 )
...
old-commit-hash: bc5a899024
2 years ago
Cameron Clough
e199a1a953
MapPanel cleanup ( #28474 )
...
old-commit-hash: f7f5537af7
2 years ago
Harald Schäfer
f05cf4cdf1
Only trust locationd for nav ( #27579 )
...
* Only trust locationd for nav
* unused var
old-commit-hash: d75ee19def
2 years ago
Harald Schäfer
0ac73f2a81
MPC path in UI ( #27380 )
...
* 10s lat
* Full length MPC
* redfine N
* Leave controls the same for now
* Updates
* use long plan in lat plan
* interp plan
* simplergit add selfdrive/controls/plannerd.py selfdrive/controls/
* expand to 10s
* revert this
* fix linter
* vizualize
* fix long test
* typo
* cleanup
* compiles
* unused
* unused
* bump cereal
* bump cereal
* use model if no uiplanm
* update replay
* update ref commit
* bump cereal to master
old-commit-hash: eb8bdc0026
2 years ago
Harald Schäfer
63efb985cd
Revert locationd to gpsLocation ( #26963 )
...
* revert locationd laika change
* switch msg
* change proc replay
* back to gpslocation
* update ref
* no np floats in msg
* Ignore empty laikad messages in mapos
* more tolerance
* c++ doesnt work like that
old-commit-hash: 4c33d94d3f
2 years ago
Kurt Nistelberger
95f4709f7d
match style
...
old-commit-hash: 2b611862be
2 years ago
Kurt Nistelberger
e142178284
Navigation: add destination marker ( #26873 )
...
* add navigation destination marker
* fix removal
* update default marker icon
* update default marker
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: b6440304d5
2 years ago
Adeeb Shihadeh
b6a495e992
nav: add README ( #26802 )
...
* start docs
* Update README.md
old-commit-hash: 8d95faf97a
2 years ago
Adeeb Shihadeh
6831f3499f
UI: only show cell settings on non-prime connection ( #25067 )
...
* fix indentation
* add primeTypeChanged signal to uiState
* hide advanced networking toggles on prime type change
* switch between map settings on prime type change
* cleanup
* remove duplicate code, wait for signal
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 06e283a750
3 years ago
Dean Lee
53c4262098
map: fix repeated call to m_map->setZoom ( #25784 )
...
Fix repeated map api calls
old-commit-hash: f0665911b2
3 years ago
Dean Lee
df1668b35f
MapPanel: refresh only when visible and destination changes ( #25739 )
...
rebuild widgets only when mappanel is visible
old-commit-hash: ef767f6332
3 years ago
Dean Lee
fd889cf696
cleanup map_helpers.cc ( #25706 )
...
old-commit-hash: 115eed9a54
3 years ago
Dean Lee
f2035fe63c
UI/map: remove redundant QString ctor ( #25704 )
...
old-commit-hash: 69e9b285b3
3 years ago
Dean Lee
f4e57aa20d
map_helpers: pass parameters by const reference ( #25701 )
...
pass parameters by const reference
old-commit-hash: d9ca45ed1b
3 years ago
eFini
9ca692179f
Fix is_rhd param name in map.cc ( #25464 )
...
old-commit-hash: 1de8ad891b
3 years ago
Adeeb Shihadeh
62b8b25cdf
nav: same icon size for active & inactive lanes ( #25383 )
...
* nav: same icon size for active & inactive lanes
* update translations
old-commit-hash: ac305dacef
3 years ago
Willem Melching
2f4d4cd8c5
navd: add back VisionIPC map renderer ( #25212 )
...
* builds standalone
* process live msg
* render into nv12a
* VISION_STREAM_RGB_MAP -> VISION_STREAM_MAP
* cleanup sconscript
* main include cleanup
old-commit-hash: 86c1e8164a
3 years ago
Willem Melching
ce7948464f
nav: draw inactive lanes with 50% opacity ( #25157 )
...
* nav: draw inactive lanes with 50% opacity
* update ts
old-commit-hash: 49dd56fc24
3 years ago
Lee Jong Mun
77a6b2d0cd
Improve Korean translations ( #25105 )
...
* kor translations fix
update_translations --release
qm
* space
* qm
* map setting tr space remove
* ts update
fix
ko_update
ch_update
* qm release
* Update QM
* Fix this translation
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 903bb40528
3 years ago
Shane Smiskol
314166f5fd
Nav: wrap strings ( #25089 )
...
* Wrap nav strings and translate
* Update QM
* Update QM
old-commit-hash: cbff8fcbd0
3 years ago