* check in tuple instead of list
* Update selfdrive/car/toyota/carcontroller.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Update selfdrive/car/mazda/interface.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a653461dec
* remove starting state
* new ref
* ready for merge
* try this
* cereal now on master
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: cf9792dc53
* revert changes to standstill logic
* start with mostly open loop
* Revert "revert changes to standstill logic"
This reverts commit d737d858e7708aedaf09cfc068b85398161e9bbe.
* proper clipping
* less lag
* less gas command
* start gas from -0.2
* controls should take care of that
* use CarControllerParams
* switch to braking sooner
* Revert "switch to braking sooner"
This reverts commit cf11dae334ccb369f625d4b13b7cd4176156a446.
* 2.5x more P
* use active
* engage on rising edge
* Revert "engage on rising edge"
This reverts commit c972956cb4.
* update ref
old-commit-hash: 6c29a4c7fb
* add higher set speed
* freeze when close to cruise
* dont bias this
* higher set speed
* start high
* 2mph might be needed
* better condition
* limit accel windup like this
* wrong name
old-commit-hash: ebf2a2279d
* 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>
old-commit-hash: 1ac89f14aa
* retune civic
* add a deadzone
* large diffs may not be ok
* typo
* seems smooth
* improve pedal
* back to normal
* new ref
* new ref
old-commit-hash: da73249fc2
* not used
* just use gas
* allow gas
* try 0
* typo
* set to default
* set default
* makes more sense
* downtune and cleanup
* max accel always
* that is needed to smooth gas to brake
* try downtuning low speed
* try from default
* nidec is not bosch
* air resistance exists
* more smoothing
* wind brake sooner
* Civic experiments2 (#21862)
* control on throttle
* throttle modifier
* get acura in line
* try set speed control again (#21870)
* new acura function
* put back
* put back
* make linter happy
* define wind_brake once
* Civic experiments (#21908)
* remove civic
* start from scratch
* data drivenm
* the data does not lie
* data collection
* data driven
* limit
* final candidate
* fix windbrake
* Civic experiments (#21910)
* remove civic
* start from scratch
* data drivenm
* the data does not lie
* data collection
* data driven
* limit
* final candidate
* fix windbrake
* add acura control
* more cleanup
* cleanup
* update ref
* clip
* seems to fault
* always continuous
* new ref
old-commit-hash: a8f3e2b3c2
* untested changes
* set compute_gb
* community feature for good measure
* add code for rolling backwards
* init needs CarParams
* stay in elm mode until carParams is written
* fix tester present bus number
* fix can errors
* fix enableCruise flag
* print when radar disable is done
* move retry logic to controlsd
* move lookup table into carcontroller params
* cleanup brake error values
* make init return
* that should be 1
* floats
* back to no failure handling
* try simplify knockout
* bump panda
* Move flags to panda
* add warnings
* Revert "try simplify knockout"
This reverts commit 4f496245791ea6bd041d4412b96035c6b434b91c.
* add note about LoC.long_control_state
* update ref
old-commit-hash: a8fac002ae
* 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
* cancel is never true if cruise isn't enabled and pedal
* This is probably better
* comment
* want to see if this fails
* see what Actions says about this
* nice! just as a sanity test real quick
* Revert "nice! just as a sanity test real quick"
This reverts commit 2d86d1c32e.
* Revert "see what Actions says about this"
This reverts commit c908488854.
* Revert "want to see if this fails"
This reverts commit 2d515f3721.
* specify the fix
* No bitwise
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 483678adb1
* 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>
old-commit-hash: 0c67143c92