* indecisive
* rename to generic FW query
* remove code and update comment
* we need this to start off, unless we set multiplexing immediately
* draft
* draft 2
* try that
* can't do this either, boardd might read Enabled after removing, but before setting new Request param
* this should work
* use one less param
* fix params
* match behavior (set all pandas to safety param of 1, disabling multiplexing for fingerprinting
* clean up (some tests may temp break)
* fix param name and sort
* time it
* yes it does matter
* add to hyundai's bus 5 query
* remove hyundai for now
* this should work
* clean up
* clean up
* flip argument around, clean up
* fix test_startup
* some clean up
* rm line
* comment makes more sense
* required typing
* clean up common type
* comments
* Update selfdrive/car/car_helpers.py
* line
* whoops, need to set before vin!
* fix debug
* annoying
* more debugging
* bug fix (needs both keys always)
* debuGG
debuGG
* Revert "debuGG"
This reverts commit 55b2f42932.
* Revert "more debugging"
This reverts commit 02934c3403.
* Revert "annoying"
This reverts commit 8b4e5e0998.
* clean that up
* bumpback
* bumpback
* every second write param
* flip
* stuff
* move up?
* fix timing out in CI
* rm
old-commit-hash: 42449b482d
* add flag
* actually use in fw_versions.py
* simpler
* not here
* Comment
* better name
* add param and block
* keys
keys
* block
* with a value
with a value
* add query for bosch PT bus
* different name
* fix
* .
* fix test
fix test
* add cloulogs
* mark as logging
old-commit-hash: c4b84783a0
* UI: show experimental long available to release users
* more description
* cleanup
* hide toggle
* fix process replay
* clear param
* actually fix
old-commit-hash: c408b7e306
* add adas essential ecus
* add adas ecu and query
* add queries
* add name
* after
* presence of adas ecu
* Revert "presence of adas ecu" (POC)
This reverts commit ab88a7e7df.
* no whitelist for debugging
* Apply suggestions from code review
* add adas response
* remove adas version
* temp
* read pandaStates
* works in debug script
* only fwdCamera on tucson
* fix pandaStates reading
* fix test_startup
* fix
* simpler
* use existing socket
* pass in number of pandas
* need to create sm using outcome of fingerprinting, which uses sm
fix
* move default argument
* use sock
* always ignore
always ignore
* add canfd fingerprint test
* Update selfdrive/car/hyundai/tests/test_hyundai.py
* set
old-commit-hash: 7bf70bf7d8
* revert isotpparallelquery returning rx addr for functional special case
* we don't really use the tx addr (and soon won't make sense with fun querying)
old-commit-hash: 4d7f4b4c9d
* single longitudinal toggle for e2e and disable radar
* write disable radar param
* rename
* better param name
* clean that up
* update refs
* update translations
* not live for experimental
* write it out
* vanish
old-commit-hash: 655a64b603
* revert to 1 second
* Revert "revert to 1 second"
This reverts commit 6ab3f75cb73fdfe254431c479b6d337030b0d538.
* Revert "remove toyota can fingerprinting exceptions (#22803)"
This reverts commit 55b51079705e0b7f2ef8acf5096c635b62f6648f.
fix static analysis
* Revert "Revert "remove toyota can fingerprinting exceptions (#22803)""
This reverts commit fc359fc9b2.
* 1 second for all brands
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f0062f6242
* eliminate brands based on ECUs that respond to tester present
* make it work
* Add type hint for can message
Use make_can_msg
* Only query for addresses in fingerprints, and account for different busses
* These need to be addresses, not response addresses
* We need to listen to response addresses, not query addresses
* add to files_common
* Unused Optional
Drain sock raw
* add logging
* only query essential ecus
comments
* simplify get_brand_candidates(), keep track of multiple request variants per make and request each subaddress
* fixes
make dat bytes
bus is src
Fix check
* (addr, subaddr, bus) can be common across brands, add a match to each brand
* fix length
* query subaddrs in sequence
* fix
* candidate if a platform is a subset of responding ecu addresses
comment
comment
* do logging for shadow mode
* log responses so we can calculate candidates offline
* get has_subaddress from response set
* one liner
* fix mypy
* set to default at top
* always log for now
* log to make sure it's taking exactly timeout time
* import time
* fix logging
* 0.1 timeout
* clean up
Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
old-commit-hash: cccab50b16
* add debugging script
* debug
* remove
* add comment
* timestamp CAN fingerprinting (to get time needed to wait for radar)
* comment
* need this to log
* just in case, log first can packet logMonoTime
* clean up
* clean up
* bump fingerprint time to 250ms
bump fingerprint time to 250ms
* comment
old-commit-hash: 80be66484f
* CARS.md fixups
* wrong one
* sort footnotes
* Mazda CX-9 has good torque
* Try this
* generate
* yup, os uses native filesystem order
old-commit-hash: 628eecff06
* 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>
old-commit-hash: 31a6b141d6
* 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
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
old-commit-hash: 332f568a82
* 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>
old-commit-hash: 55390d273f
* Fuzzy match on 3+ ECUs
* reuse dict
* exclude some shared ecus to be sure
* show alert for fuzzy match
* use title case
* require community toggle
* refactor
* do both exact and fuzzy in test script
* update test script
* add fuzz test and lower matches to >= 2
* strip alert length
* sort mismatches
* add fw tests to test_startup
* bump cereal
old-commit-hash: e4f73fbda5