Commit Graph

8 Commits

Author SHA1 Message Date
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