Commit Graph

11 Commits

Author SHA1 Message Date
Adeeb Shihadeh
16ec56398c 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 db5e13b9911cc74438bee123bc3430da6c31b24b.

* fix pm test
old-commit-hash: a9626f95b6
2023-08-20 20:49:55 -07:00
Justin Newberry
3ee0786de3 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
old-commit-hash: 7fdd9fc37c
2023-08-09 13:26:54 -07:00
Justin Newberry
7b677910df Linter: Fix >160 line length test (#29287)
* test

* fix line length

* fix line length

* fix file size

* revert poetry

* cleanup for PR
old-commit-hash: cf64b27168
2023-08-08 17:13:35 -07:00
Mitchell Goff
6a8ff997dc Render map at 256x256 and don't crop (#28101)
old-commit-hash: 861e18a1a8
2023-05-03 21:52:15 -07:00
mitchellgoffpc
ded6fe0e5a Update libmap_renderer -> libmaprender in map_renderer.py/get_ffi
old-commit-hash: c711d71caa
2023-04-26 15:45:12 -07:00
Adeeb Shihadeh
a8c4347a5f nav: add polyline helpers (#26816)
* nav: add polyline helpers

* Update selfdrive/navd/map_renderer.py
old-commit-hash: d3a3d74830
2022-12-16 21:46:07 -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: c1e7bed061
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: fcd6125deb
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: 982ea83cf9
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: f72c988415
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: 86c1e8164a
2022-07-19 16:57:13 +02:00