* refactor FrameReader
* continue
* move that
* small cleanup
* little more
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 67fe3feb09
* Emit correct alerts for LDW Left & Right on Subarus
This change switches the ldw event to use VisualAlert.ldw and
alters all cars to use the prior behaviour for that alert, except
global subarus - they emit the correct warning to the dash
* Remove whitespace, and add comment about not overwriting stock alerts
Co-authored-by: Crispin Flowerday <crispin@theflowerdays.com>
old-commit-hash: 7458e143e3
* Update carcontroller.py
* Lane change blocked orange + audible alert
* Actually make it make sound
* Update carcontroller.py
* leave priority the same
old-commit-hash: 24b6b4a341
* Improved HCA state and fault handling
* Apparently opendbc does an upper() on everything
* Update EPS HCA init state
* Make initial state "ready"
old-commit-hash: 3a2893f11a
* various nav improvements
* use traffic aware routing
* read last position from param
* allow compute without gps when no route
* cleanup
* properly hide route
* set pitch
old-commit-hash: 14f09e4ee1
* Determine lane chane direction in preLaneChange state
* cleanup
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: de34d1a527
* hyundai: set CF_Lkas_ToiFlt for wind down
* hyundai: disable steering on all steer warnings
* Revert "hyundai: set CF_Lkas_ToiFlt for wind down"
This reverts commit 065f0a996d.
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6e300aaf57
* 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>
old-commit-hash: ebc294296a