Shane Smiskol
26f3fdae3d
map renderer: log when initializing layer ( #29157 )
...
Update map_renderer.cc
old-commit-hash: 3f33d72a4c
2 years ago
Shane Smiskol
bb46c0e3a0
navd: fix hysteresis when reaching destination ( #29032 )
...
fix destination hysteresis when reaching destination
old-commit-hash: 431a2542c9
2 years ago
Shane Smiskol
ec900d0389
navd: don't use empty last step banner instructions ( #29034 )
...
* fix empty banner instructions when arriving at destination
* bug fixes
* hide distance on arrival
* stash
* simpler
* can also do this, but i don't like modifying the response
* clean up
* rm
* revert
* rm
* flip this order
* move up
* need to flip order
* Revert "need to flip order"
This reverts commit ba961b8e6a
.
* Revert "move up"
This reverts commit f1a4d8ae88
.
* Update selfdrive/navd/navd.py
old-commit-hash: 412ed6a017
2 years ago
Justin Newberry
cde4198dae
Nav: Reset backoff on route clearing ( #29067 )
...
* nav backoff reset
* need to reset countdown as well
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a8396f6a12
2 years ago
Adeeb Shihadeh
5f8e1afc88
navd: handle key present with none value ( #29025 )
...
old-commit-hash: 60d570349f
2 years ago
Adeeb Shihadeh
9b3ceb5f5f
mapsd: set nice value ( #28994 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 99c9cf0c02
2 years ago
Adeeb Shihadeh
eb9c9b19b4
Revert "mapsd: release MapRenderer on exit ( #28988 )"
...
This reverts commit 97db3f84daffd9e2c6fdf6e65325f42c118aacb8.
old-commit-hash: 9cec7fa1a8
2 years ago
Dean Lee
cb8cc55d01
mapsd: release MapRenderer on exit ( #28988 )
...
old-commit-hash: 70b2a5220f
2 years ago
Adeeb Shihadeh
7a8ff5d59f
mapsd: more reliable test ( #28985 )
...
* mapsd: more reliable test
* better wait
* should be good
* fix frame id
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cd02ab6358
2 years ago
Adeeb Shihadeh
99945aded5
nav: always publish map and run model ( #28924 )
...
* always render
* more test
* test case
* update test
* vipc checks
* clear cache
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5b86268635
2 years ago
Adeeb Shihadeh
30a6fa35aa
mapsd: rendering tests ( #28981 )
...
* mapsd: rendering tests
* run
* speedup
old-commit-hash: e2b5d1e29a
2 years ago
Shane Smiskol
78939ebcbd
navd: add repr method to Coordinate ( #28959 )
...
* repr coordinate for debugging
* fix
* stash
* better formatting
old-commit-hash: cbde480cb9
2 years ago
Mitchell Goff
a0d705d113
nav model: fix flicker in nav enabled state ( #28815 )
...
* Fix flicker in nav enabled state
* Move all relevant information for validity checks into navModel packet
* Ignore locationMonoTime in replay tests
* Check route valid in navmodeld
* sm update
* check that
* update refs
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e346839c68
2 years ago
Mitchell Goff
88c95293cd
Always publish from mapsd ( #28581 )
...
old-commit-hash: 9d835020fc
2 years ago
Mitchell Goff
300071a27c
Rename map_renderer -> mapsd ( #28580 )
...
old-commit-hash: 6509cde41b
2 years ago
Mitchell Goff
0fc01cc6f6
Offset topdown map by 128 meters ( #28216 )
...
We drive forward :)
old-commit-hash: d528481d8d
2 years ago
Shane Smiskol
3af7b02a26
seldrive: use common sig handler ( #28127 )
...
* Update main.cc
* Update util.h
* same for navd
old-commit-hash: e780cca8b6
2 years ago
Mitchell Goff
6a8ff997dc
Render map at 256x256 and don't crop ( #28101 )
...
old-commit-hash: 861e18a1a8
2 years ago
mitchellgoffpc
ded6fe0e5a
Update libmap_renderer -> libmaprender in map_renderer.py/get_ffi
...
old-commit-hash: c711d71caa
2 years ago
Adeeb Shihadeh
33af4f9cde
scons: set warnings as error ( #28004 )
...
* navd: fix scons build warnings
* fix release
* sim fix
* fix docs
* build cabana
old-commit-hash: d5ab1e33c2
2 years ago
Kurt Nistelberger
edf555e8fd
navd: check duration_typical before using ( #27184 )
...
check duration_typical
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 9a42929b0c
2 years ago
Mitchell Goff
b3626c8ecd
model_replay: use last N frames of segment so navRoute is valid ( #26790 )
...
* model_replay: use last N frames of segment so navRoute is valid
* Use llk logMonoTime for MapRenderState.locationMonoTime
* Record mapRenderState
* update refs
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5ab2fc16ab
2 years ago
Adeeb Shihadeh
a8c4347a5f
nav: add polyline helpers ( #26816 )
...
* nav: add polyline helpers
* Update selfdrive/navd/map_renderer.py
old-commit-hash: d3a3d74830
2 years ago
YassineYousfi
3309d1a218
navd: recompute if far for > 3 steps ( #26798 )
...
* navd: recompute if far for > 3 steps
* typo
* reset and unindent
old-commit-hash: 08b4cff484
2 years ago
Adeeb Shihadeh
a9be264076
navd: avoid re-routing back to past waypoints
...
old-commit-hash: 951ceecadd
2 years ago
Adeeb Shihadeh
1946615724
nav: add setting for extra coordinates to specify route ( #26803 )
...
old-commit-hash: be9a3fad37
2 years ago
Adeeb Shihadeh
b6a495e992
nav: add README ( #26802 )
...
* start docs
* Update README.md
old-commit-hash: 8d95faf97a
2 years ago
Adeeb Shihadeh
0fd3e3d19d
nav: build map renderer python lib by default ( #26770 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f959952972
2 years ago
Harald Schäfer
f315819d47
Navmodel and driving style: update runner ( #26762 )
...
* Navmodel and driving style: update runner
* No driving style yet
* thneedrunner without extra inputs
* nav feature ref
old-commit-hash: 160c9ba1d2
2 years ago
Adeeb Shihadeh
44098cc024
navmodel: check images in replay test ( #26747 )
...
* move position
* log images
* enable test
* update refs
* ignore
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f3a711953a
2 years ago
Adeeb Shihadeh
53431eead2
map renderer: retry when render fails ( #26741 )
...
* map renderer: retry when render fails
* cleanup
old-commit-hash: 3ff37cca21
2 years ago
Adeeb Shihadeh
62f035b089
nav: add mapRenderState.frameId
...
old-commit-hash: 27dc9c0e79
2 years ago
Adeeb Shihadeh
1b62c55e8d
nav: add mapRenderState ( #26734 )
...
* nav: add mapRenderState
* bump cereal
* bump again
old-commit-hash: c3b3c10232
2 years ago
Adeeb Shihadeh
01db07375c
nav model replay ( #26697 )
...
* nav model replay
* set token
* fix gh actions
* update refs
* fix pc
old-commit-hash: 1da6f6a6e2
2 years ago
Adeeb Shihadeh
c2261c5372
navmodeld: only render necessary frames ( #26698 )
...
old-commit-hash: 6e0893299a
2 years ago
Harald Schäfer
9fef49e975
Navd map renderer: update to larger image ( #26580 )
...
* rerender 512
* rerender 512
* Removed unnecessary code
* rgb -> grayscale
* Add constants
Co-authored-by: mitchellgoffpc <mitchellgoffpc@gmail.com>
old-commit-hash: c1e7bed061
2 years ago
Mitchell Goff
656788eb36
Compute zoom level and downsample image in map_renderer.cc ( #26315 )
...
* Automatically zoom to fixed scale in map_renderer.cc
* Always downsample in map_renderer
* Remove updateZoom function
* Added mapsd to process_config.py (commented out for now)
old-commit-hash: fcd6125deb
3 years ago
Mitchell Goff
6621e58657
Added updateZoom function to map_renderer, plus custom style.json ( #25997 )
...
* Added updateZoom function to map_renderer, plus custom style.json
* Render 512x512 maps
* Define STYLE_PATH in navd sconscript
old-commit-hash: 982ea83cf9
3 years ago
Shane Smiskol
cfddc54ea7
multilang: nav instructions ( #25102 )
...
* Try Chinese nav
* try this
* not sure what does what
* read language setting in navd
* probably not used
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 42210a9910
3 years ago
Adeeb Shihadeh
0325a33752
add pyside2 package ( #25602 )
...
old-commit-hash: c6b749fb96
3 years ago
Adeeb Shihadeh
35ff65121e
pre-commit: add codespell ( #25571 )
...
old-commit-hash: 6590fb2b93
3 years ago
Adeeb Shihadeh
d9c279aea9
params: make python and c++ API match ( #25573 )
...
* params: make python and c++ API match
* few more
old-commit-hash: 90a4565eb2
3 years ago
Lee Jong Mun
f1a3983981
navd: include hw.h fix ( #25297 )
...
old-commit-hash: 25a89d1026
3 years ago
Willem Melching
11d73c5960
map_renderer.py, output monochrome images ( #25272 )
...
* map renderer, output monochrome images
* pass token/url as argument
* greyscale
old-commit-hash: f72c988415
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
c20b96764c
nav: use laikad position if locationd is not yet available ( #25033 )
...
* ui: use laikad position when locationd is not ready
* cleanup
* same threshold as locationd
* use first bearing directly
* use in navd too
old-commit-hash: a9401319df
3 years ago
Willem Melching
c0abd08f13
navd: handle maxspeed being none ( #24871 )
...
* navd: handle maxspeed being none
* none is encoded like this
old-commit-hash: a875afd563
3 years ago
Willem Melching
e0551be0c1
navd: speed limits only when localizer is valid ( #24845 )
...
old-commit-hash: 7bca95dbb8
3 years ago
Adeeb Shihadeh
3c48bc47b7
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
old-commit-hash: 0fce5d9045
3 years ago
Willem Melching
7b3faad3ee
navd: broadcast sped limit ( #24681 )
...
* populate speedLimit field in navInstruction
* show in ui
* ensure coordinate is behind you
* handle unknown
* handle here
* a bit prettier
* US design
* no ui changes in this PR
* parse sign
old-commit-hash: 64ceb64511
3 years ago