Jason Wen
447f76d9cf
ui: Split sunnypilot into its own classes
2024-07-29 06:40:35 -04:00
Adeeb Shihadeh
d3cb0d24c4
Sync: sunnypilot/sunnypilot:master into sunnypilot/openpilot-special:master-priv
2024-07-07 10:15:50 -04:00
Jason Wen
b86f7db97d
Revert "remove navigation ( #32773 )"
...
This reverts commit e491c9d9
2024-07-06 22:44:27 -04:00
Jason Wen
d51c2ad6f5
ui: Fix navigation path not updating the correct color
2024-06-29 15:16:28 +00:00
Adeeb Shihadeh
e491c9d964
remove navigation ( #32773 )
...
* remove navigation
* lil more
* fix cabana
* revert for now
* fix docs
* move that over
* lock
* rm assets
2024-06-19 19:14:13 -07:00
Maxime Desroches
5c4ea14a3c
Ubuntu 24.04 ( #32624 )
...
* noble build
* workflow
* symlink
* map only for noble
* sym
* add qt to cppcheck
* cppcheck noreturn in non void funct
* get kaitai header
* kaitai header
* syntax
* try new pyopencl
* try this version
* install lsb-core manually
* support old 20.04 lsb-core
* try arm
* try latest pyopencl
* revert
* use pocl icd
* no lock
* no arm pyopencl
* new intel opencl runtime
* pin filelock
* undo
* glsl version
* new version
* build test
* remove test
* new metadrive
* remove glsl restrictions
* <optional>
* Update .github/workflows/tools_tests.yaml
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* cache
* new cache
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2024-06-18 03:30:32 +00:00
Jason Wen
524d7b73f9
Sync: sunnypilot/panda:master into sunnypilot/panda-special:master-priv
2024-06-12 16:21:36 -04:00
Shane Smiskol
57d64279bd
ui: re-generate JWT on valid system time ( #32571 )
...
* revert me
* Revert "revert me"
This reverts commit 17d815ddfc9a18f7fb9f39f89ec8b4481389b339.
* duh we have timed!
* clean up
* use clocks
* re-initialize map on SSL handshake failure (time)
* this is fine, takes some time to init
* fix
* log errors like map renderer
* more clean up
full message is "loading style failed: SSL handshake failed"
* MOAR
* we still can't swap the token live
* mbgl has its own retries that never work, don't reinit multiple times at once
* simpler
* more
* whoops
* this works
* fix from merge
* rm
* fix cmt
* only an issue calling the function inside itself
2024-05-30 02:08:31 -07:00
Shane Smiskol
c2f55a2600
map window: log style load errors ( #32573 )
...
log errors
2024-05-30 01:52:43 -07:00
DevTekVE
16706bda9c
Update model generation conditions in modeld.py and map.cc
2024-05-19 19:23:32 +00:00
Jason Wen
250afef443
Merge branch 'master' into SP-59-sync-priv-20240507
...
# Conflicts:
# panda
# release/build_release.sh
# selfdrive/car/volkswagen/interface.py
2024-05-15 16:04:19 -04:00
Jason Wen
9e3f57d53e
Merge branch 'master' into SP-59-sync-priv-20240507
2024-05-09 15:48:29 -04:00
Dean Lee
06c4a541da
ui/map: check valid before accessing PositionECEF ( #31961 )
...
check valid
2024-04-24 20:14:42 -07:00
Dean Lee
2bee28938a
ui/map_eta: avoid divide by zero ( #31962 )
2024-04-16 22:23:54 -07:00
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
2024-04-09 10:40:38 -07:00
Jason Wen
6a8f434627
Map: Add back enabled for navigation path color change
2024-04-06 09:25:36 -04:00
Dean Lee
9315d0e7a5
ui/map_eta: round remaining km/mi to one decimal place ( #31968 )
...
round distance
2024-03-21 20:10:29 -07:00
Jason Wen
0daa1e846b
Map: Use latActive and longActive for navigation path color change
2024-03-12 00:06:02 -04:00
Jason Wen
75b38db870
Merge branch 'sync-20240201' into sync-priv-20240201
2024-02-07 22:49:01 -05:00
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 >
2024-02-01 13:37:22 -08:00
ugtthis
db3ef3e1d8
UI/MapETA: Increased contrast of widget texts for better readability ( #30952 )
2024-01-09 20:32:23 -08:00
Jason Wen
783267ec29
Merge branch 'master' into sync-priv-20231108
...
# Conflicts:
# panda
# selfdrive/car/subaru/carcontroller.py
# selfdrive/car/subaru/interface.py
# selfdrive/controls/lib/lateral_planner.py
2023-11-08 16:41:32 -05:00
Adeeb Shihadeh
08054e9800
bigger map tile cache ( #30228 )
...
* bigger map tile cache
* start with 2x default
* Update selfdrive/ui/qt/maps/map_helpers.cc
2023-11-06 09:18:42 -08:00
Jason Wen
c2c2be07bc
3D Building on Map ( #308 )
...
* ui: 3D buildings on map
* add toggle
* toggleable offroad only
* fixes
* Revert "toggleable offroad only"
This reverts commit 7c0c8d99bca3bbec00921c2d438e68b5f9054393.
2023-09-28 00:10:51 -04:00
Jason Wen
ac7d86d292
navd: Auto detect custom Mapbox token ( #285 )
...
* navd: Auto detect custom Mapbox token
* cleanup
2023-09-23 01:26:09 -04:00
Jason Wen
e50f3baa45
Merge branch 'master' into dev-priv/master
...
# Conflicts:
# panda
# selfdrive/car/nissan/interface.py
# selfdrive/car/subaru/carcontroller.py
# selfdrive/car/subaru/subarucan.py
# selfdrive/car/toyota/interface.py
2023-09-07 00:05:25 -04:00
Shane Smiskol
96fd66e4e2
navd: locationd is only trusted source ( #29803 )
...
* finish revert for https://github.com/commaai/openpilot/pull/27579
* comment out
* clean up
2023-09-06 15:47:21 -07:00
Jason Wen
9219b7966c
Merge branch 'master' into dev-priv/master-test
...
# Conflicts:
# panda
# release/build_release.sh
# selfdrive/car/car_helpers.py
# selfdrive/car/chrysler/carcontroller.py
# selfdrive/car/chrysler/carstate.py
# selfdrive/car/chrysler/interface.py
# selfdrive/car/ford/carstate.py
# selfdrive/car/ford/interface.py
# selfdrive/car/gm/carcontroller.py
# selfdrive/car/gm/carstate.py
# selfdrive/car/gm/interface.py
# selfdrive/car/honda/carcontroller.py
# selfdrive/car/honda/interface.py
# selfdrive/car/hyundai/carcontroller.py
# selfdrive/car/hyundai/carstate.py
# selfdrive/car/hyundai/hyundaican.py
# selfdrive/car/hyundai/interface.py
# selfdrive/car/interfaces.py
# selfdrive/car/mazda/carcontroller.py
# selfdrive/car/mazda/carstate.py
# selfdrive/car/mazda/interface.py
# selfdrive/car/nissan/carcontroller.py
# selfdrive/car/nissan/interface.py
# selfdrive/car/subaru/carstate.py
# selfdrive/car/subaru/interface.py
# selfdrive/car/subaru/subarucan.py
# selfdrive/car/toyota/carcontroller.py
# selfdrive/car/toyota/carstate.py
# selfdrive/car/toyota/interface.py
# selfdrive/car/toyota/toyotacan.py
# selfdrive/car/volkswagen/carcontroller.py
# selfdrive/car/volkswagen/carstate.py
# selfdrive/car/volkswagen/interface.py
# selfdrive/controls/controlsd.py
# selfdrive/controls/lib/latcontrol_torque.py
# selfdrive/controls/lib/lateral_planner.py
# selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py
# selfdrive/controls/lib/longitudinal_planner.py
# selfdrive/locationd/paramsd.py
# selfdrive/manager/manager.py
# selfdrive/manager/process.py
# selfdrive/manager/process_config.py
# selfdrive/sentry.py
# selfdrive/ui/SConscript
# selfdrive/ui/qt/home.cc
# selfdrive/ui/qt/maps/map_settings.cc
# selfdrive/ui/qt/maps/map_settings.h
# selfdrive/ui/qt/offroad/settings.cc
# selfdrive/ui/qt/onroad.cc
# selfdrive/ui/qt/onroad.h
# selfdrive/ui/qt/util.cc
# selfdrive/ui/qt/util.h
# selfdrive/ui/soundd/sound.h
# selfdrive/ui/ui.h
# system/version.py
2023-09-05 20:17:19 -04:00
Cameron Clough
08903fb4e0
MapPanel: provide QObject::connect context ( #29731 )
2023-08-31 11:44:48 +01:00
Cameron Clough
3d1a6f6146
ui/NavManager: parse location timestamp from API ( #29665 )
2023-08-27 16:18:42 +01:00
Dean Lee
12073c07af
ui/MapSettings: sort destinations by recent activity ( #29079 )
2023-08-27 15:13:43 +01:00
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 c18132b73eb9bba4d7871631d7cd4155eb7efcd0.
* add initialized
* clip to 10 m/s
* fix bug
* rm
* here?
2023-08-24 15:09:30 -07:00
Shane Smiskol
b9d77afd7e
ui/map: initialize speed filter with current speed ( #29605 )
...
fix map starting from 0 zoom
2023-08-24 14:53:47 -07:00
Dean Lee
21da5a216f
cpplint: add filter build/include_subdir ( #29585 )
2023-08-24 15:42:17 +01:00
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 >
2023-08-23 23:32:01 -07:00
Dean Lee
ac93902983
cpplint: add filter whitespace/forcolon ( #29582 )
...
whitespace/forcolon
2023-08-23 22:46:02 -07:00
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 >
2023-08-23 17:33:58 -07:00
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 >
2023-08-23 13:25:17 -07:00
Dean Lee
363740a497
cpplint: add readability/braces filter ( #29554 )
2023-08-23 10:13:46 -07:00
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 >
2023-08-19 01:23:42 -07:00
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 >
2023-08-19 00:07:52 -07:00
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 >
2023-08-17 22:58:18 -07:00
Shane Smiskol
d827cd6a83
map eta: use pair ( #29460 )
...
use pair
2023-08-17 22:42:12 -07:00
Shane Smiskol
6d2922b8e6
ui/map: slight turn lane types ( #29446 )
...
* add slight turns
* bump cereal
* revert
* hmm, i like this better
* whops
* fix
* bump
2023-08-17 20:51:52 -07:00
Dean Lee
202b2f2113
ui/map: hide icon if no maneuver type ( #29084 )
...
hide icon if no maneuver type
2023-08-17 02:05:19 -07:00
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 >
2023-08-17 01:32:22 -07:00
Shane Smiskol
da38aed483
map: set destination marker visibility once ( #29444 )
...
set visibility once
2023-08-17 01:02:59 -07:00
Dean Lee
613bbb7e6d
ui/map: assign the return value to last_position ( #29341 )
...
assign the return value directly to last_position
2023-08-14 16:39:43 -07:00
Dean Lee
9071c8a4fc
ui/map_instructions: set margin-top to UI_BORDER_SIZE ( #29387 )
2023-08-14 12:43:32 +01:00
Shane Smiskol
cc747e2166
ui/map_instructions: round <500 distances ( #29333 )
...
round
2023-08-11 03:33:40 -07:00