* Set good torque using torque controller tuning
* should be equal to
* save lateral accel to car params
* use maxLateralAccel
* always
* same convention
* nan will always evaluate to false
* The great good torque purge
* adjust default friction
* Add data for more cars
* adjust name
* Welcome back, guys. Only adjust good torque if maxLatAccel is set
* Update refs (1.7 is 1.7000001...)
* proof of concept
* actuators packet describes which actuators are active
* bump cereal
* fixes
* not needed for this PR
* Do Toyota
* add back controlsState.active
* bump cereal
* rest of cars
* in actuators
* add active back
* which
* use controlsState.active for now
* will make an issue
* Update selfdrive/controls/controlsd.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* move local lat_active checks into CC.latActive
* remove redundant checks
* move comment
move comment
* fix joystick mode
* get enabled from carcontrol
* do standstill check in controlsd
* make sure we consider the gas press case for GM
* use CC.actuators
* fix
* capitalization
* Bump cereal
Bump cereal
* make intermediate actuators
* similar convention to before
* clean that up
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* 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>
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* 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>
* cleanup and scoping fixes
* static analysis feels sad without this
* remove extra read of clutch switch signal
* don't check Motor_14 unless it's needed
* collect short CP/CS aliases together
* Improve VW HUD with laneless and LDW
* No longer depend on laneless param
* update behavior
* update note
* update test route to make CI happy\?
* Revert "update test route to make CI happy\?"
This reverts commit 21aeecacd5.
* always show lane visibility
* notes
* notes
* spelling
* reality
* remove notes
Co-authored-by: Ambroos Vaes <ambroos@fb.com>
* Add A3 and A3 e-tron FPv2
* Update README
* Catch up with model renaming
* Trim duplicate FW values
* Add 2014 A3 (bankster)
* Update model-year range
* Revert more model name changes
* Revert more model name changes
* More FW for 2017 A3 e-tron (fastzeek)
* Update A3 models and packages in README
* Update A3 packages again
* AUDI_A3 -> AUDI_A3_MK3
* Update test route reference
* CAN valid should pass for VW now
* Update process_replay route
* Expand tested A3 range (we have known 2014-15,17)
* Revert "CAN valid should pass for VW now"
This reverts commit 73a4b4886f.
* revert route changes and update refs
* update refs again
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Add LDW->SWA signal pass-through
* GC currently unused ACC_06 and LDW_02 signal data
* Split out Jetta GLI
* Pass in camera CAN parser now that we use it
* GC unused CarController param, camelCase->PEP8
* CAN valid should pass for VW now
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>