* use ISO 15622:2018 limits in PID controller
* allow more for nidec
* limit PID inputs
* CP is not needed
* add GM
* not used
* update ref
* fix honda bosch
* retune civic
* seems smooth
* back to normal
* new ref
* fix conflict
* runs
* rm
* accel scale is 4
* toyota should be good
* more cleanup
* fixup
* better naming
* update ref
* deprecated
* sending brake when not enable causes a fault
* rm gas and brake
* unused
* update ref
* acura logic is no more
* wrong before
* revert tuning cleanup
* adress comments
* update ref
* already on master
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Split tuning on eps fwVersion \x02 only. See https://github.com/commaai/openpilot/pull/21429#issuecomment-873652891 for findings.
Unify Rav4 & Rav4 Hybrid
Average mass between ICE & Hybrid
Co-Authored-By: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* pedal improvements
* pedal tuning under 19 mph, stock tuning above
* Correctly set tuning, and a temporary reference script
* looking good
* use minEnableSpeed
* minEnableSpeed will always be -1 if pedal since it's used for lockout
* add hysteresis around 19 mph for enabling pedal use
* parameterize minAccSpeed (enable speed is -1 when stop and go to allow engage, acc is min limit for acc commands)
* fix Prius later, 5 mph gap around switch speed
* define min_acc_speed in interface and CC
* use pedal gains up to 22 mph, and correctly use hysteresis above the switch speed
* only check this if pedal
* consolidate comment
* Change BP to switch tuning at 19 mph, define global constant
* Start at interceptor status
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* update releases
* typo
* transition tuning from 19 to +3 mph
* change cmd names and update tuning comment
* Update RELEASES.md
* calculate new pedal gains
* little more clear
* even clearer
* same comment convention and hardcode new pedal tune
* bump cereal
* weird, got added in with the rebase
* three possible long tunings: pedal, improved non-pedal, and default non-pedal
* update refs
* future note: don't add submodules when rebasing!
* update refs
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* start to separate Avalon 2019+
* reverts #20824 (2020)...
and removes fw from a 2020 avalon
* revert 2020 fw from #20241
* revert 2021 fw from #19790
* bump opendbc, add smartDsu
* Add only removed fw from listed PRs above and from jryan's 2020
* bump opendbc to master
* comment out any non-original avalon fw
* new fw
* these 2016 (5 byte EPS_STATUS msg) Avalon fws are correct. comment out any 2019+ fw I haven't seen yet
* Add to release files
* these are good too
* nothing on 7e0 yet
* both have their engines on one address
* validated remaining fws! some from adeeb's, chris's, and kumar's PRs
* Add test route for Avalon 2019
* horrible
* Duplicate
* use nodsu dbc. Only difference is the addition of some signals that don't work, and max of BRAKE_PRESSURE is different
* Enablem 2019 Avalon test route
* adding port for 2019 lexus ux 250h
* update README
* added route to test_routes
* added CAR.LEXUS_UXH_TSS2 to IGNORED_FINGERPRINTS
changed test route to a complete route (that will be uploaded)
* unused
* add fw
* forgot h
Co-authored-by: Brian Haugen <brian.haugen@toyota.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Toyota: use FW query for DSU detection
* make sure we have at least some fw responses
* bool
* add test to test_startup
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Parametrize MIN_CAN_SPEED in car interfaces
* fixed instance in planner.py
* fix typo
* var name change
* changed var name to minSpeedCan for consistency with other uses of CAN in the capnproto files
* added default value to get_std_params, removed unneeded instances from car interface files
* Revert PEP8 autoformat corrections
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>