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
Shane Smiskol
6a68944c63
map renderer: only log map states once fully loaded ( #29722 )
...
only log once fully loaded
2 years ago
Adeeb Shihadeh
a9626f95b6
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
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
Mitchell Goff
c04e5d12fc
Non-Inflatable Model 🎈 ( #29003 )
...
* Added all maneuvers to navInstruction message
* Added nav instruction logic to modeld
* New model: fcee01c1-96bb-414f-b00d-e4a994a00922/700
* Fixed bug in navd
* Added sharp/slight modifiers
* Updated refs
2 years ago
Justin Newberry
7fdd9fc37c
CI: Pylint to ruff ( #29294 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
* set line length
* pylint exclusions to ruff
* same excludes as old linter
* fix tools QA
* remove unrequired check
* revert linting third_party
* ignore e402
2 years ago
Justin Newberry
cf64b27168
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
2 years ago
Justin Newberry
a91764954b
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit cb31a53d8a
.
2 years ago
Justin Newberry
cb31a53d8a
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
2 years ago
Kacper Rączy
c640429406
aarch64: ubuntu build support ( #29171 )
...
* Add support for aarch64 pc linux
* Add new libyuv path to release files
* Add libyuv's x86_64 lib dir
* Move left-over platform specific dirs from files_common
* Remove libyuv/lib directory (duplicate)
* Fix mpc Sconscripts
* Remove acados lib path from mpc sources
* Fix typo
* Add watch3 exec on aarch64
2 years ago
Justin Newberry
ce679009ae
Mapsd: Test recovery from internet drop ( #29044 )
2 years ago
Shane Smiskol
7c62c16196
map renderer: log unexpected map states ( #29160 )
...
log unexpected mapChange signals
2 years ago
Shane Smiskol
3f33d72a4c
map renderer: log when initializing layer ( #29157 )
...
Update map_renderer.cc
2 years ago
Shane Smiskol
431a2542c9
navd: fix hysteresis when reaching destination ( #29032 )
...
fix destination hysteresis when reaching destination
2 years ago
Shane Smiskol
412ed6a017
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
2 years ago
Justin Newberry
a8396f6a12
Nav: Reset backoff on route clearing ( #29067 )
...
* nav backoff reset
* need to reset countdown as well
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Adeeb Shihadeh
60d570349f
navd: handle key present with none value ( #29025 )
2 years ago
Adeeb Shihadeh
99c9cf0c02
mapsd: set nice value ( #28994 )
...
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
9cec7fa1a8
Revert "mapsd: release MapRenderer on exit ( #28988 )"
...
This reverts commit 70b2a5220f
.
2 years ago
Dean Lee
70b2a5220f
mapsd: release MapRenderer on exit ( #28988 )
2 years ago
Adeeb Shihadeh
cd02ab6358
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>
2 years ago
Adeeb Shihadeh
5b86268635
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>
2 years ago
Adeeb Shihadeh
e2b5d1e29a
mapsd: rendering tests ( #28981 )
...
* mapsd: rendering tests
* run
* speedup
2 years ago
Shane Smiskol
cbde480cb9
navd: add repr method to Coordinate ( #28959 )
...
* repr coordinate for debugging
* fix
* stash
* better formatting
2 years ago
Mitchell Goff
e346839c68
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>
2 years ago
Mitchell Goff
9d835020fc
Always publish from mapsd ( #28581 )
2 years ago
Mitchell Goff
6509cde41b
Rename map_renderer -> mapsd ( #28580 )
2 years ago
Mitchell Goff
d528481d8d
Offset topdown map by 128 meters ( #28216 )
...
We drive forward :)
2 years ago
Shane Smiskol
e780cca8b6
seldrive: use common sig handler ( #28127 )
...
* Update main.cc
* Update util.h
* same for navd
2 years ago
Mitchell Goff
861e18a1a8
Render map at 256x256 and don't crop ( #28101 )
2 years ago
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