* send at 10hz when inactive
* try to make it fine to switch rates
* fix rate
* todododo
* fine if we skip, we usually send too early
* clean up
* this may be required, 50Hz is not really needed to sync/initialize
* preserves previous behavior (not sure if this makes sense)
* Revert "preserves previous behavior (not sure if this makes sense)"
This reverts commit 3b297bca72.
* Revert "this may be required, 50Hz is not really needed to sync/initialize"
This reverts commit a6b4693814.
* rm com
* Update ref_commit
* gate behind GM Cam
* common logic
* bet
* update refs
old-commit-hash: 27e315e58f
* 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
* refactor migrate fns to avoid needing to use azure keys on import
* move azure key init behind a function
* resolve comments
old-commit-hash: 5f7d9a519e
* Hyundai: share panda flags with CAN-FD platform
* move that
* only set bit
* bump panda
* panda master
* regen + update refs for new param
old-commit-hash: c782380fc1
* 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
* GM camera ACC: no faults on start up 2.0
And by 2.0 I mean we don't need to wait for blocked msg support to be merged first to merge this without regressing accidental single blocked msg count handling.
* Send the camera counter + 1
* Keep updating the first counter until we get a message on the bus
* Only update right before sending so sent_lka_steering_cmd is updated first
* Update ref_commit
old-commit-hash: 0f94d81b7a
* add override field to cruiseControl
* need to check if long *can* be active
* bump cereal to master
* revert
* better
* fix
* update refs
* rename variable
old-commit-hash: 7418678132
* Add explicit cost on steering wheel movement
* Laxer low speed control
* Laxer low speed control
* Lower min speed now there is a cost
* 3m/s
* Similar to old master
* Add cost
* Crazy high
* Update ref
* comment
old-commit-hash: 2c9b150761
* This brake position value disengages stock ACC, use it to avoid controls mismatch. 2016-2017 Volt will hit this threshold and disengage, must install new design of brake pedal retaining clip, TSB 16-NA-147.
* 80 hz
* comment
* bump panda
* update refs
* bump panda
* bump panda
* bump panda
* bump panda to master
Co-authored-by: qadmus <42746943+qadmus@users.noreply.github.com>
old-commit-hash: 6ce511cc60
* 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
* hyundai: match speed on dash
* still needs conversion to m/s
* always use CF_Clu_VehicleSpeed2
* clean up, like honda
* experiment
* to the source
* works pretty well on optima (matches exactly on Sonata)
* could be 0.5
* clean up test
* revert test_moedls
revert test_moedls
* woops
* woops.
* .
* fix hyst
* only CF_Clu_VehicleSpeed
* omgomgomg
* add all this mess because it always takes a while
* set vEgoCluster
* fix all rounding errors
* stash
* clean up
* clean up
* fix metric conversion
* only calculate when updated
* try to filter (didn't look great from plots)
* Revert "try to filter (didn't look great from plots)"
This reverts commit 7e9876c237.
* clean up
* update refs
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f73b041d43