Commit Graph

23 Commits

Author SHA1 Message Date
Shane Smiskol 3b8cc9113a map renderer: only log map states once fully loaded (#29722)
only log once fully loaded
old-commit-hash: 6a68944c638029361a7776cff08816919ecac351
2023-08-30 20:32:00 -07:00
Shane Smiskol 8837deee98 map renderer: log unexpected map states (#29160)
log unexpected mapChange signals
old-commit-hash: 7c62c161969c7a67a6fc2db53265383a4e21b927
2023-07-26 20:36:15 -07:00
Shane Smiskol 26f3fdae3d map renderer: log when initializing layer (#29157)
Update map_renderer.cc
old-commit-hash: 3f33d72a4ca453d347a22ba93d939343411dd548
2023-07-26 16:34:23 -07:00
Adeeb Shihadeh eb9c9b19b4 Revert "mapsd: release MapRenderer on exit (#28988)"
This reverts commit 97db3f84daffd9e2c6fdf6e65325f42c118aacb8.

old-commit-hash: 9cec7fa1a8d9c4915628d017628bf8fbf930d2f6
2023-07-17 14:05:52 -07:00
Dean Lee cb8cc55d01 mapsd: release MapRenderer on exit (#28988)
old-commit-hash: 70b2a5220f1d7624a2f6a4dedc6776a49f1095ef
2023-07-17 12:57:58 -07:00
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: 5b86268635a595602d0b3eae5a22e95119c3d860
2023-07-16 15:37:13 -07:00
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: e346839c68e7f86bf7bdd88966e33a64c0be5680
2023-07-09 15:10:02 -07:00
Mitchell Goff 88c95293cd Always publish from mapsd (#28581)
old-commit-hash: 9d835020fc01cc6d9598388be7715c9412e3185b
2023-06-16 20:13:24 -07:00
Mitchell Goff 0fc01cc6f6 Offset topdown map by 128 meters (#28216)
We drive forward :)
old-commit-hash: d528481d8dc5669fa6dbeca88b8d63f112205635
2023-05-18 15:30:58 -07:00
Mitchell Goff 6a8ff997dc Render map at 256x256 and don't crop (#28101)
old-commit-hash: 861e18a1a85f71b0f05342f69791b79316b699f9
2023-05-03 21:52:15 -07:00
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: 5ab2fc16ab5b883f3fa151d0e7362bc73545ca32
2022-12-20 14:19:21 -08:00
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: 160c9ba1d24c8f5190708dd79bd2682fdadcd736
2022-12-11 15:25:36 -08:00
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: f3a711953afea1fcebb4c10b1e2462c4032ac147
2022-12-09 22:56:32 -08:00
Adeeb Shihadeh 53431eead2 map renderer: retry when render fails (#26741)
* map renderer: retry when render fails

* cleanup
old-commit-hash: 3ff37cca2183e524dbd2f82692b07de324f8bc59
2022-12-09 14:31:18 -08:00
Adeeb Shihadeh 62f035b089 nav: add mapRenderState.frameId
old-commit-hash: 27dc9c0e79fc88acf88fff56ed119f4f2dc6105f
2022-12-09 13:24:44 -08:00
Adeeb Shihadeh 1b62c55e8d nav: add mapRenderState (#26734)
* nav: add mapRenderState

* bump cereal

* bump again
old-commit-hash: c3b3c102323c6f00812a765702e96f9f47e1f4e7
2022-12-08 20:57:11 -08:00
Adeeb Shihadeh 01db07375c nav model replay (#26697)
* nav model replay

* set token

* fix gh actions

* update refs

* fix pc
old-commit-hash: 1da6f6a6e213280979dcf64b4d3e90f291bda4a3
2022-12-07 19:36:30 -08:00
Adeeb Shihadeh c2261c5372 navmodeld: only render necessary frames (#26698)
old-commit-hash: 6e0893299ad435291782e40a92ddeb85b85f4b87
2022-12-05 17:41:32 -08:00
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: c1e7bed061424387aaf5a91eaa43e96752995cd0
2022-11-22 20:20:58 -08:00
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: fcd6125debeb97ba4b8870f5945c8215449c00fe
2022-11-01 19:16:37 -07:00
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: 982ea83cf9accc6aefd05169c420f457b21dcc0a
2022-10-13 14:27:59 -07:00
Willem Melching 11d73c5960 map_renderer.py, output monochrome images (#25272)
* map renderer, output monochrome images

* pass token/url as argument

* greyscale
old-commit-hash: f72c988415a2a1c4299df67cb8e02eee20e5ba77
2022-07-25 16:20:52 +02:00
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: 86c1e8164ab6b1c3363f7833b7dc0ea735dd26db
2022-07-19 16:57:13 +02:00