* make CAR class enum, and values.py formatting
* Revert "make CAR class enum, and values.py formatting"
This reverts commit 04d9817e9d.
* stash
* add supported packages and model years
* don't change model years in fps
* move Lexus to info dict and make int enum
* remove sometimes wrong model years from name string
* use enum names
* convert Honda's values
* nice names
* use name
* GM
* Mazda, Ford
* Hyundai: WIP
* finish Hyundai
* fix
* Nissan
* Subaru
* Tesla
* formatting is for another PR
* Chrysler: todo: unify the Pacificas?
* do volkswagen
* this isn't a zoo
* skip enums for now
* Update selfdrive/car/volkswagen/values.py
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
* set All
* temp cars
* auto-generate CARS.md
* update type hinting
* add generated file
* add longitudinal star to cars that support disabling radar
* add TODO
* add notes
* add min_steer_speed exception for hatchback
* add minimum steering speeds
* Add exceptions and run generator
* Missing Telluride
* fix Prius v
* missing Prius Prime
generate
* start to convert years to strings
* Fixup Hyundai
* convert year sets to strings
* handle this
* missing S3
* Fix and add all missing cars (verified with script
* Supported Package fixes
* add get_tiered_cars
* Check radarOffCan for removing most Honda from op long
* Update for Avalon stop and go update on master
* Fix missing car params
* add my temporary script i'm using to verify new generated DBC
add my temporary script i'm using to verify new generated DBC
* generate with jinja template
* add header and footer
* clean up
* rename
rename
* add exceptions. jinja is nice, but why are its loop indexes starting at 1?
* add list of known car videos
* See how these look
* Add nice table formatting for column description
Add nice table formatting for column description
* generate
* consisten br tag
* small clean up
* temp
* Move car videos into CarInfo
* add new copy and rename to footnotes
* Revert "temp"
This reverts commit 93c3fce1d3.
clean up
* generate
* replace with svg
* simplify a bit
* add footnotes to CarInfo
* move some variables to docs.py
* Add video link for Acadia
* Make Footnote an enum so we don't use random ints
* static analysis fixes
* move to CARS.md
* fix last missing footnote
* add to release files
* rm test file
* use svg
generate
* fix sorting
* not needed
* not sure how this got here
* remove Sedan/Couple and add Diesel footnote
* finish todos
* move make specific footnotes to selfdrive/car/*/values.py
rename
* change to zeros
* align bottom to center
* Apply some suggestions
* Update selfdrive/car/mock/values.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update copy
* Try headers + bullet points
* somehow better
somehow better
* finish updating copy
* move template and add links to sups
* stars shouldn't be clickable
that didn't work
try this
try this
this is better
* add type hints to CarInfo
add more type hinting
* optional needs a type and any covers all (?)
* move good steering torque to */values.py
* dataclasses are much nicer than attr
* use tuple
* Update docs/cars.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* suggestions
* suggestions
* suggestions
remove
* clean up a bit
* add more type hints
* center stars and remove hardcoding from template
* update copy
* Add test
* Fix types
Fix types
* add supported cars documentation test
* clean up
* replace with docs_definitions
* Add back Footnote enums
* Ah so these are like fstrings!
* Update selfdrive/car/CARS_template.md
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/car/docs.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update year from master merge
* Fix longitudinal star from merge
* sort properly stars by Column enum
* clean up
* HKG: Sorry guys
* Prius V gets FSR star, like others
* Update selfdrive/car/docs.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* update comment
* No Prius docs change for now
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* 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>
* Add Subaru FPv2 support
* Add Subaru Ascent and Impreza FPv2 values
* Remove 10 second delay, use UDS for Subaru FPv2
* before VW
* before hyundai
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Change Global brakePressed to Brake_Status Brake signal
* Add Brake_Status Brake signal and check
* bump panda
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Change ACC Speed Units signals for Global and Pre-Global
* Use Dash_State UNITS signal for Preglobal
* Change Subaru Preglobal to use Dash_State2 UNITS signal
* bump opendbc
* cleanup
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@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>
* 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>
* Add Forester 2020 fingerprint
* Update selfdrive/car/subaru/values.py
* combined Forester 2019 & 2020 fingerprints
2020 model had some additional fingerprints than the 2019 model. Merged rather than adding separately.
* Added Forester 2020 to readme
* Updated to include forester touring as well
added additional messages as per #19499 (updating same fingerprint)
* Delete Forester 2019 sport - duplicate fingerprint
* Update values.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Parametrize MIN_CAN_SPEED in car interfaces
* fixed instance in planner.py
* fix typo
* var name change
* changed var name to minSpeedCan for consistency with other uses of CAN in the capnproto files
* added default value to get_std_params, removed unneeded instances from car interface files
* Revert PEP8 autoformat corrections
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>