* 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>
* ignore permanent low speed lockout
* should always check in case not seen
* use cp_cam
* not bus 0
* change signal name according to ref dbc
* bump
* we don't rely on this
* bump
* Revert "Toyota: debug logging for low speed lockout (#21526)"
This reverts commit 7f2ad50fed.
* add back
* always add
* pass acc_type through
* Update selfdrive/car/toyota/carstate.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/car/toyota/carstate.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* only update acc_type if not enableDsu
* only add when using
* only for openpilot long cars
* only seen TSS2
* add todo
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* 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>
* 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>
* don't need individual prev state vars since whole CS is copied
* don't need a whole function since toyota alerts were simplified
* better here
* abstract pcmEnable/pcmDisable events
* the flippening came to NEOS
* delete
* unused
* Revert "the flippening came to NEOS"
This reverts commit 91cfb73b29.
* Before abstraction, adding speed init from VW as well
* strting to abstract carstate class
* fix bug and update lock?
* revert pipfile change
* another bug
* fix linter
* bug fix
* remove a bunch of diplicated kf code
* better to not have class vars. will abstract __init__ anyway later
* abstract common instance vars in carstate init and a generic gear parser static method
* abstract gear parser for chrysler
* abstract gm gear parser too
* remove unnecessary random vars
* Chrysler: carstate returns capnp struct directly
* revert ref commit
* test ref
* WIP
* more WIP
* ops, missed this conflict
* ford as well
* not sure why this got deleted
* no need to copy
* remove copy
* remove copy import
* remove unnecessary intermediate variable
* remove obsolete comments
* GM: have carstate returning capnp struct directly
* Honda carstate also outputing capnp struct
* hyundai too now returns capnp from carstate
* ops, not meant this
* Subaru carstate also returning capnp
* Toyota: capnp struct as output of carstate
* fix bool
* minor simplififcation in Honda
* no need to negate
* VW carstate returning capnp struct (#1118)
* VW carstate also returning capnp struct
* fixed typo
* Remove unused blinker button (#1119)
* remove unused blinker button
* ops, this wasn't meant
* remove blinker button for VW as well
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com>