Commit Graph

16 Commits

Author SHA1 Message Date
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
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: 42210a99104d83d19cf7c426433721e1bf4ad1eb
2022-09-28 14:44:05 -07:00
Adeeb Shihadeh 0325a33752 add pyside2 package (#25602)
old-commit-hash: c6b749fb96b3b6332fd850e733140357f84d53a4
2022-08-30 15:10:52 -07:00
Adeeb Shihadeh 35ff65121e pre-commit: add codespell (#25571)
old-commit-hash: 6590fb2b93baedb2e1c5267b4f191f8e20fcd1d2
2022-08-30 11:20:55 -07:00
Adeeb Shihadeh d9c279aea9 params: make python and c++ API match (#25573)
* params: make python and c++ API match

* few more
old-commit-hash: 90a4565eb29fe95fc83acf6e4f0ea0851c284d61
2022-08-26 20:46:19 -07:00
Lee Jong Mun f1a3983981 navd: include hw.h fix (#25297)
old-commit-hash: 25a89d102677ffad42d4c33db41000d1da88639c
2022-07-27 17:43:06 +02: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
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: a9401319dfa89fea2d2699aaddc758cbc47b6396
2022-07-08 09:20:36 -07:00
Willem Melching c0abd08f13 navd: handle maxspeed being none (#24871)
* navd: handle maxspeed being none

* none is encoded like this
old-commit-hash: a875afd5639d6e1ac24baa4de047cb8a2988a953
2022-06-16 18:18:03 +02:00
Willem Melching e0551be0c1 navd: speed limits only when localizer is valid (#24845)
old-commit-hash: 7bca95dbb89dc6b969871cc7f6bf4306d91f60cc
2022-06-13 16:44:38 +02:00
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: 0fce5d90459b77bf2cfa70f55f322f0e1fb8d01c
2022-06-11 23:19:27 -07:00
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: 64ceb645115060b3856ed4642cfdefadab32dcb5
2022-06-03 15:07:04 +02:00
Willem Melching 82f9f302ed navd: dont crash on unregistered device (#24699)
old-commit-hash: 2b9f8662ccce470a145a12d6d3b8d998a4f77b9f
2022-06-01 14:57:58 +02:00
Willem Melching a8dfd19b76 navd: handle exceptions from requests (#24697)
old-commit-hash: 338a3babd48ee7cab49791950c837951dd3084df
2022-06-01 11:29:05 +02:00
Willem Melching 2c343d2fe3 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
old-commit-hash: e72d6b5689dd95f5fd7a6558c72c2e02b37f8b12
2022-05-30 15:15:51 +02:00