* 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
* update filters only when all messages are alivbe and valid
* update message valid and fix unit test
* update refs
* move check outside loop
* modify fake message fn in test
* deprecate inputsOK and resolve PR comments
* avoid double looped list comprehension
* follow import conventions
* modify paramsd valid to only be invalid in case of commIssue
* update refs
* mypy passes
* a few more
* a few in manager
* more types, will lint
* more
* simple types
* events type
* Update selfdrive/thermald/thermald.py
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
* modify reset logic
* remove debug statements
* use ecef pos and vel covariances during reset
* reset orientations initialized to 0,0,GPSbearing
* refactor nav fix
* add fake gps observations to control ecef pos and ecef vel std
* replace fake_P with individual fake cov
* set gps mode flag
* add gps invalid flag names
* update refs
* more accurate gps accuracy check + update refs
* set ECEF_POS valid flag to false if in no-gps mode
* modify valid flag for all ecef states before gps
* add calibrated valid when no gps
* update refs
* remove extra whitespace
* add invalid flag to all NED values pre gps
* update refs
* update correct refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* add no gps observations
* use correct ecef_location, orientation vals and stds for nogps states
* remove earth radius obs
* move initial loc to the ocean
* remove unnecessary changes
* update refs