* Use clocks msg to for first fetch of orbits. Which is sent earlier than ublox msgs
* refactor last_fetch_orbits
* Add comment.
Add test
* increase timeout
* Add clocks to process replay
* change logs and add some debugging. Add test
* Less logging and better check for exceptions when parsing orbits
* Fix debug log and fix kf initialization
* laikad: use cython version of gnss kf
* fix import error
* test liblocationd separate
* Revert "laikad: use cython version of gnss kf"
This reverts commit bdd769b955.
* Always run laikad on device!
* Update laika
* Update laika
* Fix gps week and time of week in msg
* Reset kalman filter if pos_fix or last_known_position
* put behind file
* move pr parsing into common file
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Replace posfix with gauss newton method
* Cleanup
* Check if glonass is in the list
* Fix
* also return residual
* Add residuals
* Update selfdrive/locationd/laikad.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Cleanup
Co-authored-by: Gijs Koning <gijs-koning@live.nl>
* Cache orbit and nav data
* Cleanup
* Cleanup
* Use ProcessPoolExecutor to fetch orbits
* update laika repo
* Minor
* Create json de/serializers
Save cache only 1 minute at max
* Update laika repo
* Speed up json by caching json in ephemeris class
* Update laika
* Fix test
* Use constant
* Seperate prediction orbits from regular observation orbits and download them efficient
* Cleanup
* clean and update laika
* Fix test
* Fix test
* Fix checking pos fix
* space
* Add fetching orbits thread
* Use ephemeris type enum. Send list of std floats.
Speed up parsing orbit data by skipping redundant old data
* Remove Glonass from supported constellation for now
* Fix latest time msg
* Add small laika update
* Fix
* simulator: support running wide camera only
* proper frame id
* use param name that makes more sense
* do some cleanup
* Update tools/sim/bridge.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Always send valid messages
* Use ephemeris and move astrodog in laikad
* improve test
* Always correct measurements
* Cleanup
* Fix test
* Update laika
* poll when sm.update isn't 0
* bump cereal
* poll modelV2 in UI
* fix driverview
* need to update here
* empty list means poll all
revert
* Revert "poll modelV2 in UI"
This reverts commit 82aac96a1f.
* Revert "fix driverview"
This reverts commit 074ee10f17.
* poll all
* Add gnss kalman filter to laikad
* Fix analysis
* Fix analysis
* Update laika
* Refactor a bit
* cleanup, improve unit test
* Also commit test
* fix
* Always return messages. Use Measurement struct that contains std and valid keys
* Push cereal
* Change prints to cloudlog
* Always send valid messages
* Only send gnssMeasurement msg when measurementReport type
* add mypy check for return-any
* remove unused import
* typing
* remove unnecessary variable typing
* cleanup
* cleanup
* bump submodules
* small fixes
* only a problem on mac
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Add simple test for processing ublox messages
* Add simple test for processing ublox messages
* Update selfdrive/locationd/test/test_ublox_processing.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Update
* Push laika ref
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Add laikad that receives ublox messages and publishes corrected measurements and position fix
* types
* cleanup
* laikad version 1 with uncorrected measurements
* push
* Fix glonass frequency and delete redundant test
* Update after cereal and cleanup
* Add test, fix laikad and remove process replay for now
* update laika
* add hatanaka to packages. Used to decompress orbit data
* Fix pip