* 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>
* 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>
* 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>
* 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
* sensor flag in paramsd
* increase lateral acc err alert threshold
* add invalid sensor alert from paramsd
* update ref, bool before adding to msg
* account for sign difference in locationd and paramsd
* revert ref
* 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>
* 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