* subaru platform config
* forester wrong dbc
* spacing
* subaru car specs
* someday!
* more red diff
* all brands can be done like this
* but this should be done first and thats subaru specific
* that seems very low but we shouldn't change it here
* as long as it subclasses str its fine
* fix
* radard: tie radard frequency to modelV2
Accumulate parsed messages until state is updated (toyota)
Same for honda
Rename rr to something more descriptive
* Change _update method name, since signature has changed
* Update ref commit
* Some renames
* Check for number of cans
* add erf based ff
* silly bug; diff of nonlinear != nonlinear of diff
* add sigmoid based ff, ensure slope at 0 > 1
* reduce steer down limit and increase driver allowance
* rebase panda
* atry without friction, and with tanh nonlinear
* finalize the nonlinear function
* do not disable friction compensation in the ff
* bump panda
* bump panda
* update refs
* update refs
* resolve comments
* Add type hints
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* draft
* bump opendbc
* still draft
* that's not right
* superset of the changes, 33hz
* cleanup
* this should work
* remove line
* pass it in again
* actually no need to check updated now
* now_nanos
* consistent name
* fix replay
* one line isn't that bad
switch
switch
* fix CarController tests
* Update ref_commit
* add Lincoln Aviator 2021 to Ford Explorer platform
Based on the Ford Explorer, the Aviator has very similar firmware
versions. Add these to the Explorer platform and create a new CarInfo
for the Aviator.
f0709d2bc6ca451f|2022-12-10--12-36-59--0
VIN: 5LM5J7XC8MGL09541
* Ford: new gear shifter signal to support Aviator
* probably don't need these
* don't need to pass None here, it defaults to None
* will rename in DBC
* bump opendbc
* bump process replay ref
* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
* increase lag on prius
* better offline values computation
* split prius ecu more, set deadzone to 0
* add deadzone back
* replace deadzone with slack
* reduce deadzone to 0.2
* update refs
* 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>
* toyota: match set speed from dash
* Use unit bit
* Use RSA2
* flip this
* Universal unit signal, set vEgoCluster
* remove this and bump opendbc
* detect if car interface sets cluster fields
* revert
* needs to be cp
* UI_SPEED is actually always in kph?
* forgot to actually convert it
* same in onroad
* try conv factor only for imperial
* Seems like UI_SPEED is not the UI speed at all
* the dash might floor it
* same openpilot behavior
* bump
* ego speed factor is dynamic across speeds, handle Lexus exceptions with
diff msg
* remove test, bump opendbc
* secret formula
* secret formula v2
* 1.03 is sufficient
* try short press
* bump opendbc
* surely this can be cleaned up
surely this can be cleaned up
* use filter
* redo factors
* try UI_SPEED again with a factor
try UI_SPEED again with a factor
* dash applies hysteresis to speed. this matches pretty well, but not exactly
* make hysteresis generic
* clean up
* revert this
* try this
* read from fake params
* should be mostly good for imperial now
* revert
* revert
* remove toyota stuff
* common function for everyone
* rm line
* fix
* an example with Toyota
* use CS.out
* one mph
* 1 kph
* cmt
* remove cmt
* abs it
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* lateral overriding is overriding
* Update test
* remove
* also could do something like this and only have one OVERRIDE ET
* Revert "also could do something like this and only have one OVERRIDE ET"
This reverts commit 5c381641c0.
* full names
* bump cereal
* test every event type
* update refs
* single longitudinal toggle for e2e and disable radar
* write disable radar param
* rename
* better param name
* clean that up
* update refs
* update translations
* not live for experimental
* write it out
* vanish
* Move auto resume in sng to car interface
* Update docs
* shorter name, star
* order
* resumes?
* add hidden detail sentence
* good to know this works, but revert
* VW auto resume
* bump cereal to master
* Update ref_commit
* match cereal
* try this
* ?
?
* like this
* torque control again
* 3mss per s
* no bad sensors
* tweaks
* Need more checks before we can do this
* update refs
* only ram for now
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>