* camera-gyro cross checks, but one way
* increase factor to account for gyro noise (potholes, bad roads etc
* increase factor to reduce FP with device taps, bad roads, etc
* factor to 30
* add inputsok to sensoir data invalid alert
* bugfix
* move the sensors check
* add localizer catchall alert
* update refcommit
* remove permanent alert
* revert sensorDataInvalid alert change, split into new PR
old-commit-hash: dbada885ac
* use_laika
* Update test
* fix spacing
* fix proc replay
* small fix
* Try correct std
* cast correctly
* experimental
* simpler
* update reset thresholds
* improve
* Ready for live running
* outlier reject
* update laika
* add fine speeds
* more experiments
* fixes
* all in laika
* more small tweaks
* outlier rejection not needed
* fix conflict
* no more gpslocation
* update test
* refactor to laika
* runs again
* Update ref
old-commit-hash: fd3b8a3d75
* locationd ttff
* log time to first fix
* rename
* max it like laikad
* Update selfdrive/locationd/locationd.cc
* Update ref_commit
* Log when gpsOK first becomes true
* don't forget to update current time!
* stash
* make it deterministic (no proc replay cur time)
* Update ref_commit
* rename to make this clear
old-commit-hash: 03eb02906d
* laikad update, renaming
* update locationd
* fix naming
* address PR comments
* upsi
* .
* draft to fix replay
* fix process relay to allow no response for messages
* final fix for process replay
* .
* bump cereal
* update process replay ref commit
* reduce wait time
* .
* last ref change
* move laikad helpers to laika
* .
* fix ublox test
* update refs
* add proper qcom replay support
* fix gnss support if both is available
* update refs
* remove left over
* revert laikad msg
* move laika back to master
* init
* fix gps valid flag
* change time
* add gnss to ignore
* remove gps_valid flag
* .
* adopt orientation reset threshold
* .
* update laikad
* .
* fix stanstill KF resets
* test orienation reset count
* update laika
* bump cereal
* fix process replay
* update laika repo
* remove handle gps
* add extra logging for cache
* .
* add more log
* .
* .
* update laika
* dont remove gps code
* inc min satellite count
* update magic vals and add acc drop
* update laika
* upsi
* rem
* bump laika
* use nav and correct
* more fixes
* use sftp
* No more glonass
* Revert "No more glonass"
This reverts commit a76124da50.
* nump laika
* back support old ephemeris cache
* add health to ephemeris message
* bump laika
* remove print
* fix laikad tests
* clean
* remove extra log
* bump laika
* inc timeout for plotjuggler build
* rem cache clear
* .
* enable gps after checks
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 88423e25df
* laikad update, renaming
* update locationd
* address PR comments
* draft to fix replay
* fix process relay to allow no response for messages
* bump cereal
* update process replay ref commit
* move laikad helpers to laika
* fix ublox test
* update refs
* add proper qcom replay support
* fix gnss support if both is available
* update refs
* move laika back to master
* move cereal back to master
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 981532f0c3
* 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: b332441803
* 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
old-commit-hash: 8b6a147583
* use canonical language
* filter out when gps signal is flaky
* Update selfdrive/locationd/locationd.cc
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 049a1bca34
* use cstring instead of string.h
* use cstdio instead of stdio.h
* remove inttypes.h
* use cstdlib instead of stdlib.h
* use cstdint instead of stdint.h
* #include <cstddef>
* cstdlib
* use cmath
* remove stddef.h
* use cassert
* use csignal
* use ctime
* use cerror
* rebase master
old-commit-hash: c53cb5d570
* add time since reset check
* fix time since reset
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 2f80775b50
* 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: e9db5723ef
* compare carspeed float to epsilon instead of zero
* update ref
* add ref commit again
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: d2a2ccfee4
* live_kf to c++
* first locationd code
* Running in process_replay
* locationd handle cam_odo and live_calib
* log event handlers
* working message receiving
* compiling message sending
* correctly sending some messages
* correct receiving and sending
* update ref_commit with some all_alive_and_valid being false, minor fixes
* fix std abs
* linking on device fix
* fix cpu usage test
* generate kf constants and defines
* fix replay test
* replay without acks, cleanup
* operate on bytearray messages
* cleanup
* send msg fix
* small sleep, less flaky test
* remove python locationd
* review feedback
* bump rednose
old-commit-hash: 3420707ad5