* Add support for Forester Hybrid 2020
Co-authored-by: martinl <martin@mlp.ee>
* it's a param now
* make it work
* fix
* merge and cleanup
* remove duplicate
* should be forester
* bump submodules
* should be abs
* add missing params
* still need a test route
* still need a test route
* consitent
* here too
* todo
* more
* Update selfdrive/car/tests/routes.py
* clean up
---------
Co-authored-by: martinl <martin@mlp.ee>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: 3719be8b76
* Subaru: Crosstrek Hybrid support
* hybrid cars in dashcam only
* revert that
* just dashcam
* tah should be abs
* remove unused import
* use the old dbc for now
* hybrid car exceptions in carstate
* need dashstatus until we get a proper cruiseactivated bit
* missing CP
* merge conflicts
* lets be consistent about extend
* cleanup
* fix and comments
* preglobal fix
* and the rest
* and this
* added hybrid to release
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 973d90be77
* cancel rate
* Update selfdrive/car/subaru/carcontroller.py
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* leave it as it was for now
* cleanup
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fc9a623d69
* Add longitudinal support for Subaru Crosstrek and Impreza
* Update experimentalLongitudinalAvailable check
* Update supported cars list
* bump panda
* Remove/rename es_lkas_msg to es_lkas_state_msg
* Use stockAeb for AEB passthrough
* bump panda
* bump panda
* remove stockFcw from stockAeb
* Subaru: Add FCW_Cont_Beep to stockFcw signals
* bump panda
* bump panda
* update poetry deps: shellingham
* bump panda
* bump panda
* Revert "update poetry deps: shellingham"
This reverts commit 6e9b209648.
* Merge fixes
* bump panda
* bump panda
* update supported cars list
* dont use counters for long control
* fix unittests
* submodules update
* only soft disable in long control
* use common functions and cleanup
* apply hystersis correctly
* move to comma repo
* use CanBus
* cleanup
* explicit copy
* behind a flag
* remove unrequired rpm checks
* add comment
* fix flag issue
* we still need to check rpm
* update docs
* enable long for a test route
* unit tests
* inactive throttle fix
* Update subarucan.py
* Update carcontroller.py
* Update carcontroller.py
* inactive throttle fix
* Delete settings
* fix rate limit
* bump submodules
* bump panda
* bump panda
* bump panda
* bump panda
* simplify initial implementation, remove AEB
* reduce initial complexity by not intercepting cruisecontrol or brake_status
* fix fwd hook test
* show pcb off warning
* cleanup and setup for tuning
* fix sumobuldes
* revert unrelated changes
* only whats required
* only whats required
* clean that up
* better comments
* behind the flag for now
* comments and minimize diff
* align stuff
* cleanup for PR
* apply review suggestions
---------
Co-authored-by: Martin Lillepuu <martin@mlp.ee>
old-commit-hash: d6c682b401
* 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
old-commit-hash: 7ec52da33a
* Update Car/Subaru values.py to support 2022 Crosstrek
Tested via SP, just want support via stock OP
* remove duplicates
* started adding support for toyota bZ4X
* Add files via upload
* Update values.py
* Update values.py
* Update values.py
* Update values.py
* remove duplicates and mistakes
---------
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: 2c13dea1c8
* What if: no signals! 🙅🤌🎆
* do hyundai
* honda!
* do gm
* and vw! (sorry comments)
* do those
* -500
* little more
* fix subie
* change back
* bumpopendbc
* oof lol
* messages
* some clean up
* here too
* clean up honda radar_interface.py
fix
rm
* bump opendbc to master
* add todo
* rename checks in tesla/radar_interface
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cbfcc40571
* Update Car/Subaru values.py to support 2022 Crosstrek
Tested via SP, just want support via stock OP
* remove duplicates
---------
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: d7e8577301
* more stuff
* even more
* all parts func
* start to use it
* include self in parts
* use car_parts_new
* not used
* more usages
* remove get_parts
* remove more commented stuff
* remove iter
* clean up some more stuff
* more
more
* ford
* optional
optional
* nissan
* use new classes
* fix tests
* fix
* order
* no more required
* connector
* CARS.md
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 024abe6455
* frequency based messaging
* frequency based messaging
* frequency based messaging
* frequency based messaging
* rename better
* use frame in if statement
* syntax
* remove extra space
* put all behind one if statement
* update refs
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c1909df437
* generic car parts
* better carparts
* add part type
* more tests
* multiple enums
* unit tests
* just check isinstance
* better name
* remove _connector suffix
* remove those hyundai lines
* remove default arg
* Revert "remove default arg"
This reverts commit 139650a3b6.
* cleaner code structure
* use fingerprint
* review
* abstrac data class + common
* no more dataclass
* conflict
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9f5f8b603c
* add harness kit content to the doc
* parts as enum
* nissan
* merge column
* rename column
* scaling
* scaling again
* 500px
* align text
* more px
* add style
* more width
* more
* more
* smaller text
* make all text smaller
* prev width
* default list
* remove hidden a ref
* try to remove again
* revert
* replace harness with harness_kit
* try fix
* cleaner
* center everything
* make pylint happy
* allow more than 1 of each parts
* use copy module
* review
* testing spacing
* revert
* bigger text
* formating
* split harness col lines
* remove print
* resolve
* rename to view
* keep formating in template
* simplify
* add unit test
* more generic way
* better
* harness connector only
* comment
* review
* put back harness parts
* missing dash
* too much space
* don't reload when clicking
* shorter comment
* only last line
* generate
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 70677fe5fc
* Update counter in carstate checks
* Rename es_lkas to es_lkas_state to match signal
* formatting
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 13c75dc138
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* remove compiler flag stuff
* force error for testing
* bump panda and fix mistake
* wip
* bump panda
* wip
* wip
* forgot checksum and stuff
* add to signals
* rename
* test
* test
* bump panda and opendbc
* bump cereal
* add blank filler
* test
* add steer required to infotainment
* fix missing bit
* fix missing bit
* cleanup for PR
* cleanup for PR
* bump submodules
* wip
* wip
* i wonder what 1 is
* seemed to also be obstacle detected?
* bumppanda
* only if global
* only global gen 2
* fix order
* detect and send
* detect in rest of places
* update refs
* bumpopendbc
* copy whole message (camera sometimes sets these signals)
* bumppanda
* update refs!
* bumppanda
* let's not change this
* same as all the other functions
* Revert "same as all the other functions"
This reverts commit e86dbb695e.
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d59bfa5519
* rename function
* make a wrapper function (ford uses dynamic up/down limits
* make two functions consistent
* make torque function convert to int
old-commit-hash: 581fd62d26
* draft
* bump opendbc
* still draft
* that's not right
* superset of the changes, 33hz
* cleanup
* this should work
* remove line
* pass it in again
* actually no need to check updated now
* now_nanos
* consistent name
* fix replay
* one line isn't that bad
switch
switch
* fix CarController tests
* Update ref_commit
old-commit-hash: 8f5057ff2d