* VW PQ: Volkswagen Passat NMS
* regen CARS.md
* vEgo from Bremse_1 vehicle speed
* sync opendbc to master
* handle checksums and counters in opendbc
* LDW HUD message handling
* GRA_Neu_Zaehler -> COUNTER
* bump opendbc
* stub in till we find platform ACC standstill
* bump opendbc
* bump opendbc
* placeholder lateral accel data
* regen CARS.md
* counters now directly supported in opendbc
* additional door-open signals
* add trunk lid state
* add doors and trunk lid to signals list
* LDW_Status updates and passthrough
* bump opendbc for typo fix
* update AWV comment
* another comment update
* regen CARS.md with PQ in dashcam only
* don't show NMS footnotes while still in dashcam
* polish
* add stubbed-out dashcamOnly prep
* VW MQB: Cleanup stock ACC button handling
* bump opendbc and panda
* use controls resume output as trigger
* these can wait until taco bell
* bump opendbc
* pass through of previously fixed value
* retry CI
* checks already done in carcontroller
* don't need these anymore
* reduce diff for now
* slightly better abstraction
* more engine and trans FW
* turn signal is instantaneous stalk position
* weak sauce :(
* better clarity
* try torque tune
* add test route references
* bump opendbc and panda for OP long
* don't show steering faults for 3 seconds after start
* longitudinal control senders
* a little more torque
* test hax to torque control
* test a little more delay
* allow use of manufacturer ramp-up rate
* soften wheel-touch threshold
* Revert "test hax to torque control"
This reverts commit d1af459c29.
* punch it Chewie
* better ACC state and mainswitch handling
* a little more
* tweak max accel gradient
* oops
* also oops
* stuff
* srsly
* that's not how this works
* regen CARS.md
* footnotes now properly excluded for dashcam cars
* this wasn't a problem
* update network location detection
* bump submodules for ACC main switch
* clean up DBC references and long flag
* bump one more time
* one more time
* follow CANPacker counter refactor
* bump opendbc
* sync opendbc to master
* bump panda to fix Subaru tests
* DBC handling cleanup
* fix
* model-year stretch
* cleanup and rate bugfixes
* better abstractions
* simplify create_lka_hud_control
* volkswagencan -> mqbcan
* bump panda
* fix doc data bug, regen CARS.md
* style updates; diff reduction
* use common button enable logic
* not needed anymore
* refactor TSK and HUD enum values
* make common button events function
* consistency
* bump panda
* bump panda
* dashcam only
* don't need process_replay yet
* regen CARS.md with Passat NMS in dashcam
* can't handle dashcam-orphaned footnotes yet
* remove outdated standstill handling
* editor tried to be too helpful at some point
* don't need to import this anymore
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* follow parkingBrake refactor
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* VW MQB: Cleanup stock ACC button handling
* use controls resume output as trigger
* these can wait until taco bell
* pass through of previously fixed value
* retry CI
* checks already done in carcontroller
* don't need these anymore
* reduce diff for now
* remove parenthesis
* update refs
* fix packer exception
* update refs
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* json
* better naem
* Read from table
* formatting and default to nan
* Generate docs
* Read from table
* this should be the same
* Prius v is full
* test we always set the tunes correctly
add to release files
* Set for all cars
Set for all cars
* Revert tuning changes
Revert tuning changes
* remove that
* fixes
* update ref commit for new maxLateralAccels
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* 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