mitchellgoffpc
c711d71caa
Update libmap_renderer -> libmaprender in map_renderer.py/get_ffi
2 years ago
Adeeb Shihadeh
d5ab1e33c2
scons: set warnings as error ( #28004 )
...
* navd: fix scons build warnings
* fix release
* sim fix
* fix docs
* build cabana
2 years ago
Kurt Nistelberger
9a42929b0c
navd: check duration_typical before using ( #27184 )
...
check duration_typical
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2 years ago
Mitchell Goff
5ab2fc16ab
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>
2 years ago
Adeeb Shihadeh
d3a3d74830
nav: add polyline helpers ( #26816 )
...
* nav: add polyline helpers
* Update selfdrive/navd/map_renderer.py
2 years ago
YassineYousfi
08b4cff484
navd: recompute if far for > 3 steps ( #26798 )
...
* navd: recompute if far for > 3 steps
* typo
* reset and unindent
2 years ago
Adeeb Shihadeh
951ceecadd
navd: avoid re-routing back to past waypoints
2 years ago
Adeeb Shihadeh
be9a3fad37
nav: add setting for extra coordinates to specify route ( #26803 )
2 years ago
Adeeb Shihadeh
8d95faf97a
nav: add README ( #26802 )
...
* start docs
* Update README.md
2 years ago
Adeeb Shihadeh
f959952972
nav: build map renderer python lib by default ( #26770 )
...
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Harald Schäfer
160c9ba1d2
Navmodel and driving style: update runner ( #26762 )
...
* Navmodel and driving style: update runner
* No driving style yet
* thneedrunner without extra inputs
* nav feature ref
2 years ago
Adeeb Shihadeh
f3a711953a
navmodel: check images in replay test ( #26747 )
...
* move position
* log images
* enable test
* update refs
* ignore
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
3ff37cca21
map renderer: retry when render fails ( #26741 )
...
* map renderer: retry when render fails
* cleanup
2 years ago
Adeeb Shihadeh
27dc9c0e79
nav: add mapRenderState.frameId
2 years ago
Adeeb Shihadeh
c3b3c10232
nav: add mapRenderState ( #26734 )
...
* nav: add mapRenderState
* bump cereal
* bump again
2 years ago
Adeeb Shihadeh
1da6f6a6e2
nav model replay ( #26697 )
...
* nav model replay
* set token
* fix gh actions
* update refs
* fix pc
2 years ago
Adeeb Shihadeh
6e0893299a
navmodeld: only render necessary frames ( #26698 )
2 years ago
Harald Schäfer
c1e7bed061
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>
2 years ago
Mitchell Goff
fcd6125deb
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)
3 years ago
Mitchell Goff
982ea83cf9
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
3 years ago
Shane Smiskol
42210a9910
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>
3 years ago
Adeeb Shihadeh
c6b749fb96
add pyside2 package ( #25602 )
3 years ago
Adeeb Shihadeh
6590fb2b93
pre-commit: add codespell ( #25571 )
3 years ago
Adeeb Shihadeh
90a4565eb2
params: make python and c++ API match ( #25573 )
...
* params: make python and c++ API match
* few more
3 years ago
Lee Jong Mun
25a89d1026
navd: include hw.h fix ( #25297 )
3 years ago
Willem Melching
f72c988415
map_renderer.py, output monochrome images ( #25272 )
...
* map renderer, output monochrome images
* pass token/url as argument
* greyscale
3 years ago
Willem Melching
86c1e8164a
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
3 years ago
Willem Melching
a9401319df
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
3 years ago
Willem Melching
a875afd563
navd: handle maxspeed being none ( #24871 )
...
* navd: handle maxspeed being none
* none is encoded like this
3 years ago
Willem Melching
7bca95dbb8
navd: speed limits only when localizer is valid ( #24845 )
3 years ago
Adeeb Shihadeh
0fce5d9045
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
3 years ago
Willem Melching
64ceb64511
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
3 years ago
Willem Melching
2b9f8662cc
navd: dont crash on unregistered device ( #24699 )
3 years ago
Willem Melching
338a3babd4
navd: handle exceptions from requests ( #24697 )
3 years ago
Willem Melching
e72d6b5689
navd: rewrite in python ( #24621 )
...
* navd: start python rewrite
* use enum
* send empty instruction packet
* parse banner
* cleanup
* switch to coordinate class
* add segment transition logic
* add recompute logic
* cleanup old navd code
* split out helpers
* cleanup release files
* fix typo
* fix docs
* add typing to helpers
* small fixes
* move outside of ui
* get last pos from param
* add ui restart detection
* check running
* send route
* set navInstruction to invalid with no active route
* whitespace
* do not overwrite response and use ratekeeper
* reuse params object
* remove navd exception
3 years ago