Shane Smiskol
17d815ddfc
revert me
1 year ago
Shane Smiskol
5d747dc7f3
this works
1 year ago
Shane Smiskol
4f223bcf70
whoops
1 year ago
Shane Smiskol
8967938e2f
more
1 year ago
Shane Smiskol
492d86d9da
simpler
1 year ago
Shane Smiskol
4a9290ef9d
mbgl has its own retries that never work, don't reinit multiple times at once
1 year ago
Shane Smiskol
75d4106415
we still can't swap the token live
1 year ago
Shane Smiskol
92790ea682
MOAR
1 year ago
Shane Smiskol
55ce6f1de6
more clean up
...
full message is "loading style failed: SSL handshake failed"
1 year ago
Shane Smiskol
55e40f974b
log errors like map renderer
1 year ago
Shane Smiskol
5d18d4b427
fix
1 year ago
Shane Smiskol
3267dae5cd
this is fine, takes some time to init
1 year ago
Shane Smiskol
791215a41b
re-initialize map on SSL handshake failure (time)
1 year ago
Dean Lee
06c4a541da
ui/map: check valid before accessing `PositionECEF` ( #31961 )
...
check valid
1 year ago
Dean Lee
2bee28938a
ui/map_eta: avoid divide by zero ( #31962 )
1 year ago
YassineYousfi
754dd45ffa
disable navigate on openpilot ( #32106 )
...
* 2eedcd90-b7db-46cb-86be-740f48ded7ab/700
* noop ciao
* here too
* mapsd too
* update translations
* disable mapsd test from test onroad
* disable mapRenderState test from timings
* lint
* fix exp mode toggle panel
* update tr
* french done
* dont build mapd
* only no nav
* just comment
* deprecate nav fields
* rm not comment
* dont deprecate too much
* remove from services
* merge cereal
1 year ago
Dean Lee
9315d0e7a5
ui/map_eta: round remaining km/mi to one decimal place ( #31968 )
...
round distance
1 year ago
Hoang Bui
08037594e2
map: Transfer to MapLibre ( #31185 )
...
* change codebase
* compile
* add mapboxprovider
* works with map_renderer in c
* remove maplibre temp
* maplibre works
* cleanup build.sh
* x86 stuff
* add lib
* update release files
* don't need that
* tici build
* tici build
* add tici lib
* update refs
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
1 year ago
ugtthis
db3ef3e1d8
UI/MapETA: Increased contrast of widget texts for better readability ( #30952 )
1 year ago
Adeeb Shihadeh
08054e9800
bigger map tile cache ( #30228 )
...
* bigger map tile cache
* start with 2x default
* Update selfdrive/ui/qt/maps/map_helpers.cc
2 years ago
Shane Smiskol
96fd66e4e2
navd: locationd is only trusted source ( #29803 )
...
* finish revert for https://github.com/commaai/openpilot/pull/27579
* comment out
* clean up
2 years ago
Cameron Clough
08903fb4e0
MapPanel: provide QObject::connect context ( #29731 )
2 years ago
Cameron Clough
3d1a6f6146
ui/NavManager: parse location timestamp from API ( #29665 )
2 years ago
Dean Lee
12073c07af
ui/MapSettings: sort destinations by recent activity ( #29079 )
2 years ago
Shane Smiskol
b8fb260558
ui/map: clip vehicle speed to min of 10 m/s ( #29601 )
...
* all the changes I want to make
* Revert "all the changes I want to make"
This reverts commit c18132b73e
.
* add initialized
* clip to 10 m/s
* fix bug
* rm
* here?
2 years ago
Shane Smiskol
b9d77afd7e
ui/map: initialize speed filter with current speed ( #29605 )
...
fix map starting from 0 zoom
2 years ago
Dean Lee
21da5a216f
cpplint: add filter `build/include_subdir` ( #29585 )
2 years ago
Dean Lee
4ea7833060
ui/map_instructions: restore padding ( #29548 )
...
* restore padding
* fixes
* fix left and right margins
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Dean Lee
ac93902983
cpplint: add filter `whitespace/forcolon` ( #29582 )
...
whitespace/forcolon
2 years ago
pencilpusher
472151b6a0
ui/map: keep the car icon aligned to its bearing ( #29482 )
...
* rotate icon with current bearing
When user is rotating the map, the car icon should stay fixed on the cars bearing, not the map.
* spacing
* comment
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Dean Lee
2d99521e75
cpplint: `build/include_what_you_use` ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Dean Lee
363740a497
cpplint: add `readability/braces` filter ( #29554 )
2 years ago
Dean Lee
9ea2cd8d0b
ui/map_instructions: center lanes ( #29465 )
...
* center lanes
* test
* similar spacing and no need for stretchj
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
pencilpusher
f2d22075eb
ui/map: interactive counter fix ( #29470 )
...
* use interactive_counter instead of separate zoom and pan counters
* use interaction_counter instead of separate zoom and pan counters
* same styling
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Dean Lee
efefcfdca5
ui/map: better rounding for distances ( #29151 )
...
* round distance
* use same format in ETA
* remove vanish
* restore translate
* use nearbyint
* update translations
* mark finished
* consistent style
* we don't include this anywhere in ui, needed?
* fix missing std
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Shane Smiskol
d827cd6a83
map eta: use pair ( #29460 )
...
use pair
2 years ago
Shane Smiskol
6d2922b8e6
ui/map: slight turn lane types ( #29446 )
...
* add slight turns
* bump cereal
* revert
* hmm, i like this better
* whops
* fix
* bump
2 years ago
Dean Lee
202b2f2113
ui/map: hide icon if no maneuver type ( #29084 )
...
hide icon if no maneuver type
2 years ago
Dean Lee
3a277f1b81
ui/map: show map on destination set/change ( #29327 )
...
* show map on dest set/change
* check for rcv_frame
* clear current_nav_dest
* restore allow_open
* use requestShow
* cleanup
* one check
* revert behavior changes
* Update selfdrive/ui/qt/maps/map.cc
* more obvious
* Update selfdrive/ui/qt/maps/map.cc
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Shane Smiskol
da38aed483
map: set destination marker visibility once ( #29444 )
...
set visibility once
2 years ago
Dean Lee
613bbb7e6d
ui/map: assign the return value to `last_position` ( #29341 )
...
assign the return value directly to last_position
2 years ago
Dean Lee
9071c8a4fc
ui/map_instructions: set margin-top to UI_BORDER_SIZE ( #29387 )
2 years ago
Shane Smiskol
cc747e2166
ui/map_instructions: round <500 distances ( #29333 )
...
round
2 years ago
Dean Lee
4a89928a9a
ui/map: fix CSS error ( #29332 )
...
fix css error
2 years ago
Shane Smiskol
52675b2739
ui/map_instructions: clean up lane icon selection ( #29330 )
...
* draft
* revert
* remove extra directions
* more clean up
* add todo
* revert rename
* I assume this is moot, but preserve behavior
* spacing
2 years ago
Dean Lee
80356b34f1
ui/map: check NavDestination only if navInstruction is invalid ( #29331 )
...
* check NavDestination only if navInstruction is invalid
* Update selfdrive/ui/qt/maps/map.cc
Co-authored-by: Shane Smiskol <shane@smiskol.com>
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Dean Lee
15bb9dd096
ui/map: set WA_NoMousePropagation to prevent mouse event from propagating up ( #29329 )
...
set WA_NoMousePropagation
2 years ago
eFini
8d7e909b53
map ui: Fixed ETA text alignment issue in CJK ( #29311 )
...
fixed ETA text alignment issue in CJK
2 years ago
Cameron Clough
748238f87c
ui/map: update mapbox style ( #29186 )
2 years ago
Shane Smiskol
cffc14e4d8
map: fix exit lane direction when active ( #29159 )
...
* fix
* clean up
* comment
2 years ago