* UI: fade into wide camera
* handle routes with no wide calib
* more cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dbc30c053c
* Use calibrator to stabilize wide transform
* Need array
* Needs init
* Needs to be arr
* publish mshg
* Check size
* Update ref
* fix calibration param read when no wide calib
* need self!
old-commit-hash: 15595fc859
* Use calibrator to stabilize wide transform
* Need array
* Needs init
* Bump to master
* Needs to be arr
* publish mshg
* Check size
* Update ref
old-commit-hash: 42ef62e391
* 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
* wip torqued
* add basic logic
* setup in manager
* check sanity and publish msg
* add first order filter to outputs
* wire up controlsd, and update gains
* rename intercept to offset
* add cloudlog, live values are not updated
* fix bugs, do not reset points for now
* fix crashes
* rename to main
* fix bugs, works offline
* fix float in cereal bug
* add latacc filter
* randomly choose points, approx for iid
* add variable decay
* local param to capnp instead of dict
* verify works in replay
* use torqued output in controlsd
* use in controlsd; use points from past routes
* controlsd bugfix
* filter before updating gains, needs to be replaced
* save all points to ensure smooth transition across routes, revert friction factor to 1.5
* add filters to prevent noisy low-speed data points; improve fit sanity
* add engaged buffer
* revert lat_acc thresh
* use paramsd realtime process config
* make latacc-to-torque generic, and overrideable
* move freq to 4Hz, avoid storing in np.array, don't publish points in the message
* float instead of np
* remove constant while storing pts
* rename slope, offset to lat_accet_factor, offset
* resolve issues
* use camelcase in all capnp params
* use camelcase everywhere
* reduce latacc threshold or sanity, add car_sane todo, save points properly
* add and check tag
* write param to disk at end of route
* remove args
* rebase op, cereal
* save on exit
* restore default handler
* cpu usage check
* add to process replay
* handle reset better, reduce unnecessary computation
* always publish raw values - useful for debug
* regen routes
* update refs
* checks on cache restore
* check tuning vals too
* clean that up
* reduce cpu usage
* reduce cpu usage by 75%
* cleanup
* optimize further
* handle reset condition better, don't put points in init, use only in corolla
* bump cereal after rebasing
* update refs
* Update common/params.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* remove unnecessary checks
* Update RELEASES.md
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4fa62f1464
* 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: 13489d092e
* First attempt
* worksish
* tests pass
* cleanup
* get rid of garbahe
* fix name
* Still used in xx
* add debug functions
* used
* Revert "used"
This reverts commit 276e8ebab06d2d4f0e9927ba32b7d8aca2bf88c3.
* Update ref
old-commit-hash: 772b748689
* 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: 11da2804f6
* 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: eaf7eb4278
* 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: 20ccfed9c1
* 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.
old-commit-hash: b95e687782
* Improve laikad cpu usage. Less pos fix. Not local imports
* Add laika to files_common
* Add laika to dockerfile sim
* Fix
* Fix
* undo
old-commit-hash: 1c4b145aa4
* 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>
old-commit-hash: dc98511b7a
* 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>
old-commit-hash: fa4f017bbe
* 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: c3fa9151f3