* Rewind to qcom time
* Fix test
* Typo
* init unix_time fix
* add gps sensor_time_offsets
* remove all clocks code and add todo
* :emove clocks in unit test
* update refs
* update refs
Co-authored-by: nuwandavek <vivekaithal44@gmail.com>
old-commit-hash: b3324418034fcf09123b614ee2429a4e5bc9d7a5
* split out pigeond from boardd
* also want to turn off power
* fix manager calls
* move to sensord folder
* release files:
* add assistnow code
* no bare except
* add test script to test TTFF
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 13489d092e2c09119e880022507d7331cf54c615
* qcom clock gets corrected randomly it seems
* Use quectel gps
* fix small laikad bugs
* Support both
* Support ublox and qcom clock model
* fix laikad test
* fix typo
* Back to original value
* More typos
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 11da2804f6f0ffdc6d9bc0b146c8a308d6b66018
* 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
old-commit-hash: eaf7eb42784732136e52cd031035e9c5ab520e6e
* 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
old-commit-hash: 20ccfed9c1d75de2a589294a5407e15304fd3f4a
* laikad: use cython version of gnss kf
* fix import error
* test liblocationd separate
* Revert "laikad: use cython version of gnss kf"
This reverts commit bdd769b9554e7e45e976dabd6595403943e864bb.
old-commit-hash: b95e68778271cccf558452686e022ae57f25a701
* 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
old-commit-hash: c3fa9151f39994984b60a19cdd7425dba73ec2fc
* 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
old-commit-hash: 8d8055f00f11fcdf0a8a235de5218d9c2fd2f5ad
* 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
old-commit-hash: 7df54792d8c04d842d44536723edb7b8370c47a1
* Always send valid messages
* Use ephemeris and move astrodog in laikad
* improve test
* Always correct measurements
* Cleanup
* Fix test
* Update laika
old-commit-hash: a51aaaf1970fa864a8a2de7c59abd1db277c123a
* 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
old-commit-hash: ef97329c0e825d477577bf27cbaf772753f077ca
* 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>
old-commit-hash: e6f9f12d1c9faae8f718306bcd2862278a083351
* 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
old-commit-hash: b64fe6e339c8b8b3f5016a9c58b553c91abc5bdf
* 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
old-commit-hash: 7e6903b58f141b94d645f25c5e0ce15825b60075
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>
old-commit-hash: 332f568a8241fba9459cb70c76840b9670e6993a
* Store almanac on ublox poweroff
* send current UTC time
* move message building to ublox_msg.h
old-commit-hash: ea5141d9096d64890a23a806612eb4edf58ea548
* add interference monitor
* new thresholds
* correct labels
* always run for test
* new msg
* add flag
* Revert "always run for test"
This reverts commit b04b92ac2d73d996d1526509e26c4e1a4338cbbb.
* add hw status flags
old-commit-hash: e5f93ef142af706eed05f1d015e1436efa29d1de
* Add first sanity checks on inputs
* more gps checks
* make sure test values pass sanity checks
* this localizer supports cannonball runs
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: c62bb106407f50b785570f6b01736839e2b42514
* fix std transform
* 100Hz
* new ref
* no more decimation
* clean up confusing maths
* static typing
* Revert "static typing"
This reverts commit 23d87337de648e629fbd35dd8c04a740bbefca47.
* 100Hz costs more
* move normalization into core
* add quat idxs
* add big eps
* this is not safe in the filter
* more sensible
* updates to rednose
* not tested
* normalize in python too
* update rednose
* nan check
* check for infs too
* all should be finite
* update ref
* rednose pr now in master
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: e9db5723ef348954118643501a92cf0715402fea
* unittests for locationd uncommon events
* params test using process
* test for posenet spike
* fix library path
* move random seed to setup
old-commit-hash: 5fdcce2551e5cb7477d9646e449469399d6576fa
* calibration tests
* read from capnp
* save using cereal struct
* reset calibration if new car
* car params
old-commit-hash: ee43eb552b9a5d5d1cfea65f00150325c9808a2d