* chrysler down
* honda and ford
* we can pass the class for this
* do the rest
* clean that up
* remove EventName
* fix CI
* move smallest bodies to top
* rm todo
* eps_timer_soft_disable_alert is too ingrained in carcontroller
* re-did everything w/ no diff (except just passing cereal instead of class)
* ban all of common & copy numpy_fast
* add numpy_fast
* these are okay
* and ban controls
* better name
* Conversions
* do utils, kalman
* clean up
* sorting
* don't forget
* car logger
* try this
* fix double printing!
* clean up
* need to import where we actually use it (card won't be in submodule)
* NullHandler does not forward everything properly, need propagate=False to stop root logger from printing
* card is staying
* set up
* forward
* Reapply "selfdrive/car: ban imports from external modules" (#32993)
This reverts commit 35a4a773f1.
* controls will just use controls
* also these
* ignore
* get platform_str from the enum name
* fix tests
* add migration table
* remove impossible todo
* Add link to PR in MIGRATION table
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN
* rename RAM_HD to RAM_HD_5TH_GEN
* rename references to RAM_HD and RAM_1500
* change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC
* remove MOCK from fingerprints.py
* change hard-coded car model in test_can_fingerprint.py/test_timing
* migration
* update ref
* space
* prius
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: justin newberry <justin@comma.ai>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
* part 1. Toyota platform config
* more
* everything works now
* no more DBC
* janky but that saves a lot of car lines
* need to init inside values or else it won't be reliable
* no return
* fixes
* minor update
* common flags, no dbc grouping
* some clean up
* some clean up
* rename
* copied wrong :(
* another
* copied specs for easiest ones first
* second easiest
* fix erroneous commas
* more clean up
* do the rest
* bug
* the refactor is so error prone
* huh?!
* static
* fix stiffness factor
* detect unsupported DSU
* Revert "detect unsupported DSU"
This reverts commit 9b72de6c8e.
* fix DBC diff
* test carparams
* test sets
* scratch
* catches this
* Revert "scratch"
This reverts commit de08daa9fb.
* Revert "test sets"
This reverts commit 62402f9b02.
* Revert "test carparams"
This reverts commit b02971659c.
* Update ref_commit
* fuck me!
* that kinda makes things pretty nice
* move it down
* and move this comment
* Wip
* more flags :/
* add the debug shit
* add
* lets not break this yet
* MORE flags git add .git add .git add .git add .!
* B
* add mando
* update ref
* possibly better?
* we can use flags here
* formatting
* formatting
* move up
* canfd subclass
* this is more clear
* spacing
* static!
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* flags
* update ref
* use the flags directly
* use post_init (don't freeze)
* we can maintain frozen with custom class
* not preglobal
* move to common
* cleanup
* subaru platform config
* forester wrong dbc
* spacing
* subaru car specs
* someday!
* more red diff
* all brands can be done like this
* but this should be done first and thats subaru specific
* that seems very low but we shouldn't change it here
* as long as it subclasses str its fine
* well that sucked
* cleanup and follow refactor
* diff reduction
* oops
* fix
* force fingerprint
* Revert "force fingerprint"
This reverts commit 600fbcd7d5.
* space
* Fix specs
* this one too
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
* subaru platform config
* forester wrong dbc
* spacing
* subaru car specs
* someday!
* more red diff
* all brands can be done like this
* but this should be done first and thats subaru specific
* that seems very low but we shouldn't change it here
* as long as it subclasses str its fine
* fix
* rename function first and foremost
* the function
* comment
* move usages over
* probably fine
* comments
* btn
* single line
* not comments
* fix keyword
* is it not clear?
* noEntry while holding cancel
* bumpo
* remove
* better?
* better?
* try this
* try this
* loop
* better
* more clear
* Revert "more clear"
This reverts commit 37e0277e4b.
* no optional
* fine
* add comment
* clean up honda
* one line
* can also do this
* but unclear
This reverts commit 1984a72cc8.
* bumppanda
* calculate rate
* added adeeb's comment
* move to selfdrive/car
* that makes way more sense
* much simpler
* fix rate
* preglobal doesn't have a counter
* update ref
* merge
* update ref after merging
* fix subaru fault
* try this!
* wip
* try this
* this more or less worked
* this is all under gen2
* that needs to be up there
* comment
* steer_angle
* test
* wip
* wip
* sync
* wip
* cleanup
* remove print
* use sets and fix unittests
* common fault avoidance
* common fault avoidance
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* revert subaru to get this part merged
* revert name change
* revert name change
* revert name change
* same as before
* add test case
* also verify zero tolerance
* keep the current behavior
* split into multiple tests for easier debugging
* added comments and remove tests
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Comma Device <device@comma.ai>